Fix spamming bombardment
This commit is contained in:
parent
a5fd9bef79
commit
c2cbcfc62f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user