v2.2.0: fixed followup strike rarely not clearing when enemies die
This commit is contained in:
committed by
Evan Debenham
parent
e124533d58
commit
d912818f57
@@ -683,7 +683,7 @@ public enum Talent {
|
|||||||
Buff.affect(enemy, SuckerPunchTracker.class);
|
Buff.affect(enemy, SuckerPunchTracker.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hero.hasTalent(Talent.FOLLOWUP_STRIKE) && enemy.alignment == Char.Alignment.ENEMY) {
|
if (hero.hasTalent(Talent.FOLLOWUP_STRIKE) && enemy.isAlive() && enemy.alignment == Char.Alignment.ENEMY) {
|
||||||
if (hero.belongings.attackingWeapon() instanceof MissileWeapon) {
|
if (hero.belongings.attackingWeapon() instanceof MissileWeapon) {
|
||||||
Buff.prolong(hero, FollowupStrikeTracker.class, 5f).object = enemy.id();
|
Buff.prolong(hero, FollowupStrikeTracker.class, 5f).object = enemy.id();
|
||||||
} else if (hero.buff(FollowupStrikeTracker.class) != null
|
} else if (hero.buff(FollowupStrikeTracker.class) != null
|
||||||
|
|||||||
Reference in New Issue
Block a user