游戏王残局简化版

MH-HERO.lua at [eb8bc5a11c]
Login

MH-HERO.lua at [eb8bc5a11c]

File MH-HERO.lua artifact 64999c1128 part of check-in eb8bc5a11c


--[[message
卡数:15
规则:大师3
]]
Debug.SetAIName("棉花")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,3)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,4400,0,0)

Debug.AddCard(40044918,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(50720316,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89943723,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(79979666,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89312388,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(89621922,0,0,LOCATION_GRAVE,0,POS_FACEUP_ATTACK)
Debug.AddCard(40854197,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(34086406,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(81566151,0,0,LOCATION_EXTRA,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(213326,0,0,LOCATION_HAND,2,POS_FACEUP_ATTACK)
Debug.AddCard(75141056,0,0,LOCATION_HAND,3,POS_FACEUP_ATTACK)
Debug.AddCard(45906428,0,0,LOCATION_HAND,4,POS_FACEUP_ATTACK)
Debug.AddCard(35255456,0,0,LOCATION_HAND,5,POS_FACEUP_ATTACK)
Debug.AddCard(40101111,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
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)