Commit 8955fb06 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c50224080.lua

parent a81000e8
Pipeline #30889 failed with stages
in 18 minutes and 46 seconds
......@@ -50,14 +50,15 @@ function c50224080.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,50224080)>0 and Duel.GetFlagEffect(tp,50224080+1)==0 end
Duel.RegisterFlagEffect(tp,50224080+1,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
function c50224080.ckfilter(c,tp)
return c:IsSetCard(0x3cb1) and c:IsPreviousControler(tp)
end
function c50224080.checkop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(Card.IsSetCard,1,nil,0x3cb1) then
if eg:IsExists(c50224080.ckfilter,1,nil,tp) then
if Duel.GetTurnPlayer()==tp then
Duel.RegisterFlagEffect(tp,50224080,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(1-tp,50224080,RESET_PHASE+PHASE_END,0,1)
elseif Duel.GetTurnPlayer()==1-tp then
Duel.RegisterFlagEffect(tp,50224080,RESET_PHASE+PHASE_END,0,2)
Duel.RegisterFlagEffect(1-tp,50224080,RESET_PHASE+PHASE_END,0,2)
end
end
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