Commit 648b449e authored by DailyShana's avatar DailyShana

fix

parent 913cd7f9
......@@ -54,13 +54,12 @@ function c51670553.skipop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_SZONE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(0,1)
e1:SetCode(EFFECT_SKIP_DP)
e1:SetCondition(c51670553.skipdp)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_DRAW+RESET_OPPO_TURN)
e:GetHandler():RegisterEffect(e1)
e1:SetReset(RESET_PHASE+PHASE_DRAW+RESET_OPPO_TURN)
Duel.RegisterEffect(e1,tp)
end
function c51670553.skipdp(e)
local tc=e:GetHandler():GetFirstCardTarget()
......
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