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) {
|
||||
detach();
|
||||
if (target instanceof Hero){
|
||||
((Hero)target).resting = false;
|
||||
}
|
||||
}
|
||||
spend( STEP );
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user