Name:Desert Warfare
ManaCost:3 G
Types:Enchantment
T:Mode$ Sacrificed | ValidPlayer$ You | ValidCard$ Desert.YouCtrl | Execute$ TrigDelay | TriggerZones$ Battlefield | TriggerDescription$ Whenever you sacrifice a Desert and whenever a Desert card is put into your graveyard from your hand or library, put that card onto the battlefield under your control at the beginning of your next end step.
T:Mode$ ChangesZone | ValidCard$ Desert.YouOwn | Origin$ Hand,Library | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigDelay | Secondary$ True | TriggerDescription$ Whenever you sacrifice a Desert and whenever a Desert card is put into your graveyard from your hand or library, put that card onto the battlefield under your control at the beginning of your next end step.
SVar:TrigDelay:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigReturn | TriggerDescription$ Put that card onto the battlefield under your control at the beginning of your next end step.
SVar:TrigReturn:DB$ ChangeZone | Defined$ Spawner>TriggeredCard | GainControl$ True | Origin$ Graveyard | Destination$ Battlefield
T:Mode$ Phase | IsPresent$ Desert.YouCtrl | PresentCompare$ GE5 | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, if you control five or more Deserts, create that many 1/1 red, green, and white Sand Warrior creature tokens. They gain haste.
SVar:TrigToken:DB$ Token | TokenAmount$ X | PumpKeywords$ Haste | TokenScript$ rgw_1_1_sand_warrior | TokenOwner$ You
SVar:X:Count$Valid Desert.YouCtrl
DeckHas:Ability$Token & Type$Sand|Warrior
DeckNeeds:Type$Desert
Oracle:Whenever you sacrifice a Desert and whenever a Desert card is put into your graveyard from your hand or library, put that card onto the battlefield under your control at the beginning of your next end step.\nAt the beginning of combat on your turn, if you control five or more Deserts, create that many 1/1 red, green, and white Sand Warrior creature tokens. They gain haste.
