Commit 6f164c78 authored by DailyShana's avatar DailyShana

fix

parent 41b3288e
...@@ -41,13 +41,14 @@ function c12385638.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,13 +41,14 @@ function c12385638.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function c12385638.valcon(e,re,r,rp,rc) function c12385638.valcon(e,re,r,rp,rc)
local tp=e:GetHandlerPlayer() if bit.band(r,REASON_BATTLE)~=0 then
local bc=rc:GetBattleTarget() local tp=e:GetHandlerPlayer()
if bit.band(r,REASON_BATTLE)~=0 and bc and bc:IsSetCard(0xd2) and bc:IsControler(tp) local bc=rc:GetBattleTarget()
and Duel.GetFlagEffect(tp,12385638)==0 then if bc and bc:IsSetCard(0xd2) and bc:IsControler(tp)
Duel.RegisterFlagEffect(tp,12385638,RESET_PHASE+PHASE_END,0,1) and Duel.GetFlagEffect(tp,12385638)==0 then
return true Duel.RegisterFlagEffect(tp,12385638,RESET_PHASE+PHASE_END,0,1)
else return true
return false end
end end
return false
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