Commit d104b950 authored by nekrozar's avatar nekrozar Committed by nanahira

fix Metaphys Ragnarok and so on (#1052)

* fix

* fix
parent 611974a2
......@@ -34,7 +34,9 @@ end
function c19476824.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetDecktopGroup(tp,3)
if g:GetCount()>0 and Duel.Remove(g,POS_FACEUP,REASON_EFFECT)~=0
if #g<=0 then return end
Duel.DisableShuffleCheck()
if Duel.Remove(g,POS_FACEUP,REASON_EFFECT)~=0
and c:IsFaceup() and c:IsRelateToEffect(e) then
local og=Duel.GetOperatedGroup()
local oc=og:FilterCount(Card.IsSetCard,nil,0x105)
......
......@@ -32,6 +32,7 @@ function c24037702.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect()
local ol=tc:GetOriginalLevel()
local rg=Duel.GetDecktopGroup(tp,ol)
Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEUP,REASON_EFFECT)
end
end
......@@ -67,6 +67,7 @@ function c60431417.thop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and Duel.SendtoHand(tc,nil,REASON_EFFECT)>0 then
Duel.BreakEffect()
local rg=Duel.GetDecktopGroup(tp,4)
Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEUP,REASON_EFFECT)
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