v2.0.2: fixed spirit bow arrows triggering deadly followup
This commit is contained in:
@@ -658,7 +658,9 @@ public enum Talent {
|
|||||||
|
|
||||||
if (hero.hasTalent(DEADLY_FOLLOWUP)) {
|
if (hero.hasTalent(DEADLY_FOLLOWUP)) {
|
||||||
if (hero.belongings.attackingWeapon() instanceof MissileWeapon) {
|
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){
|
} else if (enemy.buff(DeadlyFollowupTracker.class) != null){
|
||||||
dmg = Math.round(dmg * (1.0f + .08f*hero.pointsInTalent(DEADLY_FOLLOWUP)));
|
dmg = Math.round(dmg * (1.0f + .08f*hero.pointsInTalent(DEADLY_FOLLOWUP)));
|
||||||
if (!(enemy instanceof Mob) || !((Mob) enemy).surprisedBy(hero)){
|
if (!(enemy instanceof Mob) || !((Mob) enemy).surprisedBy(hero)){
|
||||||
|
|||||||
Reference in New Issue
Block a user