lowered headshot damage
This commit is contained in:
parent
fbaec460dc
commit
ebbc13c0a4
@ -1284,7 +1284,7 @@ public class MineStrike extends TeamGame
|
|||||||
{
|
{
|
||||||
Bukkit.getPluginManager().callEvent(new PlayerHeadshotEvent(bullet.Shooter, event.GetDamageePlayer()));
|
Bukkit.getPluginManager().callEvent(new PlayerHeadshotEvent(bullet.Shooter, event.GetDamageePlayer()));
|
||||||
|
|
||||||
event.AddMod(bullet.Shooter.getName(), "Headshot", damage*2, true);
|
event.AddMod(bullet.Shooter.getName(), "Headshot", damage, true);
|
||||||
|
|
||||||
//Wearing Helmet
|
//Wearing Helmet
|
||||||
if (Armor.isArmor(event.GetDamageePlayer().getInventory().getHelmet()) ||
|
if (Armor.isArmor(event.GetDamageePlayer().getInventory().getHelmet()) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user