mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Converted Lord of the Pit and Liege of the Pit to scripts.
This commit is contained in:
@@ -1,11 +1,16 @@
|
|||||||
Name:Liege of the Pit
|
Name:Liege of the Pit
|
||||||
ManaCost:5 B B B
|
ManaCost:5 B B B
|
||||||
Types:Creature Demon
|
Types:Creature Demon
|
||||||
Text:At the beginning of your upkeep, sacrifice a creature other than Liege of the Pit. If you can't, Liege of the Pit deals 7 damage to you.
|
Text:no text
|
||||||
PT:7/7
|
PT:7/7
|
||||||
K:Flying
|
K:Flying
|
||||||
K:Trample
|
K:Trample
|
||||||
K:Morph:B B B B
|
K:Morph:B B B B
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME. If you can't, Lord of the Pit deals 7 damage to you.
|
||||||
|
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ You | SacValid$ Creature.Other | SubAbility$ DBDamage | RememberSacrificed$ True
|
||||||
|
SVar:DBDamage:DB$ DealDamage | Cost$ 0 | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:Remembered$Amount
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/liege_of_the_pit.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/liege_of_the_pit.jpg
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
Name:Lord of the Pit
|
Name:Lord of the Pit
|
||||||
ManaCost:4 B B B
|
ManaCost:4 B B B
|
||||||
Types:Creature Demon
|
Types:Creature Demon
|
||||||
Text:At the beginning of your upkeep, sacrifice a creature other than Lord of the Pit. If you can't, Lord of the Pit deals 7 damage to you.
|
Text:no text
|
||||||
PT:7/7
|
PT:7/7
|
||||||
K:Flying
|
K:Flying
|
||||||
K:Trample
|
K:Trample
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME. If you can't, Lord of the Pit deals 7 damage to you.
|
||||||
|
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ You | SacValid$ Creature.Other | SubAbility$ DBDamage | RememberSacrificed$ True
|
||||||
|
SVar:DBDamage:DB$ DealDamage | Cost$ 0 | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:Remembered$Amount
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/lord_of_the_pit.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/lord_of_the_pit.jpg
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class Upkeep extends Phase implements java.io.Serializable {
|
|||||||
|
|
||||||
Upkeep.upkeepTheAbyss();
|
Upkeep.upkeepTheAbyss();
|
||||||
Upkeep.upkeepYawgmothDemon();
|
Upkeep.upkeepYawgmothDemon();
|
||||||
Upkeep.upkeepLordOfThePit();
|
//Upkeep.upkeepLordOfThePit();
|
||||||
Upkeep.upkeepDropOfHoney();
|
Upkeep.upkeepDropOfHoney();
|
||||||
Upkeep.upkeepDemonicHordes();
|
Upkeep.upkeepDemonicHordes();
|
||||||
Upkeep.upkeepCarnophage();
|
Upkeep.upkeepCarnophage();
|
||||||
@@ -596,16 +596,18 @@ public class Upkeep extends Phase implements java.io.Serializable {
|
|||||||
} // end for
|
} // end for
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* upkeepLordOfThePit.
|
* upkeepLordOfThePit.
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
private static void upkeepLordOfThePit() {
|
|
||||||
/*
|
/*
|
||||||
|
private static void upkeepLordOfThePit() {
|
||||||
|
|
||||||
* At the beginning of your upkeep, sacrifice a creature other than Lord
|
* At the beginning of your upkeep, sacrifice a creature other than Lord
|
||||||
* of the Pit. If you can't, Lord of the Pit deals 7 damage to you.
|
* of the Pit. If you can't, Lord of the Pit deals 7 damage to you.
|
||||||
*/
|
|
||||||
final Player player = AllZone.getPhaseHandler().getPlayerTurn();
|
final Player player = AllZone.getPhaseHandler().getPlayerTurn();
|
||||||
final CardList lords = player.getCardsIn(Zone.Battlefield, "Lord of the Pit");
|
final CardList lords = player.getCardsIn(Zone.Battlefield, "Lord of the Pit");
|
||||||
lords.addAll(player.getCardsIn(Zone.Battlefield, "Liege of the Pit"));
|
lords.addAll(player.getCardsIn(Zone.Battlefield, "Liege of the Pit"));
|
||||||
@@ -665,7 +667,7 @@ public class Upkeep extends Phase implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
} // end for
|
} // end for
|
||||||
} // upkeepLordOfThePit()
|
} // upkeepLordOfThePit()
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* upkeepDropOfHoney.
|
* upkeepDropOfHoney.
|
||||||
|
|||||||
Reference in New Issue
Block a user