Commit 2c5eee77 authored by salix5's avatar salix5

fix サイコ・リアクター

Now its effect will reset in End Phase as normal.
parent de0208ac
......@@ -34,7 +34,8 @@ function c3146695.regop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_TURN_END)
e2:SetCode(EVENT_PHASE+PHASE_END)
e2:SetReset(RESET_PHASE+PHASE_END)
e2:SetCountLimit(1)
e2:SetLabelObject(g)
e2:SetOperation(c3146695.reset)
......@@ -60,5 +61,4 @@ function c3146695.operation(e,tp,eg,ep,ev,re,r,rp)
end
function c3146695.reset(e,tp,eg,ep,ev,re,r,rp)
e:GetLabelObject():DeleteGroup()
e:Reset()
end
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