Commit da8344b8 authored by Nemo Ma's avatar Nemo Ma

fix

parent 20f7a23e
...@@ -17,16 +17,15 @@ function c33711004.initial_effect(c) ...@@ -17,16 +17,15 @@ function c33711004.initial_effect(c)
ge1:SetCode(EVENT_DRAW) ge1:SetCode(EVENT_DRAW)
ge1:SetOperation(c33711004.checkop) ge1:SetOperation(c33711004.checkop)
Duel.RegisterEffect(ge1,0) Duel.RegisterEffect(ge1,0)
local ge2=ge1:Clone()
ge2:SetCode(EVENT_SPSUMMON_SUCCESS)
Duel.RegisterEffect(ge2,0)
end end
end end
function c33711004.checkop(e,tp,eg,ep,ev,re,r,rp) function c33711004.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
while tc do if Duel.GetCurrentPhase()~=PHASE_DRAW then
Duel.RegisterFlagEffect(tc:GetControler(),33711004,RESET_PHASE+PHASE_END,0,1) while tc do
tc=eg:GetNext() Duel.RegisterFlagEffect(tc:GetControler(),33711004,RESET_PHASE+PHASE_END,0,1)
tc=eg:GetNext()
end
end end
end end
function c33711004.condition(e,tp,eg,ep,ev,re,r,rp) function c33711004.condition(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -57,7 +57,7 @@ end ...@@ -57,7 +57,7 @@ end
function cm.spop(e,tp,eg,ep,ev,re,r,rp) function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not cm.spfilter(c,e,tp) then return false end if not cm.spfilter(c,e,tp) then return false end
if not Duel.IsPlayerCanSpecialSummonCount(tp,2) or Duel.IsPlayerAffectedByEffect(tp,59822133) then return end if Duel.IsPlayerAffectedByEffect(tp,59822133) then return end
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(cm.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,c,e,tp) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(cm.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,c,e,tp)
local cg=Duel.GetMatchingGroup(cm.chkfilter,tp,LOCATION_EXTRA,0,nil,tp) local cg=Duel.GetMatchingGroup(cm.chkfilter,tp,LOCATION_EXTRA,0,nil,tp)
......
...@@ -5,7 +5,7 @@ function c9911252.initial_effect(c) ...@@ -5,7 +5,7 @@ function c9911252.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
--atk up --atk up
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
......
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