Fix spamming bombardment

This commit is contained in:
Sam 2017-06-15 21:22:26 +01:00
parent a5fd9bef79
commit c2cbcfc62f

View File

@ -141,7 +141,7 @@ public class SkillBombardment extends HeroSkill
BombardmentData data = iterator.next(); BombardmentData data = iterator.next();
Player player = data.Shooter; Player player = data.Shooter;
if (UtilTime.elapsed(data.Start, MAX_TIME) || data.Shots == 0) if (UtilTime.elapsed(data.Start, MAX_TIME) || data.Shots <= 0)
{ {
useSkill(player); useSkill(player);
Kit.GiveItems(player); Kit.GiveItems(player);