Commit 14e9ec3f authored by wind2009's avatar wind2009

Fix

parent 898e36a6
Pipeline #36040 passed with stages
in 1 minute and 28 seconds
...@@ -48,7 +48,7 @@ function s.atktg(e,c) ...@@ -48,7 +48,7 @@ function s.atktg(e,c)
return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_WIND) return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_WIND)
end end
function s.cfilter(c) function s.cfilter(c)
return (c:IsRace(RACE_DRAGON) and c:IsLevelAbove(7) or c:IsAttribute(ATTRIBUTE_WIND)) and c:IsAbleToRemoveAsCost() return c:IsRace(RACE_DRAGON) and (c:IsLevelAbove(7) or c:IsAttribute(ATTRIBUTE_WIND)) and c:IsAbleToRemoveAsCost()
end end
function s.fselect(g,tg) function s.fselect(g,tg)
return tg:IsExists(Card.IsLevel,1,nil,#g) return tg:IsExists(Card.IsLevel,1,nil,#g)
......
...@@ -45,13 +45,13 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,13 +45,13 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE) e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1,true)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT) e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET) e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2) tc:RegisterEffect(e2,true)
tc=sg1:GetNext() tc=sg1:GetNext()
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
......
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