mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Pestilence/Pyrohemia, the real conversion.
This commit is contained in:
@@ -2,7 +2,7 @@ Name:Pestilence
|
|||||||
ManaCost:2 B B
|
ManaCost:2 B B
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:no text
|
Text:no text
|
||||||
T:Mode$ Phase | Phase$ End Of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME.
|
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME.
|
||||||
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
||||||
A:AB$ DamageAll | Cost$ B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player.
|
A:AB$ DamageAll | Cost$ B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player.
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Pyrohemia
|
|||||||
ManaCost:2 R R
|
ManaCost:2 R R
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:no text
|
Text:no text
|
||||||
T:Mode$ Phase | Phase$ End Of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME.
|
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME.
|
||||||
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
|
||||||
A:AB$ DamageAll | Cost$ R | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player.
|
A:AB$ DamageAll | Cost$ R | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player.
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
|
|||||||
@@ -30,18 +30,6 @@ public class EndOfTurn implements java.io.Serializable
|
|||||||
//Pyrohemia and Pestilence
|
//Pyrohemia and Pestilence
|
||||||
CardList all = AllZoneUtil.getCardsInPlay();
|
CardList all = AllZoneUtil.getCardsInPlay();
|
||||||
|
|
||||||
CardList creature = all.getType("Creature");
|
|
||||||
|
|
||||||
if(creature.isEmpty())
|
|
||||||
{
|
|
||||||
CardList sacrifice = new CardList();
|
|
||||||
sacrifice.add(all.getName("Pyrohemia"));
|
|
||||||
sacrifice.add(all.getName("Pestilence"));
|
|
||||||
|
|
||||||
for(int i = 0; i < sacrifice.size(); i++)
|
|
||||||
AllZone.GameAction.sacrifice(sacrifice.get(i));
|
|
||||||
}
|
|
||||||
|
|
||||||
GameActionUtil.endOfTurn_Predatory_Advantage();
|
GameActionUtil.endOfTurn_Predatory_Advantage();
|
||||||
GameActionUtil.endOfTurn_Wall_Of_Reverence();
|
GameActionUtil.endOfTurn_Wall_Of_Reverence();
|
||||||
GameActionUtil.endOfTurn_Lighthouse_Chronologist();
|
GameActionUtil.endOfTurn_Lighthouse_Chronologist();
|
||||||
|
|||||||
Reference in New Issue
Block a user