minor fixes
This commit is contained in:
parent
9118e79d9a
commit
567b7c4a7b
@ -564,7 +564,16 @@ public class Gravity extends SoloGame
|
||||
|
||||
obj.AddVelocity(UtilAlg.getTrajectory(proj, obj.Base).multiply(0.4), 10);
|
||||
|
||||
obj.CustomCollide(null);
|
||||
//obj.CustomCollide(null);
|
||||
|
||||
if (obj.Ent instanceof Player)
|
||||
{
|
||||
//Damage Event
|
||||
Manager.GetDamage().NewDamageEvent((Player)obj.Ent, proj.getShooter(), null,
|
||||
DamageCause.CUSTOM, 1, false, true, true,
|
||||
UtilEnt.getName(proj.getShooter()), "Sonic Blast");
|
||||
|
||||
}
|
||||
|
||||
obj.GrabDelay = System.currentTimeMillis();
|
||||
obj.SetMovingBat(true);
|
||||
|
@ -173,7 +173,7 @@ public class GravityPlayer extends GravityObject
|
||||
UtilPlayer.message(Ent, F.main("Game", "Restoring Oxygen..."));
|
||||
Ent.getWorld().playSound(Ent.getLocation(), Sound.CAT_HISS, 0.2f, 0.5f);
|
||||
|
||||
Base.setHealth(Math.min(60, Base.getHealth() + 6));
|
||||
Base.setHealth(Math.min(60, Base.getHealth() + 10));
|
||||
}
|
||||
//Lose
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user