v0.3.2c: Fixed the timekeeper's hourglass stasis effect
This commit is contained in:
committed by
Evan Debenham
parent
83b60bf5a4
commit
6b7e28c88a
+6
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user