Commit 8b28d3b0 authored by POLYMER's avatar POLYMER

fix

parent 6d5aa680
......@@ -86,15 +86,17 @@ end
function c20579535.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and c20579535.count>0 then
e:SetLabel(0)
while e:GetLabel()<c20579535.count do
e:SetLabel(e:GetLabel()+1)
Duel.Hint(HINT_CARD,0,c20579535[e:GetLabel()]:GetHandler():GetOriginalCode())
local te=c20579535[e:GetLabel()]:Clone()
local i=0
while i<c20579535.count do
i=i+1
Duel.Hint(HINT_CARD,0,c20579535[i]:GetHandler():GetOriginalCode())
local te=c20579535[i]:Clone()
local tg=te:GetTarget()
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
local op=te:GetOperation()
if not tg or tg(effect,tp,eg,ep,ev,re,r,rp,0) then
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
if op then op(e,tp,eg,ep,ev,re,r,rp) end
end
end
end
end
......@@ -6,6 +6,13 @@ function cm.initial_effect(c)
aux.AddFusionProcFunRep(c,cm.matfilter,3,true)
c:EnableReviveLimit()
aux.AddContactFusionProcedure(c,cm.cfilter,LOCATION_MZONE+LOCATION_GRAVE+LOCATION_HAND,0,aux.tdcfop(c)):SetValue(SUMMON_VALUE_SELF)
--
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
e0:SetValue(cm.splimit11)
c:RegisterEffect(e0)
--battle indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -44,6 +51,9 @@ function cm.initial_effect(c)
e4:SetTarget(cm.destg)
e4:SetOperation(cm.desop)
c:RegisterEffect(e4)
end
function cm.splimit11(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end
function cm.matfilter(c)
return c:IsFusionSetCard(0x11a) and c:IsFusionType(TYPE_MONSTER)
......
......@@ -117,9 +117,9 @@ function c71401020.op2(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local dg1=Duel.SelectMatchingCard(c71401020.filter2,tp,LOCATION_ONFIELD,0,ct,ct,nil)
local dg1=Duel.SelectMatchingCard(tp,c71401020.filter2,tp,LOCATION_ONFIELD,0,ct,ct,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local dg2=Duel.SelectMatchingCard(c71401020.filter2,tp,0,LOCATION_ONFIELD,ct,ct,nil)
local dg2=Duel.SelectMatchingCard(tp,c71401020.filter2,tp,0,LOCATION_ONFIELD,ct,ct,nil)
dg1:Merge(dg2)
local c=e:GetHandler()
for tc in aux.Next(dg1) do
......
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