Commit 9fbd6b41 authored by DailyShana's avatar DailyShana Committed by GitHub

Revert "fix Nine Branches of the Yang Zing" (#509)

parent 8d95e511
...@@ -30,6 +30,7 @@ end ...@@ -30,6 +30,7 @@ end
function c57831349.activate(e,tp,eg,ep,ev,re,r,rp) function c57831349.activate(e,tp,eg,ep,ev,re,r,rp)
local ec=re:GetHandler() local ec=re:GetHandler()
Duel.NegateActivation(ev) Duel.NegateActivation(ev)
if ec:IsRelateToEffect(re) then
ec:CancelToGrave() ec:CancelToGrave()
if Duel.SendtoDeck(ec,nil,2,REASON_EFFECT)~=0 and ec:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then if Duel.SendtoDeck(ec,nil,2,REASON_EFFECT)~=0 and ec:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then
local g=Duel.GetMatchingGroup(c57831349.desfilter,tp,LOCATION_ONFIELD,0,e:GetHandler()) local g=Duel.GetMatchingGroup(c57831349.desfilter,tp,LOCATION_ONFIELD,0,e:GetHandler())
...@@ -40,4 +41,5 @@ function c57831349.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,4 +41,5 @@ function c57831349.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(sg,REASON_EFFECT) Duel.Destroy(sg,REASON_EFFECT)
end end
end 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