Commit b467878b authored by POLYMER's avatar POLYMER

fix

parent 2557d27d
...@@ -27,8 +27,7 @@ end ...@@ -27,8 +27,7 @@ end
function c65820050.spfilter(c,e,tp) function c65820050.spfilter(c,e,tp)
return c:IsCode(65820000,65820005) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(65820000,65820005) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and aux.NecroValleyFilter()
aux.NecroValleyFilter()
end end
function c65820050.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65820050.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -24,7 +24,7 @@ function c98920755.initial_effect(c) ...@@ -24,7 +24,7 @@ function c98920755.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c98920755.cfilter(c) function c98920755.cfilter(c)
return c:IsSetCard(0x105) and c:IsAbleToRemoveAsCost() and not c:IsCode(98920755) return c:IsSetCard(0x105) and c:IsAbleToRemoveAsCost() and not c:IsCode(98920755) and c:IsType(TYPE_MONSTER)
end end
function c98920755.spcon1(e,tp,eg,ep,ev,re,r,rp) function c98920755.spcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0
......
...@@ -45,9 +45,9 @@ function c9911429.imcon(e) ...@@ -45,9 +45,9 @@ function c9911429.imcon(e)
return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_MZONE,0)>1 and e:GetHandler():GetFlagEffect(9911429)==0 return Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_MZONE,0)>1 and e:GetHandler():GetFlagEffect(9911429)==0
end end
function c9911429.imval(e,te) function c9911429.imval(e,te)
local res=te:IsActivated() if te:GetOwnerPlayer()==e:GetHandlerPlayer() or not te:IsActivated() then return false end
if res then e:GetHandler():RegisterFlagEffect(9911429,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) end e:GetHandler():RegisterFlagEffect(9911429,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
return res return true
end end
function c9911429.atkop(e,tp,eg,ep,ev,re,r,rp) function c9911429.atkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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