游戏王残局简化版

[WCS2006]02_joker_衍生版_1.lua at [584a2ca548]
Login

[WCS2006]02_joker_衍生版_1.lua at [584a2ca548]

File single/[WCS2006]02_joker_衍生版_1.lua artifact 92f3b4b7ed part of check-in 584a2ca548


--[[message
卡数:12
规则:大师3
]]
Debug.SetAIName("[WCS2006]02_joker")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,900,0,0)
Debug.SetPlayerInfo(1,6100,0,0)

Debug.AddCard(00423585,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(64788463,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(25652259,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(90876561,0,0,LOCATION_DECK,0,POS_FACEDOWN)

Debug.AddCard(53363708,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(24094653,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(70828912,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(32807846,0,0,LOCATION_HAND,0,POS_FACEDOWN)

Debug.AddCard(00423585,0,0,LOCATION_MZONE,2,POS_FACEUP_DEFENSE)
Debug.AddCard(403847,0,0,LOCATION_SZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(403847,0,0,LOCATION_SZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(93445074,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)

Debug.AddCard(34460239,0,0,LOCATION_SZONE,2,POS_FACEDOWN)

Debug.AddCard(06150044,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

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