Commit e11261d6 authored by wyykak's avatar wyykak

fix 86379676

parent 44da3922
...@@ -150,7 +150,8 @@ function c86379676.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -150,7 +150,8 @@ function c86379676.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,86379676)>=4 or Duel.GetFlagEffect(tp,86379670)>0 or Duel.GetFlagEffect(tp,86379685)>0 then if Duel.GetFlagEffect(tp,86379676)>=4 or Duel.GetFlagEffect(tp,86379670)>0 or Duel.GetFlagEffect(tp,86379685)>0 then
Duel.ResetFlagEffect(tp,86379670) Duel.ResetFlagEffect(tp,86379670)
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
Duel.Release(c,REASON_EFFECT) local rg=Duel.GetMatchingGroup(Card.IsReleasable,tp,LOCATION_PZONE,0,nil)
Duel.Release(rg,REASON_EFFECT)
local g=Duel.GetMatchingGroup(c86379676.filter,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(c86379676.filter,tp,LOCATION_EXTRA,0,nil)
if g:GetCount()>0 and ft>0 then if g:GetCount()>0 and ft>0 then
while g:GetCount()>0 and ft>0 do while g:GetCount()>0 and ft>0 do
...@@ -184,7 +185,8 @@ function c86379676.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -184,7 +185,8 @@ function c86379676.operation(e,tp,eg,ep,ev,re,r,rp)
end end
else else
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
Duel.Release(c,REASON_EFFECT) local rg=Duel.GetMatchingGroup(Card.IsReleasable,tp,LOCATION_PZONE,0,nil)
Duel.Release(rg,REASON_EFFECT)
local g=Duel.GetMatchingGroup(c86379676.filter,tp,LOCATION_EXTRA,0,nil) local g=Duel.GetMatchingGroup(c86379676.filter,tp,LOCATION_EXTRA,0,nil)
if g:GetCount()>0 and ft>0 then if g:GetCount()>0 and ft>0 then
while g:GetCount()>0 and ft>0 do while g:GetCount()>0 and ft>0 do
......
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