Commit 15516710 authored by nanahira's avatar nanahira

fix

parent c626816e
...@@ -49,8 +49,7 @@ function c53334471.acttg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -49,8 +49,7 @@ function c53334471.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c53334471.sumlimit(e,c,sump,sumtype,sumpos,targetp) function c53334471.sumlimit(e,c,sump,sumtype,sumpos,targetp)
if sumpos and bit.band(sumpos,POS_FACEDOWN)>0 then return false end if sumpos and bit.band(sumpos,POS_FACEDOWN)>0 then return false end
local at=c53334471[sump] local at=c53334471.getattribute(Duel.GetMatchingGroup(Card.IsFaceup,targetp or sump,LOCATION_MZONE,0,nil))
if targetp then at=c53334471[targetp] end
if at==0 then return false end if at==0 then return false end
return c:GetAttribute()~=at return c:GetAttribute()~=at
end end
......
...@@ -50,8 +50,7 @@ function c90846359.acttg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -50,8 +50,7 @@ function c90846359.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c90846359.sumlimit(e,c,sump,sumtype,sumpos,targetp) function c90846359.sumlimit(e,c,sump,sumtype,sumpos,targetp)
if sumpos and bit.band(sumpos,POS_FACEDOWN)>0 then return false end if sumpos and bit.band(sumpos,POS_FACEDOWN)>0 then return false end
local rc=c90846359[sump] local rc=c53334471.getrace(Duel.GetMatchingGroup(Card.IsFaceup,targetp or sump,LOCATION_MZONE,0,nil))
if targetp then rc=c90846359[targetp] end
if rc==0 then return false end if rc==0 then return false end
return c:GetRace()~=rc return c:GetRace()~=rc
end end
......
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