Commit 9b03f9a4 authored by mercury233's avatar mercury233

fix

parent faf95800
...@@ -70,7 +70,7 @@ function c100200161.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -70,7 +70,7 @@ function c100200161.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c100200161.rmop(e,tp,eg,ep,ev,re,r,rp) function c100200161.rmop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if Duel.Remove(g,POS_FACEUP,REASON_EFFECT)~=0 then if Duel.Remove(g,POS_FACEUP,REASON_EFFECT+REASON_TEMPORARY)~=0 then
local c=e:GetHandler() local c=e:GetHandler()
local og=Duel.GetOperatedGroup() local og=Duel.GetOperatedGroup()
local fid=c:GetFieldID() local fid=c:GetFieldID()
......
...@@ -29,7 +29,7 @@ function c100200162.initial_effect(c) ...@@ -29,7 +29,7 @@ function c100200162.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c100200162.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c100200162.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and chkc:IsSummonType(SUMMON_TYPE_PENDULUM) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsSummonType(SUMMON_TYPE_PENDULUM) end
if chk==0 then return Duel.IsExistingTarget(Card.IsSummonType,tp,0,LOCATION_MZONE,1,nil,SUMMON_TYPE_PENDULUM) end if chk==0 then return Duel.IsExistingTarget(Card.IsSummonType,tp,0,LOCATION_MZONE,1,nil,SUMMON_TYPE_PENDULUM) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,Card.IsSummonType,tp,0,LOCATION_MZONE,1,1,nil,SUMMON_TYPE_PENDULUM) local g=Duel.SelectTarget(tp,Card.IsSummonType,tp,0,LOCATION_MZONE,1,1,nil,SUMMON_TYPE_PENDULUM)
......
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