Commit 5f68cb64 authored by Grajade's avatar Grajade

Update c50210.lua

parent e0fe42fc
Pipeline #11164 passed with stage
in 1 minute and 28 seconds
......@@ -35,19 +35,19 @@ end
function c50210.bop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetDescription(aux.Stringid(50210,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_BATTLE_START)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetReset(RESET_PHASE+PHASE_END,2)
e1:SetOperation(c50210.cop)
c:RegisterEffect(e1)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EVENT_PHASE+PHASE_STANDBY)
c:RegisterEffect(e2)
Duel.RegisterEffect(e2,tp)
local e3=e1:Clone()
e3:SetCode(EVENT_PHASE+PHASE_END)
c:RegisterEffect(e3)
Duel.RegisterEffect(e3,tp)
end
function c50210.cop(e,tp,eg,ep,ev,re,r,rp)
local num=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment