- ChooseNumberAi: logic for By Invitation Only.

This commit is contained in:
Michael Kamensky
2021-10-30 17:37:38 +03:00
parent 18c6db3fd9
commit a2de2ba7ed
3 changed files with 20 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
Name:By Invitation Only
ManaCost:3 W W
Types:Sorcery
A:SP$ ChooseNumber | Defined$ You | Min$ 0 | Max$ 13 | SubAbility$ DBSac | StackDescription$ SpellDescription | SpellDescription$ Choose a number between 0 and 13. Each player sacrifices that many creatures.
A:SP$ ChooseNumber | Defined$ You | Min$ 0 | Max$ 13 | SubAbility$ DBSac | AILogic$ SweepCreatures | StackDescription$ SpellDescription | SpellDescription$ Choose a number between 0 and 13. Each player sacrifices that many creatures.
SVar:DBSac:DB$ Sacrifice | Defined$ Player | SacValid$ Creature | Amount$ X | StackDescription$ None
SVar:X:Count$ChosenNumber
AI:RemoveDeck:All
Oracle:Choose a number between 0 and 13. Each player sacrifices that many creatures.