Update Broadsword regen

This commit is contained in:
samczsun 2016-05-18 16:49:41 -04:00 committed by Sam Sun
parent 14c60ec3ba
commit e0f4c9cbc8

View File

@ -1,5 +1,6 @@
package mineplex.game.clans.items.legendaries;
import mineplex.core.recharge.Recharge;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.entity.Player;
@ -60,6 +61,7 @@ public class GiantsBroadsword extends LegendaryItem
private void buffPlayer(Player player)
{
grantPotionEffect(player, PotionEffectType.SLOW, 40, SLOW_AMPLIFIER);
grantPotionEffect(player, PotionEffectType.REGENERATION, 5, REGEN_AMPLIFIER); //Regen
if (Recharge.Instance.use(player, "Giants Broadsword Regen", 250L, false, false, false))
grantPotionEffect(player, PotionEffectType.REGENERATION, 5, REGEN_AMPLIFIER); //Regen
}
}