v1.4.0: resting now triggers the hold fast talent

This commit is contained in:
Evan Debenham
2022-09-22 13:39:29 -04:00
parent a19bad4d00
commit 78a7de56fc

View File

@@ -1143,10 +1143,10 @@ public class Hero extends Char {
public void rest( boolean fullRest ) {
spendAndNextConstant( TIME_TO_REST );
if (hasTalent(Talent.HOLD_FAST)){
Buff.affect(this, HoldFast.class);
}
if (!fullRest) {
if (hasTalent(Talent.HOLD_FAST)){
Buff.affect(this, HoldFast.class);
}
if (sprite != null) {
sprite.showStatus(CharSprite.DEFAULT, Messages.get(this, "wait"));
}