Commit f5d8ed05 authored by DailyShana's avatar DailyShana

fix 白銀のバリア-シルバーフォース-

parent bf0a7792
...@@ -25,13 +25,17 @@ function c89563150.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -25,13 +25,17 @@ function c89563150.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
local g=Duel.GetMatchingGroup(c89563150.dfilter,tp,0,LOCATION_ONFIELD,nil) local g=Duel.GetMatchingGroup(c89563150.dfilter,tp,0,LOCATION_ONFIELD,nil)
g:Merge(eg) if re:GetHandler():IsRelateToEffect(re) then
g:Merge(eg)
end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,g:GetCount(),0,0)
end end
function c89563150.disop(e,tp,eg,ep,ev,re,r,rp) function c89563150.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) then if Duel.NegateActivation(ev) then
local g=Duel.GetMatchingGroup(c89563150.dfilter,tp,0,LOCATION_ONFIELD,nil) local g=Duel.GetMatchingGroup(c89563150.dfilter,tp,0,LOCATION_ONFIELD,nil)
g:Merge(eg) if re:GetHandler():IsRelateToEffect(re) then
g:Merge(eg)
end
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,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