mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Converted Winds of Change to use RepeatEach so moomarc can use it as an example
This commit is contained in:
@@ -2,13 +2,12 @@ Name:Winds of Change
|
||||
ManaCost:R
|
||||
Types:Sorcery
|
||||
Text:no text
|
||||
A:SP$ ChangeZoneAll | Cost$ R | Defined$ You | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ WindDraw | SpellDescription$ Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.
|
||||
SVar:WindDraw:DB$Draw | NumCards$ X | Defined$ You | SubAbility$ CleanTheWind
|
||||
SVar:CleanTheWind:DB$Cleanup | ClearRemembered$ True | SubAbility$ WindOpp
|
||||
SVar:WindOpp:DB$ ChangeZoneAll | Defined$ Opponent | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ WindDrawOpp
|
||||
SVar:WindDrawOpp:DB$Draw | NumCards$ X | Defined$ Opponent | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||||
SVar:X:Remembered$Amount
|
||||
A:SP$ RepeatEach | Cost$ R | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleHand | SpellDescription$ Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.
|
||||
SVar:ShuffleHand:DB$ ChangeZoneAll | Defined$ Player.IsRemembered | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | Shuffle$ True | SubAbility$ WindDraw
|
||||
SVar:WindDraw:DB$Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ CleanTheWind
|
||||
SVar:CleanTheWind:DB$Cleanup | ClearRemembered$ True
|
||||
SVar:X:Remembered$Amount/Minus.1
|
||||
# Amount Minus 1 because the Player is also being remembered at this point
|
||||
SVar:RemRandomDeck:True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Uncommon
|
||||
|
||||
Reference in New Issue
Block a user