Commit 1f6b0616 authored by Huangnan's avatar Huangnan

fix

parent b631bbd8
...@@ -76,10 +76,10 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,10 +76,10 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end end
function cm.filter2(c) function cm.filter2(c)
return c:GetType()==TYPE_TRAP or (c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable() and (c:GetOriginalLevel()>0 or bit.band(c:GetOriginalRace(),0x3fffffff)~=0 return (c:GetType()==TYPE_TRAP or (c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS))) and c:IsSSetable() and (c:GetOriginalLevel()>0 or bit.band(c:GetOriginalRace(),0x3fffffff)~=0
or bit.band(c:GetOriginalAttribute(),0x7f)~=0 or bit.band(c:GetOriginalAttribute(),0x7f)~=0
or c:GetBaseAttack()>0 or c:GetBaseAttack()>0
or c:GetBaseDefense()>0)) or c:GetBaseDefense()>0)
end end
function cm.tg1(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
......
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