Commit bc4bac19 authored by POLYMER's avatar POLYMER

fix

parent 4b09ca44
......@@ -12,9 +12,9 @@ function cm.initial_effect(c)
e0:SetCode(EFFECT_SPSUMMON_PROC)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetRange(LOCATION_EXTRA)
e0:SetCondition(cm.SynMixCondition(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),minc,maxc,gc))
e0:SetTarget(cm.SynMixTarget(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),minc,maxc,gc))
e0:SetOperation(cm.SynMixOperation(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),minc,maxc,gc))
e0:SetCondition(cm.SynMixCondition(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),1,99,gc))
e0:SetTarget(cm.SynMixTarget(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),1,99,gc))
e0:SetOperation(cm.SynMixOperation(aux.FilterBoolFunction(Card.IsSetCard,0xf33),nil,nil,aux.NonTuner(Card.IsSynchroType,TYPE_MONSTER),1,99,gc))
e0:SetValue(SUMMON_TYPE_SYNCHRO)
c:RegisterEffect(e0)
--pendulum summon
......
......@@ -20,7 +20,7 @@ if not cm.jjygone then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._send_to_hand(ac,tp,rea,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._send_to_hand(c,tp,rea,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygtwo then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) and (c:IsLocation(LOCATION_DECK) or c:IsLocation(LOCATION_EXTRA)) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._special_summon(ac,way,tp1,tp2,tf1,tf2,pos,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._special_summon(c,way,tp1,tp2,tf1,tf2,pos,...)
......@@ -31,7 +31,7 @@ if not cm.jjygtwo then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) and (c:IsLocation(LOCATION_DECK) or c:IsLocation(LOCATION_EXTRA)) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._special_summon_step(ac,way,tp1,tp2,tf1,tf2,pos,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._special_summon_step(c,way,tp1,tp2,tf1,tf2,pos,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygthree then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._remove(ac,pos,rea,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._remove(c,pos,rea,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygfour then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._destroy(ac,rea,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._destroy(c,rea,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygfive then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) and (c:IsLocation(LOCATION_HAND) or c:IsLocation(LOCATION_GRAVE)) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._special_summon(ac,way,tp1,tp2,tf1,tf2,pos,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._special_summon(c,way,tp1,tp2,tf1,tf2,pos,...)
......@@ -31,7 +31,7 @@ if not cm.jjygfive then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) and (c:IsLocation(LOCATION_HAND) or c:IsLocation(LOCATION_GRAVE)) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._special_summon_step(ac,way,tp1,tp2,tf1,tf2,pos,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._special_summon_step(c,way,tp1,tp2,tf1,tf2,pos,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygsix then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._release(ac,rea,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._release(c,rea,...)
......
......@@ -20,7 +20,7 @@ if not cm.jjygseven then
if Duel.GetFlagEffect(tp,m)~=0 and Duel.IsExistingMatchingCard(cm.fil,tp,LOCATION_DECK,0,1,nil) then
local ac=Duel.SelectMatchingCard(tp,cm.fil,tp,LOCATION_DECK,0,1,1,nil)
cm._send_to_grave(ac,rea,...)
Duel.ResetFlagEffect(tp,m)
--Duel.ResetFlagEffect(tp,m)
Duel.Hint(HINT_CARD,0,m)
else
cm._send_to_grave(c,rea,...)
......
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