Various improvements, fixes and rebalances that I'm too tired to list through.

This commit is contained in:
Marisa the Magician 2018-08-18 20:42:28 +02:00
commit a99c38fd75
13 changed files with 260 additions and 74 deletions

View file

@ -58,7 +58,7 @@ Class Razor2 : Actor
Radius 2;
Height 2;
Speed 40; // should be 26 but it looks way too slow
DamageFunction Random[Ripper](30,40);
DamageFunction (Random[Ripper](30,40)*((DamageType=='Decapitated')?3.5:1.0));
DamageType 'Ripper';
Obituary "%k ripped a chunk of meat out of %o with the Ripper.";
BounceType "Doom";
@ -84,12 +84,11 @@ Class Razor2 : Actor
}
override int SpecialMissileHit( Actor victim )
{
if ( pos.z > victim.pos.z+victim.height*0.8 ) DamageType = 'Decapitated';
if ( pos.z > victim.pos.z+victim.height*0.75 ) DamageType = 'Decapitated';
return -1;
}
override int DoSpecialDamage( Actor target, int damage, Name damagetype )
{
if ( pos.z > target.pos.z+target.height*0.8 ) damage *= 2;
if ( !target.bNOBLOOD )
{
target.SpawnBlood(pos,AngleTo(target),damage);