Commit 196edc99 authored by Tachibana's avatar Tachibana

1145141919810

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