Commit eeb997fe authored by mercury233's avatar mercury233 Committed by GitHub

update using of AddCodeList (#1700)

* add missing code list

* auto AddCodeList when using EnableChangeCode
parent 487db0d1
--古代の機械素体
function c1278431.initial_effect(c)
aux.AddCodeList(c,83104731)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1278431,0))
......
--パーシアスの神域
function c15449853.initial_effect(c)
aux.AddCodeList(c,56433456)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......
--竜魔道騎士ガイア
function c15989522.initial_effect(c)
aux.AddCodeList(c,66889139)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xbd),c15989522.ffilter2,true)
......
--青眼の混沌龍
function c20654247.initial_effect(c)
aux.AddCodeList(c,89631139)
c:EnableReviveLimit()
--spsummon condition
local e1=Effect.CreateEffect(c)
......
--ワイトメア
function c22339232.initial_effect(c)
aux.AddCodeList(c,32274490)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--to grave
......
......@@ -3,7 +3,6 @@ function c2519690.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xbd),aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),true)
aux.AddCodeList(c,66889139)
--change name
aux.EnableChangeCode(c,66889139)
--search
......
--黒衣竜アルビオン
function c25451383.initial_effect(c)
aux.AddCodeList(c,68468459)
--change name
aux.EnableChangeCode(c,68468459,LOCATION_MZONE+LOCATION_GRAVE)
--to grave
......
--正義の味方 カイバーマン
function c34627841.initial_effect(c)
aux.AddCodeList(c,89631139)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34627841,0))
......
--マジシャン・オブ・ブラック・イリュージョン
function c35191415.initial_effect(c)
aux.AddCodeList(c,46986414)
--change name
aux.EnableChangeCode(c,46986414)
--spsummon (self)
......
--古代の機械超巨人
function c37663536.initial_effect(c)
aux.AddCodeList(c,83104731)
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x7),3,true)
--multi attack
......
--ブレイク・ザ・デステニー
function c4008212.initial_effect(c)
aux.AddCodeList(c,76263644)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4008212,0))
......
--ワイト夫人
function c40991587.initial_effect(c)
aux.AddCodeList(c,32274490)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--battle indestructable
......
--トゥーン・キングダム
function c43175858.initial_effect(c)
aux.AddCodeList(c,15259703)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
......
--鉄の檻
function c45072394.initial_effect(c)
aux.AddCodeList(c,72283691)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......
--白き霊龍
function c45467446.initial_effect(c)
aux.AddCodeList(c,89631139)
--Normal monster
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
--マジシャン・オブ・カオス
function c47963370.initial_effect(c)
aux.AddCodeList(c,46986414)
c:EnableReviveLimit()
--change name
aux.EnableChangeCode(c,46986414,LOCATION_MZONE+LOCATION_GRAVE)
......
--人造人間-サイコ・ジャッカー
function c51916032.initial_effect(c)
aux.AddCodeList(c,77585513)
--change
aux.EnableChangeCode(c,77585513,LOCATION_MZONE+LOCATION_GRAVE)
--tohand
......
--青眼の光龍
function c53347303.initial_effect(c)
aux.AddCodeList(c,23995346)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
......
--ブルーアイズ・ソリッド・ドラゴン
function c57043986.initial_effect(c)
aux.AddCodeList(c,89631139)
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(57043986,0))
......
--ワイトプリンス
function c57473560.initial_effect(c)
aux.AddCodeList(c,32274490)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--to grave
......
--ワイトベイキング
function c6128460.initial_effect(c)
aux.AddCodeList(c,32274490)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--destroy replace
......
--深淵の青眼龍
function c64202399.initial_effect(c)
aux.AddCodeList(c,89631139)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64202399,0))
......
--E・HERO アナザー・ネオス
function c69884162.initial_effect(c)
aux.AddCodeList(c,89943723)
aux.EnableDualAttribute(c)
--code
aux.EnableChangeCode(c,89943723,LOCATION_MZONE,aux.IsDualState)
......
--白竜の聖騎士
function c73398797.initial_effect(c)
aux.AddCodeList(c,89631139)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
......
--幽獄の時計塔
function c75041269.initial_effect(c)
aux.AddCodeList(c,76263644)
aux.AddSetNameMonsterList(c,0xc008)
c:EnableCounterPermit(0x1b)
--Activate
local e1=Effect.CreateEffect(c)
......
--伝説の白石
function c79814787.initial_effect(c)
aux.AddCodeList(c,89631139)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(79814787,0))
......
--青き眼の乙女
function c88241506.initial_effect(c)
aux.AddCodeList(c,89631139)
--negate attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88241506,0))
......
--ワイトプリンセス
function c90243945.initial_effect(c)
aux.AddCodeList(c,32274490)
--change code
aux.EnableChangeCode(c,32274490,LOCATION_GRAVE)
--to grave
......
--Sin 青眼の白龍
function c9433350.initial_effect(c)
aux.AddCodeList(c,89631139)
c:EnableReviveLimit()
c:SetUniqueOnField(1,1,c9433350.uqfilter,LOCATION_MZONE)
--special summon
......
......@@ -257,6 +257,7 @@ function Auxiliary.ChangeCodeCondition(check,condition)
end
end
function Auxiliary.EnableChangeCode(c,code,location,condition)
Auxiliary.AddCodeList(c,code)
local loc=c:GetOriginalType()&TYPE_MONSTER~=0 and LOCATION_MZONE or LOCATION_SZONE
loc=location or loc
local e1=Effect.CreateEffect(c)
......
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