From 7040b95af08bae8c33ab5fb239daff2d72f7eee2 Mon Sep 17 00:00:00 2001 From: pyrQ <30827955+pyrQ@users.noreply.github.com> Date: Mon, 16 Feb 2026 13:14:39 +0200 Subject: [PATCH] Add files via upload --- archetype_setcode_constants.lua | 29 +++++++++++++---------------- official/c15005145.lua | 6 +++--- official/c15982593.lua | 4 ++-- official/c40155014.lua | 4 ++-- official/c41371602.lua | 8 ++++---- official/c4160316.lua | 6 +++--- official/c42493140.lua | 4 ++-- official/c61950680.lua | 6 +++--- official/c71858682.lua | 6 +++--- official/c77765207.lua | 10 +++++----- official/c78888899.lua | 4 ++-- official/c81696879.lua | 4 ++-- official/c8841431.lua | 4 ++-- official/c9264485.lua | 4 ++-- official/c92907248.lua | 10 +++++----- official/c96030710.lua | 4 ++-- official/c97698279.lua | 4 ++-- skill/c300305006.lua | 6 +++--- skill/c300306014.lua | 5 ++--- unofficial/c420.lua | 10 ++++++++++ 20 files changed, 72 insertions(+), 66 deletions(-) diff --git a/archetype_setcode_constants.lua b/archetype_setcode_constants.lua index 71592f8c88..de69c859c0 100644 --- a/archetype_setcode_constants.lua +++ b/archetype_setcode_constants.lua @@ -1,17 +1,15 @@ --[[ Archetype setcode constants list (akin to common card names). - Includes every archetype that's being used in official card scripts. + Includes every archetype that's being used in OCG/TCG card scripts. + + To be formatted, probably alphabetically while keeping sub-archetypes with the original. - Notes: -- To be formatted, probably alphabetically while keeping sub-archetypes with the original. - -- 0x8c Druid (unused, non-existent archetype, ドルイド, 4 OCG cards include it in their names) - -- 0x106d Djinn of Rituals (unused sub-archetype of "Djinn") -- 0x8a Envy (unused super-archetype of "Traptrix") - -- 0xb6 not used at all -- 0xb8 not used at all + Available/unused values: + - 0x68 + - 0x6c + - 0x8c + - 0xb6 + - 0xb8 --]] SET_ALLY_OF_JUSTICE = 0x1 @@ -19,7 +17,7 @@ SET_GENEX = 0x2 SET_R_GENEX = 0x1002 SET_GENEX_ALLY = 0x2002 SET_HORUS = 0x3 -SET_HORUS_BLACK_FLAME_DRAGON = 0x1003 +SET_HORUS_THE_BLACK_FLAME_DRAGON = 0x1003 SET_AMAZONESS = 0x4 SET_ARCANA_FORCE = 0x5 SET_DARK_WORLD = 0x6 @@ -115,6 +113,7 @@ SET_JUNK = 0x43 SET_THE_AGENT = 0x44 SET_ARCHFIEND = 0x45 SET_RED_DRAGON_ARCHFIEND = 0x1045 +SET_POLYMERIZATION = 0x46 SET_FUSION = 0x46 SET_FUSION_DRAGON = 0x1046 SET_GEM = 0x47 @@ -165,7 +164,6 @@ SET_MAGNET_WARRIOR_SIGMA = 0xb066 SET_HIERATIC = 0x69 SET_BUTTERSPY = 0x6a SET_BOUNZER = 0x6b -SET_HELIOS = 0x6c SET_DJINN = 0x6d SET_PROPHECY = 0x6e SET_SPELLBOOK = 0x106e @@ -214,7 +212,7 @@ SET_STAR_SERAPH = 0x86 SET_UMBRAL_HORROR = 0x87 SET_BUJIN = 0x88 SET_HOLE = 0x89 -SET_TRAPTRIX = 0x108a +SET_TRAPTRIX = 0x8a SET_MALICEVOROUS = 0x8b SET_GHOSTRICK = 0x8d SET_VAMPIRE = 0x8e @@ -522,7 +520,6 @@ SET_GHOTI = 0x18b SET_KASHTIRA = 0x18a SET_GOLD_PRIDE = 0x193 SET_KOALA = 0x67 -SET_KANGAROO = 0x68 SET_RESCUE_ACE = 0x18c SET_PURRELY = 0x18d SET_MIKANKO = 0x18e @@ -537,7 +534,7 @@ SET_NOUVELLES = 0x197 SET_RECIPE = 0x198 SET_VISAS = 0x199 SET_MEMENTO = 0x19a -SET_CENTURION = 0x19b +SET_CENTUR_ION = 0x19b SET_VAALMONICA = 0x19c SET_YUBEL = 0x19d SET_VOICELESS_VOICE = 0x19e diff --git a/official/c15005145.lua b/official/c15005145.lua index 07af5346bb..60f96bb52c 100644 --- a/official/c15005145.lua +++ b/official/c15005145.lua @@ -10,7 +10,7 @@ function s.initial_effect(c) e1:SetRange(LOCATION_SZONE) e1:SetTargetRange(LOCATION_MZONE,0) e1:SetCondition(function(e) return e:GetHandler():IsContinuousTrap() end) - e1:SetTarget(function(e,c) return c:IsLevelAbove(5) and c:IsSetCard(SET_CENTURION) end) + e1:SetTarget(function(e,c) return c:IsLevelAbove(5) and c:IsSetCard(SET_CENTUR_ION) end) e1:SetValue(1) c:RegisterEffect(e1) --Search 1 "Centurion" card @@ -42,9 +42,9 @@ function s.initial_effect(c) c:RegisterEffect(e4) end s.listed_names={id} -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.thfilter(c) - return c:IsSetCard(SET_CENTURION) and not c:IsCode(id) and c:IsAbleToHand() + return c:IsSetCard(SET_CENTUR_ION) and not c:IsCode(id) and c:IsAbleToHand() end function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end diff --git a/official/c15982593.lua b/official/c15982593.lua index 7b920c03ea..bee29b86d9 100644 --- a/official/c15982593.lua +++ b/official/c15982593.lua @@ -38,7 +38,7 @@ function s.initial_effect(c) e3:SetOperation(s.plop) c:RegisterEffect(e3) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end Duel.SetTargetPlayer(tp) @@ -66,7 +66,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp) end end function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsType(TYPE_SYNCHRO) and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsType(TYPE_SYNCHRO) and not c:IsForbidden() end function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 diff --git a/official/c40155014.lua b/official/c40155014.lua index 533dd4aaa3..85be7b7240 100644 --- a/official/c40155014.lua +++ b/official/c40155014.lua @@ -30,7 +30,7 @@ function s.initial_effect(c) e2:SetOperation(s.spop) c:RegisterEffect(e2) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.rmvfilter(c) return c:IsFaceup() and c:IsOriginalType(TYPE_MONSTER) and c:IsAbleToRemove() end @@ -60,7 +60,7 @@ function s.rmvop(e,tp,eg,ep,ev,re,r,rp) end end function s.spfilter(c,e,tp) - return c:IsSetCard(SET_CENTURION) and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) + return c:IsSetCard(SET_CENTUR_ION) and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and s.spfilter(chkc,e,tp) end diff --git a/official/c41371602.lua b/official/c41371602.lua index 88720c3e4d..d05385b5ee 100644 --- a/official/c41371602.lua +++ b/official/c41371602.lua @@ -42,13 +42,13 @@ function s.initial_effect(c) e4:SetOperation(s.synop) c:RegisterEffect(e4) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.reg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return true end e:GetHandler():RegisterFlagEffect(id,RESETS_STANDARD_PHASE_END,EFFECT_FLAG_OATH,1) end function s.indfilter(c) - return c:IsFaceup() and c:IsOriginalType(TYPE_MONSTER) and c:IsSetCard(SET_CENTURION) + return c:IsFaceup() and c:IsOriginalType(TYPE_MONSTER) and c:IsSetCard(SET_CENTUR_ION) end function s.indcon(e) return Duel.IsExistingMatchingCard(s.indfilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,1,nil) @@ -60,7 +60,7 @@ function s.tfcost(e,tp,eg,ep,ev,re,r,rp,chk) Duel.SendtoGrave(g,REASON_COST) end function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsForbidden() end function s.tftg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0 @@ -82,7 +82,7 @@ function s.tfop(e,tp,eg,ep,ev,re,r,rp) end end function s.syncheck(tp,sg,sc) - return sg:IsExists(Card.IsSetCard,1,nil,SET_CENTURION) + return sg:IsExists(Card.IsSetCard,1,nil,SET_CENTUR_ION) end function s.syntg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then diff --git a/official/c4160316.lua b/official/c4160316.lua index 2bd9a2c0f3..255be50d93 100644 --- a/official/c4160316.lua +++ b/official/c4160316.lua @@ -27,7 +27,7 @@ function s.initial_effect(c) e2:SetOperation(s.plop) c:RegisterEffect(e2) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.move_to_stzone(c,hc,tp) if not Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then return end --Treat as Continuous Trap @@ -41,7 +41,7 @@ function s.move_to_stzone(c,hc,tp) return true end function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsForbidden() end function s.target(e,tp,eg,ep,ev,re,r,rp,chk) local ft=Duel.GetLocationCount(tp,LOCATION_SZONE) @@ -59,7 +59,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) end end function s.cfilter(c,tp) - return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard(SET_CENTURION) and c:IsType(TYPE_SYNCHRO) + return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard(SET_CENTUR_ION) and c:IsType(TYPE_SYNCHRO) end function s.plcon(e,tp,eg,ep,ev,re,r,rp) return eg:IsExists(s.cfilter,1,nil,tp) diff --git a/official/c42493140.lua b/official/c42493140.lua index 47fa1486db..0c7ff59b1c 100644 --- a/official/c42493140.lua +++ b/official/c42493140.lua @@ -27,9 +27,9 @@ function s.initial_effect(c) c:RegisterEffect(e2) end s.listed_names={id} -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsForbidden() and not c:IsCode(id) + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsForbidden() and not c:IsCode(id) end function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return not e:GetHandler():IsForbidden() diff --git a/official/c61950680.lua b/official/c61950680.lua index b1d6b6dad9..3bbff49a0d 100644 --- a/official/c61950680.lua +++ b/official/c61950680.lua @@ -31,9 +31,9 @@ function s.initial_effect(c) e3:SetCode(EVENT_REMOVE) c:RegisterEffect(e3) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.rmcostfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonsterCard() and c:IsFaceup() and c:IsAbleToRemoveAsCost() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonsterCard() and c:IsFaceup() and c:IsAbleToRemoveAsCost() end function s.rmcost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(s.rmcostfilter,tp,LOCATION_STZONE,0,1,nil) end @@ -60,7 +60,7 @@ function s.plcon(e,tp,eg,ep,ev,re,r,rp) and c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousPosition(POS_FACEDOWN) end function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsForbidden() and (c:IsFaceup() or c:IsLocation(LOCATION_HAND|LOCATION_DECK)) end function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk) diff --git a/official/c71858682.lua b/official/c71858682.lua index f6301c2622..72e159a124 100644 --- a/official/c71858682.lua +++ b/official/c71858682.lua @@ -36,9 +36,9 @@ function s.initial_effect(c) e3:SetOperation(s.plop) c:RegisterEffect(e3) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.thfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsAbleToHand() + return c:IsSetCard(SET_CENTUR_ION) and c:IsAbleToHand() end function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end @@ -53,7 +53,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) end end function s.plfilter(c,tp) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsType(TYPE_SYNCHRO) + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsType(TYPE_SYNCHRO) and c:IsFaceup() and not c:IsForbidden() and c:CheckUniqueOnField(tp) end function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk) diff --git a/official/c77765207.lua b/official/c77765207.lua index ffc08f8201..575bfdc9bf 100644 --- a/official/c77765207.lua +++ b/official/c77765207.lua @@ -14,12 +14,12 @@ function s.initial_effect(c) e1:SetOperation(s.activate) c:RegisterEffect(e1) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.plfilter(c) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and not c:IsForbidden() end function s.setfilter(c,ft) - return c:IsSetCard(SET_CENTURION) and c:IsSpellTrap() and c:IsSSetable() and (ft>0 or c:IsFieldSpell()) + return c:IsSetCard(SET_CENTUR_ION) and c:IsSpellTrap() and c:IsSSetable() and (ft>0 or c:IsFieldSpell()) end function s.target(e,tp,eg,ep,ev,re,r,rp,chk) local ft=Duel.GetLocationCount(tp,LOCATION_SZONE) @@ -64,11 +64,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetTargetRange(1,0) e2:SetCondition(function() return Duel.IsExistingMatchingCard(s.spconfilter,tp,LOCATION_ONFIELD,0,1,nil,sc:GetOriginalCodeRule()) end) - e2:SetTarget(function(_e,_c) return not _c:IsSetCard(SET_CENTURION) and _c:IsLocation(LOCATION_EXTRA) end) + e2:SetTarget(function(_e,_c) return not _c:IsSetCard(SET_CENTUR_ION) and _c:IsLocation(LOCATION_EXTRA) end) e2:SetReset(RESET_PHASE|PHASE_END) Duel.RegisterEffect(e2,tp) --Clock Lizard check - aux.addTempLizardCheck(c,tp,function(_e,_c) return not _c:IsOriginalSetCard(SET_CENTURION) end) + aux.addTempLizardCheck(c,tp,function(_e,_c) return not _c:IsOriginalSetCard(SET_CENTUR_ION) end) end elseif op==2 then --Set 1 "Centurion" Spell/Trap directly from your Deck diff --git a/official/c78888899.lua b/official/c78888899.lua index 787ca36a18..dfef7c4ed5 100644 --- a/official/c78888899.lua +++ b/official/c78888899.lua @@ -32,9 +32,9 @@ function s.initial_effect(c) c:RegisterEffect(e2) end s.listed_names={id} -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.plfilter(c,tp) - return c:IsSetCard(SET_CENTURION) and c:IsFaceup() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsFaceup() and not c:IsForbidden() and not c:IsCode(id) and Duel.GetMZoneCount(tp,c)>0 end function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) diff --git a/official/c81696879.lua b/official/c81696879.lua index 57409192ea..2881958aeb 100644 --- a/official/c81696879.lua +++ b/official/c81696879.lua @@ -29,12 +29,12 @@ function s.initial_effect(c) c:RegisterEffect(e2) end s.listed_names={id} -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} function s.chcon(e,tp,eg,ep,ev,re,r,rp) return ep==1-tp and re:IsMonsterEffect() and Duel.GetCurrentChain(true)>=2 end function s.plfilter(c,tp) - return c:IsSetCard(SET_CENTURION) and c:IsMonster() and c:IsFaceup() and not c:IsForbidden() + return c:IsSetCard(SET_CENTUR_ION) and c:IsMonster() and c:IsFaceup() and not c:IsForbidden() and c:CheckUniqueOnField(tp) end function s.chtg(e,tp,eg,ep,ev,re,r,rp,chk) diff --git a/official/c8841431.lua b/official/c8841431.lua index d474164937..2c0d1b9907 100644 --- a/official/c8841431.lua +++ b/official/c8841431.lua @@ -40,7 +40,7 @@ function s.initial_effect(c) c:RegisterEffect(e3) end s.listed_names={id} -s.listed_series={SET_EMBLEMA,SET_CENTURION} +s.listed_series={SET_EMBLEMA,SET_CENTUR_ION} function s.indescon(e) local c=e:GetHandler() return c:IsSpecialSummoned() and not c:IsSummonLocation(LOCATION_EXTRA) @@ -70,7 +70,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) end end function s.spconfilter(c,tp) - return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousSetCard(SET_CENTURION) + return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousSetCard(SET_CENTUR_ION) and c:IsPreviousControler(tp) and c:IsReason(REASON_EFFECT) end function s.spcon(e,tp,eg,ep,ev,re,r,rp) diff --git a/official/c9264485.lua b/official/c9264485.lua index 418295da3a..5e175a8a16 100644 --- a/official/c9264485.lua +++ b/official/c9264485.lua @@ -9,8 +9,8 @@ function s.initial_effect(c) e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) - e1:SetTarget(function(e,c) return c:IsSetCard(SET_HORUS_BLACK_FLAME_DRAGON) end) + e1:SetTarget(function(e,c) return c:IsSetCard(SET_HORUS_THE_BLACK_FLAME_DRAGON) end) e1:SetValue(aux.tgoval) c:RegisterEffect(e1) end -s.listed_series={SET_HORUS_BLACK_FLAME_DRAGON} \ No newline at end of file +s.listed_series={SET_HORUS_THE_BLACK_FLAME_DRAGON} \ No newline at end of file diff --git a/official/c92907248.lua b/official/c92907248.lua index a975f1c28c..0bf068bd1d 100644 --- a/official/c92907248.lua +++ b/official/c92907248.lua @@ -28,7 +28,7 @@ function s.initial_effect(c) c:RegisterEffect(e2) end local TOKEN_CENTURION=id+1 -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} s.listed_names={TOKEN_CENTURION,id} function s.cfilter(c) return c:IsFaceup() and c:IsOriginalType(TYPE_MONSTER) @@ -37,8 +37,8 @@ function s.tokencond(e,tp,eg,ep,ev,re,r,rp) return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_STZONE,0,1,nil) end function s.tokentg(e,tp,eg,ep,ev,re,r,rp,chk) - local lv4=Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTURION,TYPES_TOKEN,0,0,4,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) - local lv8=Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTURION,TYPES_TOKEN,0,0,8,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) + local lv4=Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTUR_ION,TYPES_TOKEN,0,0,4,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) + local lv8=Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTUR_ION,TYPES_TOKEN,0,0,8,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) if chk==0 then return (lv4 or lv8) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end local levels={} if lv4 then table.insert(levels,4) end @@ -51,7 +51,7 @@ end function s.tokenop(e,tp,eg,ep,ev,re,r,rp) local lvl=e:GetLabel() if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 - or not Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTURION,TYPES_TOKEN,0,0,lvl,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) then return end + or not Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_CENTURION,SET_CENTUR_ION,TYPES_TOKEN,0,0,lvl,RACE_PYRO,ATTRIBUTE_DARK,POS_FACEUP) then return end local token=Duel.CreateToken(tp,TOKEN_CENTURION) --Set the Token's Level local e1=Effect.CreateEffect(e:GetHandler()) @@ -78,7 +78,7 @@ function s.tokenop(e,tp,eg,ep,ev,re,r,rp) Duel.SpecialSummonComplete() end function s.tgyfilter(c) - return c:IsSetCard(SET_CENTURION) and not c:IsCode(id) and c:IsAbleToGrave() + return c:IsSetCard(SET_CENTUR_ION) and not c:IsCode(id) and c:IsAbleToGrave() end function s.tgytg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(s.tgyfilter,tp,LOCATION_DECK,0,1,nil) end diff --git a/official/c96030710.lua b/official/c96030710.lua index 01de038d73..c038251087 100644 --- a/official/c96030710.lua +++ b/official/c96030710.lua @@ -39,11 +39,11 @@ function s.initial_effect(c) c:RegisterEffect(e4) end s.listed_names={id} -s.listed_series={SET_EMBLEMA,SET_CENTURION} +s.listed_series={SET_EMBLEMA,SET_CENTUR_ION} function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_GRAVE,0,1,nil,SET_EMBLEMA) - and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_GRAVE,0,1,nil,SET_CENTURION) end + and Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_GRAVE,0,1,nil,SET_CENTUR_ION) end Duel.SetTargetPlayer(tp) Duel.SetTargetParam(1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) diff --git a/official/c97698279.lua b/official/c97698279.lua index b0cc947ce8..d2006d936e 100644 --- a/official/c97698279.lua +++ b/official/c97698279.lua @@ -40,10 +40,10 @@ function s.initial_effect(c) e3:SetOperation(s.splvop) c:RegisterEffect(e3) end -s.listed_series={SET_CENTURION} +s.listed_series={SET_CENTUR_ION} s.listed_names={id} function s.costfilter(c,tp) - return c:IsSetCard(SET_CENTURION) and c:IsFaceup() and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0 + return c:IsSetCard(SET_CENTUR_ION) and c:IsFaceup() and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0 end function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_ONFIELD,0,1,nil,tp) end diff --git a/skill/c300305006.lua b/skill/c300305006.lua index 0de39afdfb..8bf9891710 100644 --- a/skill/c300305006.lua +++ b/skill/c300305006.lua @@ -15,7 +15,7 @@ function s.initial_effect(c) e1:SetOperation(s.op) c:RegisterEffect(e1) end -s.listed_series={SET_KOALA,SET_KANGAROO} +s.listed_series={SET_KOALA} function s.op(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_SKILL_FLIP,tp,id|(1<<32)) Duel.Hint(HINT_CARD,tp,id) @@ -25,12 +25,12 @@ function s.op(e,tp,eg,ep,ev,re,r,rp) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_DEFENSE_ATTACK) e1:SetTargetRange(LOCATION_MZONE,0) - e1:SetTarget(function(e,c) return c:IsSetCard(SET_KOALA) or c:IsSetCard(SET_KANGAROO) end) + e1:SetTarget(function(e,c) return c:IsSetCard(SET_KOALA) or c:IsKangaroo() end) e1:SetValue(1) Duel.RegisterEffect(e1,tp) end function s.cfilter(c) - return (c:IsSetCard(SET_KOALA) or c:IsSetCard(SET_KANGAROO)) and c:IsMonster() and c:IsFaceup() and c:IsCanChangePosition() + return (c:IsSetCard(SET_KOALA) or c:IsKangaroo()) and c:IsMonster() and c:IsFaceup() and c:IsCanChangePosition() end function s.flipcon(e,tp,eg,ep,ev,re,r,rp) return aux.CanActivateSkill(tp) and Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil) diff --git a/skill/c300306014.lua b/skill/c300306014.lua index 28e4b36f99..457727fa6f 100644 --- a/skill/c300306014.lua +++ b/skill/c300306014.lua @@ -15,7 +15,6 @@ function s.initial_effect(c) e1:SetOperation(s.op) c:RegisterEffect(e1) end -s.listed_series={SET_HELIOS} function s.op(e,tp,eg,ep,ev,re,r,rp) Duel.Hint(HINT_SKILL_FLIP,tp,id|(1<<32)) Duel.Hint(HINT_CARD,tp,id) @@ -25,7 +24,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetRange(0x5f) e1:SetTargetRange(1,1) - e1:SetTarget(function(e,c) return c:IsSetCard(SET_HELIOS) and c:IsMonster() and c:GetControler()==e:GetHandlerPlayer() end) + e1:SetTarget(function(e,c) return c:IsHelios() and c:IsMonster() and c:GetControler()==e:GetHandlerPlayer() end) Duel.RegisterEffect(e1,tp) end function s.atkfilter(c,tp) @@ -53,4 +52,4 @@ function s.flipop(e,tp,eg,ep,ev,re,r,rp) end end end -end +end \ No newline at end of file diff --git a/unofficial/c420.lua b/unofficial/c420.lua index 0ec398fa21..68553756c1 100644 --- a/unofficial/c420.lua +++ b/unofficial/c420.lua @@ -1095,4 +1095,14 @@ if not AnimeArchetype then --Harpie Lady Sisters (Archetype) --Harpie Lady Sisters Card.IsHarpieLadySisters=MakeCheck({0x1064},{12206212}) + + --Helios (Archetype) + --Helios - The Primordial Sun/Helios Duo Megistus/Helios Trice Megistus + --Heliosphere Dragon/Elemental HERO Heliosphere + Card.IsHelios=MakeCheck({54493213,80887952,17286057,51043053,160214029}) + + --Kangaroo (Archetype) + --Des Kangaroo/Kangaroo Champ + --Junk Robot Teapot Kangaroo + Card.IsKangaroo=MakeCheck({78613627,95789089,511001684}) end