Commit f44d5273 authored by POLYMER's avatar POLYMER

fix

parent 3111787a
......@@ -84,6 +84,10 @@ function c11560715.ovop(e,tp,eg,ep,ev,re,r,rp)
local tc=og:GetFirst()
if tc and not tc:IsImmuneToEffect(e) then
tc:CancelToGrave()
local og=tc:GetOverlayGroup()
if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
Duel.Overlay(c,tc) end
end
if c:IsRelateToEffect(e) then
......@@ -133,6 +137,10 @@ function c11560715.xxop(e,tp,eg,ep,ev,re,r,rp)
local oc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11560715.mxfilter),tp,LOCATION_GRAVE+LOCATION_ONFIELD,LOCATION_GRAVE+LOCATION_ONFIELD,1,1,c):GetFirst()
if oc and not oc:IsImmuneToEffect(e) then
oc:CancelToGrave()
local og=oc:GetOverlayGroup()
if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
Duel.Overlay(c,oc)
end
end
......@@ -141,6 +149,10 @@ function c11560715.xxop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect()
local oc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c11560715.gsfilter),tp,LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,1,1,c):GetFirst()
if oc and not oc:IsImmuneToEffect(e) then
local og=oc:GetOverlayGroup()
if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
Duel.Overlay(c,oc)
end
end
......
......@@ -125,7 +125,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToHand,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
--Duel.ConfirmCards(1-tp,g)
res=res+1
end
end
......
......@@ -2,7 +2,7 @@
function c9911464.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
......
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