v2.0.2: fixed spirit bow arrows triggering deadly followup

This commit is contained in:
Evan Debenham
2023-04-11 15:34:57 -04:00
parent a81131d255
commit ea461d24df

View File

@@ -658,7 +658,9 @@ public enum Talent {
if (hero.hasTalent(DEADLY_FOLLOWUP)) {
if (hero.belongings.attackingWeapon() instanceof MissileWeapon) {
Buff.prolong(enemy, DeadlyFollowupTracker.class, 5f);
if (!(hero.belongings.attackingWeapon() instanceof SpiritBow.SpiritArrow)) {
Buff.prolong(enemy, DeadlyFollowupTracker.class, 5f);
}
} else if (enemy.buff(DeadlyFollowupTracker.class) != null){
dmg = Math.round(dmg * (1.0f + .08f*hero.pointsInTalent(DEADLY_FOLLOWUP)));
if (!(enemy instanceof Mob) || !((Mob) enemy).surprisedBy(hero)){