Commit cd2be3b4 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent f45f5069
...@@ -26,10 +26,13 @@ function cm.initial_effect(c) ...@@ -26,10 +26,13 @@ function cm.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.rfilter(c)
return c:IsFaceup() and c:IsCode(26806009)
end
function cm.ntcon(e,c,minc) function cm.ntcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
return minc==0 and c:IsLevelAbove(5) and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 return minc==0 and c:IsLevelAbove(5) and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and Duel.IsEnvironment(26806009,tp) and Duel.IsExistingTarget(cm.rfilter,tp,LOCATION_ONFIELD,0,1,nil)
end end
function cm.ntop(e,tp,eg,ep,ev,re,r,rp,c) function cm.ntop(e,tp,eg,ep,ev,re,r,rp,c)
--atk --atk
......
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