Update Broadsword regen
This commit is contained in:
parent
14c60ec3ba
commit
e0f4c9cbc8
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user