游戏王残局简化版

X-LV-07.lua at [126218d834]
Login

X-LV-07.lua at [126218d834]

File single/X-LV-07.lua artifact daefee561e part of check-in 126218d834


--[[message
卡数:3
规则:新大师
]]
--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,1600,0,0)

Debug.AddCard(81777047,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(81777047,0,0,LOCATION_HAND,0,POS_FACEDOWN)
local g02=Debug.AddCard(62651957,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local g12=Debug.AddCard(89631139,1,1,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
local m02=Debug.AddCard(23171610,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.ReloadFieldEnd()
aux.BeginPuzzle()

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)