Make quick grenades faster, but not able to bounce.
This commit is contained in:
parent
ec3c1222e0
commit
b0b4d6ed67
6 changed files with 8 additions and 7 deletions
|
|
@ -259,7 +259,8 @@ Class SWWMGesture : SWWMWeapon
|
|||
p.target = self;
|
||||
p.angle = atan2(dir.y,dir.x);
|
||||
p.pitch = asin(-dir.z);
|
||||
p.vel = dir*p.speed;
|
||||
p.vel = dir*p.speed*1.5;
|
||||
p.ClearBounce();
|
||||
if ( p.waterlevel <= 0 ) p.vel.z += 5.;
|
||||
p.vel += vel*.5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue