Commit a34a8673 authored by nanahira's avatar nanahira

prevent errors

parent e3ce81f4
...@@ -11,7 +11,7 @@ function c31531170.initial_effect(c) ...@@ -11,7 +11,7 @@ function c31531170.initial_effect(c)
end end
function c31531170.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c31531170.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false end
if chk==0 then return PENDULUM_CHECKLIST&(0x1<<tp)~=0 and Duel.IsExistingTarget(nil,tp,0,LOCATION_PZONE,2,nil) end if chk==0 then return PENDULUM_CHECKLIST and PENDULUM_CHECKLIST&(0x1<<tp)~=0 and Duel.IsExistingTarget(nil,tp,0,LOCATION_PZONE,2,nil) end
local g=Duel.GetFieldGroup(tp,0,LOCATION_PZONE) local g=Duel.GetFieldGroup(tp,0,LOCATION_PZONE)
Duel.SetTargetCard(g) Duel.SetTargetCard(g)
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