v0.6.1: stepping on plants now interrupts the hero
This commit is contained in:
parent
1757c2ae7d
commit
5d4b0cbb2a
|
@ -57,8 +57,11 @@ public abstract class Plant implements Bundlable {
|
||||||
|
|
||||||
Char ch = Actor.findChar(pos);
|
Char ch = Actor.findChar(pos);
|
||||||
|
|
||||||
if (ch instanceof Hero && ((Hero)ch).subClass == HeroSubClass.WARDEN) {
|
if (ch instanceof Hero){
|
||||||
Buff.affect( ch, Barkskin.class ).level( ch.HT / 3 );
|
((Hero) ch).interrupt();
|
||||||
|
if (((Hero)ch).subClass == HeroSubClass.WARDEN) {
|
||||||
|
Buff.affect(ch, Barkskin.class).level(ch.HT / 3);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wither();
|
wither();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user