v0.3.2c: Fixed the timekeeper's hourglass stasis effect

This commit is contained in:
Evan Debenham
2015-11-11 20:49:29 -05:00
committed by Evan Debenham
parent 83b60bf5a4
commit 6b7e28c88a
@@ -228,6 +228,8 @@ public class TimekeepersHourglass extends Artifact {
@Override
public boolean attachTo(Char target) {
if (super.attachTo(target)) {
//buffs always act last, so the stasis buff should end a turn early.
spend(charge - 1);
((Hero) target).spendAndNext(charge);
@@ -245,7 +247,10 @@ public class TimekeepersHourglass extends Artifact {
Dungeon.observe();
return super.attachTo(target);
return true;
} else {
return false;
}
}
@Override