游戏王残局简化版

Artifact [ad407b195a]
Login

Artifact [ad407b195a]

Artifact ad407b195ae5c079de736d5babb37c1f72db6507e91c417f6bc5ae15a115c13a:


--[[message

卡数:12
规则:大师3
A simple puzzle, which teaches a Red Dragon Archfiend line combo
]]


--Mastering the Red Dragons
Debug.SetAIName("Eroldin")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,9700,0,0)

--Challenger's Spell zone
Debug.AddCard(42079445,0,0,LOCATION_SZONE,1,POS_FACEDOWN) --Descending Lost Star
Debug.AddCard(76407432,0,0,LOCATION_SZONE,2,POS_FACEDOWN) --Assault Counter 
Debug.AddCard(80280737,0,0,LOCATION_SZONE,3,POS_FACEDOWN) --Assault Mode Activate

--Challenger's Hand
Debug.AddCard(20474741,0,0,LOCATION_HAND,0,POS_FACEUP) --Trident Warrior
Debug.AddCard(57568840,0,0,LOCATION_HAND,0,POS_FACEUP) --Delta Flyer
Debug.AddCard(8487449,0,0,LOCATION_HAND,0,POS_FACEUP) --Jester Confit
Debug.AddCard(16638212,0,0,LOCATION_HAND,0,POS_FACEUP) --Creation Resonator
Debug.AddCard(5780210,0,0,LOCATION_HAND,0,POS_FACEUP) --D.D. Spirte

--Challenger's Deck
Debug.AddCard(77336644,0,0,LOCATION_DECK,0,POS_FACEDOWN) --Red Dragon Archfiend/Assault Mode

--Challenger's Extra Deck
Debug.AddCard(70902743,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --Red Dragon Archfiend
Debug.AddCard(97489701,0,0,LOCATION_EXTRA,0,POS_FACEDOWN) --Red Nova Dragon

--Eroldin's Monster zone
Debug.AddCard(31122090,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK) --Lancer Lindwurm

--Eroldin's Spell zone
Debug.AddCard(44095762,1,1,LOCATION_SZONE,2,POS_FACEDOWN) --Mirror Force

--Start the Puzzle
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
local e999=Effect.GlobalEffect()
e999:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e999:SetCode(EVENT_DAMAGE)
e999:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return Duel.GetLP(1)<=0 end)
e999:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
Debug.ShowHint("残局群181175613") end)
Duel.RegisterEffect(e999,0)