Commit 196edc99 authored by Tachibana's avatar Tachibana

1145141919810

parent a6bd2066
Pipeline #14152 passed with stages
in 23 minutes and 12 seconds
......@@ -423,7 +423,6 @@ function Tenka.LamunationSpop(e,tp,eg,ep,ev,re,r,rp)
end
--
function Tenka.LamunationLimit(c,tp)
local c=e:GetHandler()
local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_FIELD)
ea:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c,e,tp,m)
if bit.band(c:GetType(),0x81)~=0x81 or not c:IsType(TYPE_PENDULUM)
or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
......
--双色之音
local m=81011116
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......@@ -23,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c)
return c:IsAttack(1550) and c:IsDefense(1050) and (c:IsAbleToHand() or c:IsAbleToGrave())
end
......
......@@ -25,10 +25,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.thfilter(c)
return c:IsCode(81011107) and c:IsAbleToHand()
end
......
......@@ -30,10 +30,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsAttack(1550) and c:IsDefense(1050)
and not c:IsStatus(STATUS_BATTLE_DESTROYED)
......
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.lvfilter(c)
return ((c:IsAttack(1550) and c:IsDefense(1050)) or (c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM))) and c:IsFaceup() and c:GetLevel()>0
end
......
......@@ -22,10 +22,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=0
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.splimit(e,se,sp,st)
return se:IsHasType(EFFECT_TYPE_ACTIONS)
end
......@@ -50,7 +46,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function cm.thfilter(c)
return cm.Mayumi(c) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
return c.Attack_Defense_Listed and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -14,10 +14,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c,e,tp,m)
if not (c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)) or bit.band(c:GetType(),0x81)~=0x81
or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
......
......@@ -23,10 +23,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return ep==tp and Duel.GetAttacker():IsControler(1-tp)
end
......
......@@ -28,10 +28,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -25,10 +25,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.tfilter(c,e,tp)
return c:IsAttack(1550) and c:IsDefense(1050) and c:IsCanBeSpecialSummoned(e,0x8,tp,false,false)
and not Duel.IsExistingMatchingCard(cm.bfilter,tp,LOCATION_ONFIELD,0,1,nil,c)
......
......@@ -22,10 +22,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local a=Duel.GetAttacker()
local d=Duel.GetAttackTarget()
......
......@@ -28,10 +28,6 @@ function cm.initial_effect(c)
Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,cm.counterfilter)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.counterfilter(c)
return c:GetAttack()==1550 and c:GetDefense()==1050
end
......
......@@ -23,10 +23,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -39,10 +39,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.spfilter(c,e,tp)
return c:IsAttack(1550) and c:IsDefense(1050) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -28,10 +28,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -27,10 +27,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
if not (ep==1-tp and Duel.IsChainDisablable(ev)) then return false end
if re:IsHasCategory(CATEGORY_NEGATE)
......
......@@ -37,10 +37,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c,tp)
return c:IsCode(81024000) and c:GetActivateEffect() and c:GetActivateEffect():IsActivatable(tp,true,true)
end
......
......@@ -22,10 +22,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter1(c,e,tp)
local lv=c:GetLevel()
return c:IsAttack(1550) and c:IsDefense(1050) and c:IsType(TYPE_SYNCHRO)
......
......@@ -25,10 +25,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c,e,tp)
return c:IsAttack(1550) and c:IsDefense(1050) and c:IsFaceup() and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter1(c,e,tp)
return c:IsSetCard(0x381f) and c:IsType(TYPE_TUNER) and c:IsAbleToRemove()
and Duel.IsExistingTarget(cm.filter2,tp,LOCATION_GRAVE,0,1,c,e,tp,c:GetLevel())
......
......@@ -25,10 +25,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.efilter(c)
return c:IsFaceup() and c:IsSetCard(0x381f)
end
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c)
return c:IsSetCard(0x381f) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
......
......@@ -25,10 +25,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.costfilter(c)
return c:IsSetCard(0x381f) and c:IsType(TYPE_MONSTER) and c:IsDiscardable()
end
......
......@@ -23,10 +23,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rsfilter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -15,10 +15,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_SUMMON)==0 and Duel.GetActivityCount(tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c,e,tp)
return ((c:IsLocation(LOCATION_GRAVE) and c:IsType(TYPE_LINK)) or (c:IsFaceup() and c:IsDefense(1050) and c:IsType(TYPE_RITUAL)))
and c:IsAttack(1550)
......
......@@ -27,10 +27,6 @@ function cm.initial_effect(c)
aux.EnableChangeCode(c,81041005,LOCATION_REMOVED)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rsfilter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rsfilter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
--GLORIOUS DAYS
local m=81041033
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c81000000") end,function() require("script/c81000000") end)
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,81041005)
--Activate
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rsfilter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e4)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c)
return (aux.IsCodeListed(c,81041005) or c:IsCode(81041005)) and not c:IsCode(m) and c:IsAbleToHand() and c:IsType(TYPE_SPELL+TYPE_TRAP)
end
......
......@@ -36,10 +36,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rsfilter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -28,10 +28,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.filter(c,e,tp)
return c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050)
end
......
......@@ -27,10 +27,6 @@ function cm.initial_effect(c)
end
cm.Attack_Defense_Listed=1
cm.toss_dice=true
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.cfilter(c)
return c:IsFaceup() and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM) and c:IsLevelAbove(13)
end
......
......@@ -27,10 +27,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.costfilter(c)
return (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050) and c:IsAbleToGraveAsCost()
end
......
......@@ -24,10 +24,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.rfilter(c,tp)
return c:GetBaseAttack()==1550 and c:IsType(TYPE_LINK) and (c:IsControler(tp) or c:IsFaceup())
end
......
......@@ -26,10 +26,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
cm.Attack_Defense_Listed=1
function cm.Mayumi(c)
local m=_G["c"..c:GetCode()]
return m and m.Attack_Defense_Listed
end
function cm.thfilter(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_PENDULUM) and c:IsAttack(1550) and c:IsDefense(1050) and c:IsAbleToHand()
end
......
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