Ragekit quadruples explodium mag throw speed.

This commit is contained in:
Mari the Deer 2022-07-23 17:00:21 +02:00
commit 40dd34bda0
3 changed files with 8 additions and 2 deletions

View file

@ -296,6 +296,7 @@ Class SWWMGesture : SWWMWeapon
p.angle = atan2(dir.y,dir.x);
p.pitch = asin(-dir.z);
p.vel = dir*p.speed*1.5;
if ( FindInventory("RagekitPower") ) p.vel *= 4.;
p.ClearBounce();
if ( p.waterlevel <= 0 ) p.vel.z += 5.;
p.vel += vel*.5;

View file

@ -181,6 +181,11 @@ Class ExplodiumGun : SWWMWeapon
p.angle = atan2(dir.y,dir.x);
p.pitch = asin(-dir.z);
p.vel = dir*p.speed;
if ( FindInventory("RagekitPower") )
{
p.vel *= 4.;
p.ClearBounce();
}
if ( p.waterlevel <= 0 ) p.vel.z += 5.;
p.vel += vel*.5;
}