v0.3.2: changed most passive effects to pause when a floor is locked
This commit is contained in:
@@ -34,7 +34,7 @@ public class Regeneration extends Buff {
|
||||
|
||||
|
||||
|
||||
if (target.HP < target.HT && !((Hero)target).isStarving()) {
|
||||
if (target.HP < target.HT && !((Hero)target).isStarving() && target.buff(LockedFloor.class) == null) {
|
||||
target.HP += 1;
|
||||
if (target.HP == target.HT){
|
||||
((Hero)target).resting = false;
|
||||
|
||||
Reference in New Issue
Block a user