mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Demonic hordes no longer hard coded
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
Name:Demonic Hordes
|
Name:Demonic Hordes
|
||||||
ManaCost:3 B B B
|
ManaCost:3 B B B
|
||||||
Types:Creature Demon
|
Types:Creature Demon
|
||||||
Text:At the beginning of your upkeep, unless you pay BBB, tap Demonic Hordes and sacrifice a land of an opponent's choice.
|
|
||||||
PT:5/5
|
PT:5/5
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBTap | TriggerDescription$ At the beginning of your upkeep, unless you pay B B B, tap Demonic Hordes and sacrifice a land of an opponent's choice.
|
||||||
A:AB$ Destroy | ValidTgts$ Land | TgtPrompt$ Select target land. | Cost$ T | SpellDescription$ Destroy target land.
|
A:AB$ Destroy | ValidTgts$ Land | TgtPrompt$ Select target land. | Cost$ T | SpellDescription$ Destroy target land.
|
||||||
|
SVar:DBTap:DB$ Tap | Defined$ Self | UnlessCost$ B B B | UnlessPayer$ You | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBChooseOpponent
|
||||||
|
SVar:DBChooseOpponent:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent | SubAbility$ DBChooseLand
|
||||||
|
SVar:DBChooseLand:DB$ ChooseCard | Defined$ ChosenPlayer | Choices$ Land.YouCtrl | ChoiceTitle$ Select a land for opponent to sacrifice | SubAbility$ DBSacLand
|
||||||
|
SVar:DBSacLand:DB$ Destroy | Sacrifice$ True| Defined$ ChosenCard | SubAbility$ DBReset
|
||||||
SVar:PlayMain1:FALSE
|
SVar:PlayMain1:FALSE
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_hordes.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_hordes.jpg
|
||||||
Oracle:{T}: Destroy target land.\nAt the beginning of your upkeep, unless you pay {B}{B}{B}, tap Demonic Hordes and sacrifice a land of an opponent's choice.
|
Oracle:{T}: Destroy target land.\nAt the beginning of your upkeep, unless you pay {B}{B}{B}, tap Demonic Hordes and sacrifice a land of an opponent's choice.
|
||||||
|
|||||||
@@ -60,7 +60,8 @@ public class ChoosePlayerEffect extends SpellAbilityEffect {
|
|||||||
} else if ("Pump".equals(sa.getParam("AILogic"))) {
|
} else if ("Pump".equals(sa.getParam("AILogic"))) {
|
||||||
chosen = choices.contains(p) ? p : choices.get(0);
|
chosen = choices.contains(p) ? p : choices.get(0);
|
||||||
} else {
|
} else {
|
||||||
chosen = p;
|
System.out.println("Default player choice logic.");
|
||||||
|
chosen = choices.contains(p) ? p : choices.get(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ public class Upkeep extends Phase {
|
|||||||
|
|
||||||
Upkeep.upkeepTheAbyss(game);
|
Upkeep.upkeepTheAbyss(game);
|
||||||
Upkeep.upkeepDropOfHoney(game);
|
Upkeep.upkeepDropOfHoney(game);
|
||||||
Upkeep.upkeepDemonicHordes(game);
|
//Upkeep.upkeepDemonicHordes(game);
|
||||||
Upkeep.upkeepTangleWire(game);
|
Upkeep.upkeepTangleWire(game);
|
||||||
|
|
||||||
Upkeep.upkeepOathOfDruids(game);
|
Upkeep.upkeepOathOfDruids(game);
|
||||||
|
|||||||
Reference in New Issue
Block a user