游戏王残局简化版

LV-067.lua at [da5a310ca6]
Login

LV-067.lua at [da5a310ca6]

File single/LV-067.lua artifact a26d66c179 part of check-in da5a310ca6


--puzzle1
Debug.SetAIName("Level-067")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,1600,0,0)
Debug.SetPlayerInfo(1,3400,0,0)

Debug.AddCard(11384280,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(64631466,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(27618634,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(27618634,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)

Debug.AddCard(75560629,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(22537443,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(79575620,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(31305911,1,1,LOCATION_MZONE,1,POS_FACEUP_DEFENCE)
Debug.AddCard(23205979,1,1,LOCATION_MZONE,2,POS_FACEUP_DEFENCE)
Debug.AddCard(13945283,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(24140059,1,1,LOCATION_MZONE,4,POS_FACEUP_DEFENCE)

Debug.ReloadFieldEnd()
Debug.ShowHint("GAME START!")
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)