v0.9.3: fixed natures aid not working with fadeleaf (now triggers first)

This commit is contained in:
Evan Debenham 2021-05-22 20:46:23 -04:00
parent 192700e6b4
commit cfd2a5eb63

View File

@ -66,13 +66,13 @@ public abstract class Plant implements Bundlable {
((Hero) ch).interrupt();
}
wither();
activate( ch );
if (Dungeon.level.heroFOV[pos] && Dungeon.hero.hasTalent(Talent.NATURES_AID)){
// 3/5 turns based on talent points spent
Buff.affect(Dungeon.hero, Barkskin.class).set(2, 1 + 2*(Dungeon.hero.pointsInTalent(Talent.NATURES_AID)));
}
wither();
activate( ch );
}
public abstract void activate( Char ch );