游戏王残局简化版

NH-16.lua at [4e4fa1c4cd]
Login

NH-16.lua at [4e4fa1c4cd]

File NH-16.lua artifact f385f0f306 part of check-in 4e4fa1c4cd


--[[message
卡数:12
规则:新大师
]]
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,211700,0,0)
Debug.SetPlayerInfo(1,214700,0,0)

Debug.AddCard(25789292,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(08842266,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local c1=Debug.AddCard(74277583,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
e1=Effect.CreateEffect(c1)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_LEVEL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(10)
c1:RegisterEffect(e1)
Debug.AddCard(37243151,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(9628664,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(48202661,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(69456283,0,0,LOCATION_MZONE,4,POS_FACEUP_ATTACK)
Debug.AddCard(34408491,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(44968687,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(47297616,1,1,LOCATION_MZONE,0,POS_FACEUP_DEFENSE)
local m0=Debug.AddCard(46652477,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
local m1=Debug.AddCard(83764718,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(08964854,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(90162951,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)Debug.AddCard(82593786,1,1,LOCATION_GRAVE,0,POS_FACEDOWN)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)

Debug.ShowHint("剪刀的等级已设置成10星!")