Commit 1eb30870 authored by DailyShana's avatar DailyShana

fix

parent a9b0a071
...@@ -30,7 +30,7 @@ function c13536606.atkval(e,c) ...@@ -30,7 +30,7 @@ function c13536606.atkval(e,c)
return c:GetMutualLinkedGroupCount()*300 return c:GetMutualLinkedGroupCount()*300
end end
function c13536606.rfilter(c,tp,g) function c13536606.rfilter(c,tp,g)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetMZoneCount(tp,c)
local lk=math.min(3,ft) local lk=math.min(3,ft)
return c:IsFaceup() and c:IsType(TYPE_LINK) and c:IsLinkBelow(lk) and c:IsReleasableByEffect() and g:IsContains(c) return c:IsFaceup() and c:IsType(TYPE_LINK) and c:IsLinkBelow(lk) and c:IsReleasableByEffect() and g:IsContains(c)
and (ft==1 or not Duel.IsPlayerAffectedByEffect(tp,59822133)) and (ft==1 or not Duel.IsPlayerAffectedByEffect(tp,59822133))
......
...@@ -40,7 +40,7 @@ end ...@@ -40,7 +40,7 @@ end
function c57043986.negop(e,tp,eg,ep,ev,re,r,rp) function c57043986.negop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if ((tc:IsFaceup() and not tc:IsDisabled()) or tc:IsType(TYPE_TRAPMONSTER)) and tc:IsRelateToEffect(e) then if tc:IsFaceup() and not tc:IsDisabled() and tc:IsRelateToEffect(e) then
Duel.NegateRelatedChain(tc,RESET_TURN_SET) Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -52,11 +52,6 @@ function c57043986.negop(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,11 +52,6 @@ function c57043986.negop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_DISABLE_EFFECT) e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET) e2:SetValue(RESET_TURN_SET)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
if tc:IsType(TYPE_TRAPMONSTER) then
local e3=e1:Clone()
e3:SetCode(EFFECT_DISABLE_TRAPMONSTER)
tc:RegisterEffect(e3)
end
end end
end end
function c57043986.spcon(e,tp,eg,ep,ev,re,r,rp) function c57043986.spcon(e,tp,eg,ep,ev,re,r,rp)
......
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