Commit 1c1be7b7 authored by salix5's avatar salix5

Merge pull request #21 from DailyShana/patch-2

fix
parents 40a1986b 41dcda66
...@@ -26,9 +26,11 @@ function c13210191.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -26,9 +26,11 @@ function c13210191.activate(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetMatchingGroup(c13210191.filter,tp,LOCATION_ONFIELD,0,e:GetHandler()) local g1=Duel.GetMatchingGroup(c13210191.filter,tp,LOCATION_ONFIELD,0,e:GetHandler())
local ct1=Duel.Destroy(g1,REASON_EFFECT) local ct1=Duel.Destroy(g1,REASON_EFFECT)
if ct1==0 then return end if ct1==0 then return end
Duel.BreakEffect()
local g2=Duel.GetMatchingGroup(c13210191.filter,tp,0,LOCATION_ONFIELD,nil) local g2=Duel.GetMatchingGroup(c13210191.filter,tp,0,LOCATION_ONFIELD,nil)
if g2:GetCount()<=ct1 then local ct2=g2:GetCount()
if ct2==0 then return end
Duel.BreakEffect()
if ct2<=ct1 then
Duel.Destroy(g2,REASON_EFFECT) Duel.Destroy(g2,REASON_EFFECT)
else else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
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