游戏王残局简化版

X-LV-05.lua at [8e17f93174]
Login

X-LV-05.lua at [8e17f93174]

File single/X-LV-05.lua artifact 05978e2f9e part of check-in 8e17f93174


--[[message
卡数:0
规则:新大师
]]
--By OURYGO-YGO EZ manager
Debug.SetAIName("顽雨沉风")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI,4)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,2500,0,0)
Debug.AddCard(46986414,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(70781055,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(91152256,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g01=Debug.AddCard(27288416,0,0,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
local g03=Debug.AddCard(27288416,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)

Debug.AddCard(27288416,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

Debug.ShowHint("尝试一下四星以下不需要祭品。\n五·六星怪兽需要一只祭品。\n七星以上两只祭品。")
--~ Debug.ShowHint
--~ ("五·六星怪兽需要一只祭品")
--~ Debug.ShowHint
--~ ("七星以上两只祭品")

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)