mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed Profaner of the Dead
This commit is contained in:
@@ -782,7 +782,10 @@ public class AbilityUtils {
|
|||||||
valid = valid.replace("EQ" + varName, "EQ" + Integer.toString(calculateAmount(source, varName, sa)));
|
valid = valid.replace("EQ" + varName, "EQ" + Integer.toString(calculateAmount(source, varName, sa)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (sa.hasParam("AbilityCount")) { // replace specific string other than "EQ" cases
|
||||||
|
String var = sa.getParam("AbilityCount");
|
||||||
|
valid = valid.replace(var, Integer.toString(calculateAmount(source, var, sa)));
|
||||||
|
}
|
||||||
return CardLists.getValidCards(list, valid.split(","), sa.getActivatingPlayer(), source);
|
return CardLists.getValidCards(list, valid.split(","), sa.getActivatingPlayer(), source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Types:Creature Naga Wizard
|
|||||||
PT:3/3
|
PT:3/3
|
||||||
K:Exploit
|
K:Exploit
|
||||||
T:Mode$ Exploited | ValidCard$ Creature | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigChangeZoneAll | TriggerDescription$ When CARDNAME exploits a creature, return to their owners' hands all creatures your opponents control with toughness less than the exploited creature's toughness.
|
T:Mode$ Exploited | ValidCard$ Creature | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigChangeZoneAll | TriggerDescription$ When CARDNAME exploits a creature, return to their owners' hands all creatures your opponents control with toughness less than the exploited creature's toughness.
|
||||||
SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLEX+OppCtrl | References$ X
|
SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLTX+OppCtrl | References$ X | AbilityCount$ X
|
||||||
SVar:X:TriggeredExploited$CardToughness
|
SVar:X:TriggeredExploited$CardToughness
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/profaner_of_the_dead.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/profaner_of_the_dead.jpg
|
||||||
|
|||||||
Reference in New Issue
Block a user