mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Rework Imminent Doom
This commit is contained in:
@@ -561,9 +561,9 @@ public class AbilityUtils {
|
|||||||
}
|
}
|
||||||
} else if (calcX[0].equals("OriginalHost")) {
|
} else if (calcX[0].equals("OriginalHost")) {
|
||||||
val = xCount(ability.getOriginalHost(), calcX[1], ability);
|
val = xCount(ability.getOriginalHost(), calcX[1], ability);
|
||||||
} else if (calcX[0].equals("LastStateBattlefield") && ability instanceof SpellAbility) {
|
} else if (calcX[0].equals("ThisTurnCast") && ability instanceof SpellAbility) {
|
||||||
Card c = ((SpellAbility) ability).getLastStateBattlefield().get(card);
|
String[] def = calcX[1].split("\\$", 2);
|
||||||
val = c == null ? 0 : xCount(c, calcX[1], ability);
|
val = handlePaid(CardUtil.getThisTurnCast(def[0], card, ability, player), def[1], card, ability);
|
||||||
} else if (calcX[0].startsWith("ExiledWith")) {
|
} else if (calcX[0].startsWith("ExiledWith")) {
|
||||||
val = handlePaid(card.getExiledCards(), calcX[1], card, ability);
|
val = handlePaid(card.getExiledCards(), calcX[1], card, ability);
|
||||||
} else if (calcX[0].startsWith("Convoked")) {
|
} else if (calcX[0].startsWith("Convoked")) {
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ T:Mode$ SpellCast | ValidCard$ Card.cmcEQX | ValidActivatingPlayer$ You | Trigge
|
|||||||
SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Any | NumDmg$ Y | SubAbility$ DBPutCounter
|
SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Any | NumDmg$ Y | SubAbility$ DBPutCounter
|
||||||
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ DOOM | CounterNum$ 1
|
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ DOOM | CounterNum$ 1
|
||||||
SVar:X:Count$CardCounters.DOOM
|
SVar:X:Count$CardCounters.DOOM
|
||||||
SVar:Y:LastStateBattlefield$CardCounters.DOOM
|
SVar:Y:ThisTurnCast$Card.TriggeredCard$CardManaCost
|
||||||
Oracle:Imminent Doom enters the battlefield with a doom counter on it.\nWhenever you cast a spell with mana value equal to the number of doom counters on Imminent Doom, Imminent Doom deals that much damage to any target. Then put a doom counter on Imminent Doom.
|
Oracle:Imminent Doom enters the battlefield with a doom counter on it.\nWhenever you cast a spell with mana value equal to the number of doom counters on Imminent Doom, Imminent Doom deals that much damage to any target. Then put a doom counter on Imminent Doom.
|
||||||
|
|||||||
Reference in New Issue
Block a user