Commit 770991cb authored by 聖園ミカ's avatar 聖園ミカ 🐟

reclean

parent 18c8b89f
Pipeline #26006 passed with stages
in 22 minutes and 18 seconds
...@@ -28,8 +28,8 @@ function cm.initial_effect(c) ...@@ -28,8 +28,8 @@ function cm.initial_effect(c)
e3:SetTarget(cm.spftg) e3:SetTarget(cm.spftg)
e3:SetOperation(cm.spfop) e3:SetOperation(cm.spfop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
cm.treat_itself_tuner=true
--SpecialSummon --SpecialSummon
function cm.cfilter(c,tp) function cm.cfilter(c,tp)
return (c:IsControler(tp) and c:IsPreviousLocation(LOCATION_HAND)) or (c:IsControler(1-tp) and c:IsPreviousLocation(LOCATION_ONFIELD)) return (c:IsControler(tp) and c:IsPreviousLocation(LOCATION_HAND)) or (c:IsControler(1-tp) and c:IsPreviousLocation(LOCATION_ONFIELD))
......
...@@ -31,6 +31,7 @@ function c10969991.initial_effect(c) ...@@ -31,6 +31,7 @@ function c10969991.initial_effect(c)
e2:SetOperation(c10969991.desop) e2:SetOperation(c10969991.desop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c10969991.treat_itself_tuner=true
function c10969991.ffilter(c) function c10969991.ffilter(c)
return c:IsRace(RACE_MACHINE) and c:IsFusionType(TYPE_FUSION) return c:IsRace(RACE_MACHINE) and c:IsFusionType(TYPE_FUSION)
end end
......
...@@ -33,6 +33,7 @@ function cm.initial_effect(c) ...@@ -33,6 +33,7 @@ function cm.initial_effect(c)
e6:SetValue(1) e6:SetValue(1)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
cm.treat_itself_tuner=true
function cm.atklimit(e,tp,eg,ep,ev,re,r,rp) function cm.atklimit(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -23,6 +23,7 @@ function cm.initial_effect(c) ...@@ -23,6 +23,7 @@ function cm.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
cm.treat_itself_tuner=true
function cm.cfilter(c) function cm.cfilter(c)
return c:IsFaceup() and c:IsType(TYPE_SYNCHRO) return c:IsFaceup() and c:IsType(TYPE_SYNCHRO)
end end
......
...@@ -28,6 +28,7 @@ function cm.initial_effect(c) ...@@ -28,6 +28,7 @@ function cm.initial_effect(c)
Duel.AddCustomActivityCounter(m,ACTIVITY_SUMMON,cm.counterfilter) Duel.AddCustomActivityCounter(m,ACTIVITY_SUMMON,cm.counterfilter)
Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,cm.counterfilter) Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,cm.counterfilter)
end end
cm.treat_itself_tuner=true
function cm.counterfilter(c) function cm.counterfilter(c)
return c:IsRace(RACE_FAIRY) return c:IsRace(RACE_FAIRY)
end end
......
...@@ -40,6 +40,7 @@ function cm.initial_effect(c) ...@@ -40,6 +40,7 @@ function cm.initial_effect(c)
e3:SetOperation(cm.operation) e3:SetOperation(cm.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
cm.treat_itself_tuner=true
function cm.cfilter(c,tp) function cm.cfilter(c,tp)
return c:IsAttribute(ATTRIBUTE_WATER) and c:IsPreviousLocation(LOCATION_GRAVE) return c:IsAttribute(ATTRIBUTE_WATER) and c:IsPreviousLocation(LOCATION_GRAVE)
and c:IsPreviousControler(tp) and c:IsPreviousControler(tp)
......
...@@ -31,6 +31,7 @@ function c9910070.initial_effect(c) ...@@ -31,6 +31,7 @@ function c9910070.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(9910070,ACTIVITY_CHAIN,c9910070.chainfilter) Duel.AddCustomActivityCounter(9910070,ACTIVITY_CHAIN,c9910070.chainfilter)
end end
c9910070.treat_itself_tuner=true
function c9910070.chainfilter(re,tp,cid) function c9910070.chainfilter(re,tp,cid)
return not (re:GetHandler():IsRace(RACE_FAIRY) and re:IsActiveType(TYPE_MONSTER) return not (re:GetHandler():IsRace(RACE_FAIRY) and re:IsActiveType(TYPE_MONSTER)
and Duel.GetChainInfo(cid,CHAININFO_TRIGGERING_LOCATION)==LOCATION_HAND) and Duel.GetChainInfo(cid,CHAININFO_TRIGGERING_LOCATION)==LOCATION_HAND)
......
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