Commit b4da39f5 authored by wind2009's avatar wind2009

Fix スキャッター・フュージョン

parent a8f2f23e
...@@ -31,7 +31,6 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,6 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0 return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0
end end
function s.fusfilter(c) function s.fusfilter(c)
return c:IsSetCard(0x1047) and not c:IsRace(RACE_ROCK) return c:IsSetCard(0x1047) and not c:IsRace(RACE_ROCK)
end end
...@@ -57,8 +56,9 @@ function s.splimit(e,c) ...@@ -57,8 +56,9 @@ function s.splimit(e,c)
end end
function s.desop(e,tp,eg,ep,ev,re,r,rp) function s.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetHandler():GetFirstCardTarget() local tg=e:GetHandler():GetCardTarget()
if tc and tc:IsLocation(LOCATION_MZONE) then if tg then
Duel.Destroy(tc,REASON_EFFECT) tg=tg:Filter(Card.IsLocation,nil,LOCATION_MZONE)
Duel.Destroy(tg,REASON_EFFECT)
end end
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