summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-23 21:55:04 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-23 21:55:04 +0200
commit0f2869feb1d0c35693c6daf30df9ee068c141d46 (patch)
treedacbf1cddb538046bf5c6b01d2eb058210a14d80
parent53965f0f71892e3aabffbf37c31ebe15f7652505 (diff)
downloadplantagenet-0f2869feb1d0c35693c6daf30df9ee068c141d46.tar.gz
reverse the final charge polarity!
-rw-r--r--rules.js2
-rw-r--r--rules.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 68b373e..94668ab 100644
--- a/rules.js
+++ b/rules.js
@@ -6394,7 +6394,7 @@ states.final_charge = {
logcap(AOW_YORK_FINAL_CHARGE);
log_hits("+3/+1", "L" + find_lord_with_capability_card(AOW_YORK_FINAL_CHARGE));
game.battle.final_charge = 1;
- if (game.battle.attacker === YORK) {
+ if (game.battle.attacker === LANCASTER) {
game.battle.ahits += 1;
game.battle.dhits += 3;
}
diff --git a/rules.ts b/rules.ts
index 3e038f4..f3706bd 100644
--- a/rules.ts
+++ b/rules.ts
@@ -7545,7 +7545,7 @@ states.final_charge = {
logcap(AOW_YORK_FINAL_CHARGE)
log_hits("+3/+1", "L" + find_lord_with_capability_card(AOW_YORK_FINAL_CHARGE))
game.battle.final_charge = 1
- if (game.battle.attacker === YORK) {
+ if (game.battle.attacker === LANCASTER) {
game.battle.ahits += 1
game.battle.dhits += 3
} else {