Commit cc5916df authored by mercury233's avatar mercury233

fix

parent 7153e87b
...@@ -27,7 +27,7 @@ end ...@@ -27,7 +27,7 @@ end
function c101009024.spcon(e,tp,eg,ep,ev,re,r,rp) function c101009024.spcon(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if not a or not b then return false end if not a or not d then return false end
if a:IsControler(1-tp) then return d:IsFaceup() if a:IsControler(1-tp) then return d:IsFaceup()
else return a:IsFaceup() end else return a:IsFaceup() end
end end
......
...@@ -67,7 +67,7 @@ function c101009027.splimit(e,c,tp,sumtp,sumpos) ...@@ -67,7 +67,7 @@ function c101009027.splimit(e,c,tp,sumtp,sumpos)
return c~=e:GetHandler() return c~=e:GetHandler()
end end
function c101009027.tdfilter(c) function c101009027.tdfilter(c)
return (not c:IsLocation(LOCATION_REMOVED) or c:IsFaceup()) and c:IsAbleToDeck() return (not c:IsLocation(LOCATION_REMOVED) or c:IsFaceup()) and c:IsAbleToDeck() and c:IsType(TYPE_MONSTER)
end end
function c101009027.tdtg(e,tp,eg,ep,ev,re,r,rp,chk) function c101009027.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true 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