summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index c96a839..addb45e 100644
--- a/rules.js
+++ b/rules.js
@@ -4308,6 +4308,7 @@ states.combat_victory = {
view.actions.done = 1
},
done() {
+ push_undo()
goto_combat_victory()
},
}
@@ -4469,7 +4470,7 @@ function goto_free_increase_support_level() {
}
}
- if (game.combat.target === "barbarians" && !game.combat.own_military_emperor_died && has_card_event(CARD_S4X))
+ if (game.combat.type === "barbarians" && !game.combat.own_military_emperor_died && has_card_event(CARD_S4X))
game.state = "triumph"
else
end_combat()
@@ -4514,7 +4515,7 @@ states.triumph = {
push_undo()
set_add(game.used, c)
- award_legacy(game.current, "Triumph", game.combat.dtaken)
+ award_legacy(game.current, "Triumph", game.combat.dtaken + game.combat.staken)
end_combat()
},