self.health = self.health - damage;
self.angles = vectoangles(self.velocity);
- print(strcat("rocket health ", ftos(self.health), " after ", ftos(damage), " damage... (at time: ", ftos(time), ")\n"));
-
if (self.health <= 0)
W_PrepareExplosionByDamage(attacker, W_Rocket_Explode);
}