v0.9.3: fixed natures aid not working with fadeleaf (now triggers first)
This commit is contained in:
@@ -66,13 +66,13 @@ public abstract class Plant implements Bundlable {
|
|||||||
((Hero) ch).interrupt();
|
((Hero) ch).interrupt();
|
||||||
}
|
}
|
||||||
|
|
||||||
wither();
|
|
||||||
activate( ch );
|
|
||||||
|
|
||||||
if (Dungeon.level.heroFOV[pos] && Dungeon.hero.hasTalent(Talent.NATURES_AID)){
|
if (Dungeon.level.heroFOV[pos] && Dungeon.hero.hasTalent(Talent.NATURES_AID)){
|
||||||
// 3/5 turns based on talent points spent
|
// 3/5 turns based on talent points spent
|
||||||
Buff.affect(Dungeon.hero, Barkskin.class).set(2, 1 + 2*(Dungeon.hero.pointsInTalent(Talent.NATURES_AID)));
|
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 );
|
public abstract void activate( Char ch );
|
||||||
|
|||||||
Reference in New Issue
Block a user