Commit b1479ea9 authored by 八宫一月's avatar 八宫一月

fix

parent ca9d6e4e
Pipeline #42076 failed with stages
in 2 minutes and 14 seconds
...@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.Destroy(g,REASON_EFFECT)>0 then if Duel.Destroy(g,REASON_EFFECT)>0 then
Duel.BreakEffect() Duel.BreakEffect()
local g1=Duel.GetMatchingGroup(Card.IsType,p1,LOCATION_DECK,0,nil,TYPE_MONSTER) local g1=Duel.GetMatchingGroup(Card.IsType,p1,LOCATION_DECK,0,nil,TYPE_MONSTER)
local g2=Duel.GetMatchingGroup(Card.IsType,p2,0,LOCATION_DECK,nil,TYPE_MONSTER) local g2=Duel.GetMatchingGroup(Card.IsType,p2,LOCATION_DECK,0,nil,TYPE_MONSTER)
local b1=#g1>0 and Duel.Remove(g1,POS_FACEDOWN,REASON_EFFECT,p1)>0 local b1=#g1>0 and Duel.Remove(g1,POS_FACEDOWN,REASON_EFFECT,p1)>0
local b2=#g2>0 and Duel.Remove(g2,POS_FACEDOWN,REASON_EFFECT,p2)>0 local b2=#g2>0 and Duel.Remove(g2,POS_FACEDOWN,REASON_EFFECT,p2)>0
if (b1 or b2) and Duel.GetLocationCount(p1,LOCATION_MZONE)>0 if (b1 or b2) and Duel.GetLocationCount(p1,LOCATION_MZONE)>0
......
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