v0.9.2a: sungrass healing not interrupts resting when it expires
This commit is contained in:
parent
ea7e58bd2d
commit
040117f796
|
@ -106,6 +106,9 @@ public class Sungrass extends Plant {
|
||||||
|
|
||||||
if (level <= 0) {
|
if (level <= 0) {
|
||||||
detach();
|
detach();
|
||||||
|
if (target instanceof Hero){
|
||||||
|
((Hero)target).resting = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
spend( STEP );
|
spend( STEP );
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user