diff --git a/forge-game/src/main/java/forge/game/combat/CombatUtil.java b/forge-game/src/main/java/forge/game/combat/CombatUtil.java index 5ae96a0cc7c..894416f944e 100644 --- a/forge-game/src/main/java/forge/game/combat/CombatUtil.java +++ b/forge-game/src/main/java/forge/game/combat/CombatUtil.java @@ -240,6 +240,17 @@ public class CombatUtil { } } + // Quasi-goad logic for "Kardur, Doomscourge" etc. that isn't goad but behaves the same + if (defender.hasKeyword("Creatures your opponents control attack a player other than you if able.")) { + for (GameEntity ge : getAllPossibleDefenders(attacker.getController())) { + if (!defender.equals(ge) && ge instanceof Player) { + if (canAttack(attacker, ge)) { + return false; + } + } + } + } + // Keywords final boolean canAttackWithDefender = attacker.hasKeyword("CARDNAME can attack as though it didn't have defender."); for (final KeywordInterface keyword : attacker.getKeywords()) { diff --git a/forge-gui/res/cardsfolder/k/kardur_doomscourge.txt b/forge-gui/res/cardsfolder/k/kardur_doomscourge.txt index 31e2fdf5308..c6335c453d3 100644 --- a/forge-gui/res/cardsfolder/k/kardur_doomscourge.txt +++ b/forge-gui/res/cardsfolder/k/kardur_doomscourge.txt @@ -2,8 +2,10 @@ Name:Kardur, Doomscourge ManaCost:2 B R Types:Legendary Creature Demon Berserker PT:4/3 -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGoad | TriggerDescription$ When CARDNAME enters the battlefield, until your next turn, creatures your opponents control attack each combat if able and attack a player other than you if able. -SVar:TrigGoad:DB$ Goad | Defined$ Valid Creature.YouDontCtrl +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ When CARDNAME enters the battlefield, until your next turn, creatures your opponents control attack each combat if able and attack a player other than you if able. +SVar:TrigEffect:DB$ Effect | StaticAbilities$ AttackEach,AttackOther | Duration$ UntilYourNextTurn +SVar:AttackEach:Mode$ Continuous | Affected$ Creature.OppCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures your opponents control attack each combat if able and attack a player other than you if able. +SVar:AttackOther:Mode$ Continuous | Affected$ You | AddKeyword$ Creatures your opponents control attack a player other than you if able. | Secondary$ True | Description$ Creatures your opponents control attack each combat if able and attack a player other than you if able. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.attackingLKI | Execute$ TrigDrain | TriggerZones$ Battlefield | TriggerDescription$ Whenever an attacking creature dies, each opponent loses 1 life and you gain 1 life. SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainOneLife SVar:DBGainOneLife:DB$ GainLife | Defined$ You | LifeAmount$ 1