From 896a7ae3e029172cb77d95989d21883206fca79d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 27 Aug 2024 20:59:07 +0200 Subject: Absorbing hits ignores any and all Link effects. --- rules.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index eabb51d..a23148d 100644 --- a/rules.js +++ b/rules.js @@ -2710,7 +2710,7 @@ function goto_attack(target) { } // Update hits and self hits. -function update_attack1() { +function update_attack1(is_absorb = false) { let a = current_action() let n = count_dice_on_card(game.selected) @@ -2932,8 +2932,11 @@ function update_attack1() { game.hits += 1 // Linked Formations (TGA and CAL expansion rule) - if (card_has_active_link(target)) - game.hits = Math.max(0, game.hits - 1) + // If a card Absorbs Hits, the presence of a Link does not reduce the number of hits. + if (!is_absorb) { + if (card_has_active_link(target)) + game.hits = Math.max(0, game.hits - 1) + } if (card_has_rule(target, "suffer_1_less")) game.hits = Math.max(0, game.hits - 1) @@ -3494,7 +3497,7 @@ function goto_absorb(c, a) { game.target = c - update_attack1() + update_attack1(true) switch (a.effect) { -- cgit v1.2.3