Quote:
Originally Posted by sarysa
Aside from the obvious case of the unheard of hale server where weapons with decapitation do over 130.0 base damage (390.0 crit), you'll also have the rare edge case where a zat could kill a 300 HP hale faster than expected. (though even that may not happen, since in my example the zat soldier did more than 2x the hale's existing health)
|
PHP Code:
case 357:
{
if (damage > 65.0)
{
damage = 65.0;
}
}
Theoretically this should always stop players from killing Hale with the half zatoichi if you place it in OnTakeDamage in ff2.sp or whatever the filename is. That is, for a player attacking Hale. Not Hale attacking player.
If it hits more than 195, try
damage = 21.666667;
__________________