Commit 396e1bd8 authored by Huangnan's avatar Huangnan

效果和lua不符修正

parent 7e036834
...@@ -39,10 +39,20 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,10 +39,20 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) function s.disop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local g=Duel.GetMatchingGroup(aux.NegateMonsterFilter,tp,0,LOCATION_MZONE,nil)
e1:SetType(EFFECT_TYPE_FIELD) local tc=g:GetFirst()
e1:SetCode(EFFECT_DISABLE) while tc do
e1:SetTargetRange(0,LOCATION_MZONE) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY,2) e1:SetType(EFFECT_TYPE_SINGLE)
Duel.RegisterEffect(e1,tp) e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY,2)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY,2)
tc:RegisterEffect(e2)
tc=g:GetNext()
end
end end
\ No newline at end of file
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