Skip to content

Commit 1277d53

Browse files
authored
Updated constants
SET_IMPRISONED_DEITY --> SET_POWER_PATRON SET_ARTMEGIA --> SET_ARTMAGE CARD_MEDIUS_THE_INNOCENT --> CARD_MEDIUS_THE_PURE
1 parent 3c6f92f commit 1277d53

19 files changed

Lines changed: 86 additions & 86 deletions

archetype_setcode_constants.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,16 +585,16 @@ SET_DOMINUS = 0x1bf
585585
SET_APOPHIS = 0x1c2
586586
SET_SERKET = 0x1c3
587587
SET_REGENESIS = 0x1be
588+
SET_TELEPORT = 0x1c5
589+
SET_POWER_PATRON = 0x1c6
590+
SET_ARTMAGE = 0x1c7
591+
SET_DOOM_Z = 0x1cb
592+
--Released but the official English name is unconfirmed
588593
SET_DRAGONTAIL = 0x1c0
589594
SET_YUMMY = 0x1c1
590595
SET_K9 = 0x1c4
591-
SET_TELEPORT = 0x1c5
592-
--Released but the official English name is unconfirmed
593-
SET_IMPRISONED_DEITY = 0x1c6
594-
SET_ARTMEGIA = 0x1c7
595596
--Pre-release archetypes
596597
SET_DOOM_KING = 0x1c8
597598
SET_MAGNIFISTORM = 0x1c9
598599
SET_RB = 0x1ca
599-
SET_DOOM_Z = 0x1cb
600600
SET_HECATONCHEIRE = 0x1cc

card_counter_constants.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ CARD_LABRYNTH_LABYRINTH = 33407125
5656
CARD_LIGHT_BARRIER = 73206827
5757
CARD_MAGICAL_MIDBREAKER = 71650854
5858
CARD_MAX_METALMORPH = 89812483
59-
CARD_MEDIUS_THE_INNOCENT = 97556336
59+
CARD_MEDIUS_THE_PURE = 97556336
6060
CARD_MEMENTOAL_TECUHTLICA = 23288411
6161
CARD_MILLENNIUM_CROSS = 37613663
6262
CARD_MONSTER_REBORN = 83764718

official/c1122030.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--scripted by pyrQ
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--When this card is activated: You can add 1 "Medius the Innocent" from your Deck to your hand
6+
--When this card is activated: You can add 1 "Medius the Pure" from your Deck to your hand
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
1313
e1:SetOperation(s.activate)
1414
c:RegisterEffect(e1)
15-
--Make 1 face-up monster you control able to be treated as an "Artmegia" monster if used as Fusion Material this turn
15+
--Make 1 face-up monster you control able to be treated as an "Artmage" monster if used as Fusion Material this turn
1616
local e2=Effect.CreateEffect(c)
1717
e2:SetDescription(aux.Stringid(id,1))
1818
e2:SetType(EFFECT_TYPE_IGNITION)
@@ -22,7 +22,7 @@ function s.initial_effect(c)
2222
e2:SetTarget(s.fusmattg)
2323
e2:SetOperation(s.fusmatop)
2424
c:RegisterEffect(e2)
25-
--If "Artmegia the Academy City of Divine Arts" you control would be destroyed by card effect, you can send this card to the GY instead
25+
--If "Artmage Academic Arcane Arts Acropolis" you control would be destroyed by card effect, you can send this card to the GY instead
2626
local e3=Effect.CreateEffect(c)
2727
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
2828
e3:SetCode(EFFECT_DESTROY_REPLACE)
@@ -32,10 +32,10 @@ function s.initial_effect(c)
3232
e3:SetOperation(function(e) Duel.SendtoGrave(e:GetHandler(),REASON_EFFECT|REASON_REPLACE) end)
3333
c:RegisterEffect(e3)
3434
end
35-
s.listed_names={CARD_MEDIUS_THE_INNOCENT,74733322} --"Artmegia the Academy City of Divine Arts"
36-
s.listed_series={SET_ARTMEGIA}
35+
s.listed_names={CARD_MEDIUS_THE_PURE,74733322} --"Artmage Academic Arcane Arts Acropolis"
36+
s.listed_series={SET_ARTMAGE}
3737
function s.thfilter(c)
38-
return c:IsCode(CARD_MEDIUS_THE_INNOCENT) and c:IsAbleToHand()
38+
return c:IsCode(CARD_MEDIUS_THE_PURE) and c:IsAbleToHand()
3939
end
4040
function s.activate(e,tp,eg,ep,ev,re,r,rp)
4141
if Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
@@ -56,13 +56,13 @@ end
5656
function s.fusmatop(e,tp,eg,ep,ev,re,r,rp)
5757
local tc=Duel.GetFirstTarget()
5858
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
59-
--It can be treated as an "Artmegia" monster if used as Fusion Material this turn
59+
--It can be treated as an "Artmage" monster if used as Fusion Material this turn
6060
local e1=Effect.CreateEffect(e:GetHandler())
6161
e1:SetDescription(aux.Stringid(id,3))
6262
e1:SetType(EFFECT_TYPE_SINGLE)
6363
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CLIENT_HINT)
6464
e1:SetCode(EFFECT_ADD_SETCODE)
65-
e1:SetValue(SET_ARTMEGIA)
65+
e1:SetValue(SET_ARTMAGE)
6666
e1:SetOperation(function(scard,sumtype,tp) return (sumtype&MATERIAL_FUSION)>0 or (sumtype&SUMMON_TYPE_FUSION)>0 end)
6767
e1:SetReset(RESETS_STANDARD_PHASE_END)
6868
tc:RegisterEffect(e1)

official/c23599634.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function s.initial_effect(c)
1414
e1:SetTarget(s.target)
1515
e1:SetOperation(s.activate)
1616
c:RegisterEffect(e1)
17-
--Return 1 "Artmegia" monster you control to the hand/Extra Deck, and if you do, destroy 1 card your opponent controls
17+
--Return 1 "Artmage" monster you control to the hand/Extra Deck, and if you do, destroy 1 card your opponent controls
1818
local e2=Effect.CreateEffect(c)
1919
e2:SetDescription(aux.Stringid(id,1))
2020
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_TOEXTRA+CATEGORY_DESTROY)
@@ -29,10 +29,10 @@ function s.initial_effect(c)
2929
e2:SetOperation(s.desop)
3030
c:RegisterEffect(e2)
3131
end
32-
s.listed_series={SET_ARTMEGIA}
33-
s.listed_names={CARD_MEDIUS_THE_INNOCENT}
32+
s.listed_series={SET_ARTMAGE}
33+
s.listed_names={CARD_MEDIUS_THE_PURE}
3434
function s.spfilter(c,e,tp)
35-
return (c:IsSetCard(SET_ARTMEGIA) or c:IsCode(CARD_MEDIUS_THE_INNOCENT)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
35+
return (c:IsSetCard(SET_ARTMAGE) or c:IsCode(CARD_MEDIUS_THE_PURE)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
3636
end
3737
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
3838
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
@@ -112,7 +112,7 @@ function s.chainlm(e,rp,tp)
112112
return tp==rp
113113
end
114114
function s.thfilter(c)
115-
return c:IsSetCard(SET_ARTMEGIA) and c:IsFaceup() and (c:IsAbleToHand() or c:IsAbleToExtra())
115+
return c:IsSetCard(SET_ARTMAGE) and c:IsFaceup() and (c:IsAbleToHand() or c:IsAbleToExtra())
116116
end
117117
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
118118
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and s.thfilter(chkc) end

official/c23829452.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212
e1:SetTargetRange(1,0)
1313
e1:SetTarget(function(e,c) return c:IsLocation(LOCATION_EXTRA) and not c:IsType(TYPE_FUSION) end)
1414
c:RegisterEffect(e1)
15-
--Fusion Summon 1 "Artmegia" Fusion Monster or "Nerva the Imprisoned Deity of Creation"
15+
--Fusion Summon 1 "Artmage" Fusion Monster or "Nerva the Imprisoned Deity of Creation"
1616
local params={fusfilter=s.fusionfilter,gc=Fusion.ForcedHandler}
1717
local e2=Effect.CreateEffect(c)
1818
e2:SetDescription(aux.Stringid(id,0))
@@ -26,7 +26,7 @@ function s.initial_effect(c)
2626
e2:SetTarget(Fusion.SummonEffTG(params))
2727
e2:SetOperation(Fusion.SummonEffOP(params))
2828
c:RegisterEffect(e2)
29-
--Add 1 "Artmegia" Spell/Trap from your Deck to your hand with a different name from the cards in your GY.
29+
--Add 1 "Artmage" Spell/Trap from your Deck to your hand with a different name from the cards in your GY
3030
local e3=Effect.CreateEffect(c)
3131
e3:SetDescription(aux.Stringid(id,1))
3232
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -39,13 +39,13 @@ function s.initial_effect(c)
3939
e3:SetOperation(s.thop)
4040
c:RegisterEffect(e3)
4141
end
42-
s.listed_series={SET_ARTMEGIA}
43-
s.listed_names={53589300} --"Nerva the Imprisoned Deity of Creation"
42+
s.listed_series={SET_ARTMAGE}
43+
s.listed_names={53589300} --"Nerva the Power Patron of Creation"
4444
function s.fusionfilter(c)
45-
return c:IsSetCard(SET_ARTMEGIA) or c:IsCode(53589300)
45+
return c:IsSetCard(SET_ARTMAGE) or c:IsCode(53589300)
4646
end
4747
function s.thfilter(c,tp)
48-
return c:IsSetCard(SET_ARTMEGIA) and c:IsSpellTrap() and c:IsAbleToHand()
48+
return c:IsSetCard(SET_ARTMAGE) and c:IsSpellTrap() and c:IsAbleToHand()
4949
and not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_GRAVE,0,1,nil,c:GetCode())
5050
end
5151
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)

official/c27184601.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Fusion Materials: 1 "Medius the Innocent" + 1 "Artmegia" monster
8-
Fusion.AddProcMix(c,true,true,CARD_MEDIUS_THE_INNOCENT,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_ARTMEGIA))
7+
--Fusion Materials: 1 "Medius the Pure" + 1 "Artmage" monster
8+
Fusion.AddProcMix(c,true,true,CARD_MEDIUS_THE_PURE,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_ARTMAGE))
99
--Change the battle position of 1 monster on the field
1010
local e1=Effect.CreateEffect(c)
1111
e1:SetDescription(aux.Stringid(id,0))
@@ -30,7 +30,7 @@ function s.initial_effect(c)
3030
e2:SetTarget(s.negtg)
3131
e2:SetOperation(s.negop)
3232
c:RegisterEffect(e2)
33-
--Special Summon 1 "Medius the Innocent" from your hand, Deck, or banishment
33+
--Special Summon 1 "Medius the Pure" from your hand, Deck, or banishment
3434
local e3=Effect.CreateEffect(c)
3535
e3:SetDescription(aux.Stringid(id,2))
3636
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -43,8 +43,8 @@ function s.initial_effect(c)
4343
e3:SetOperation(s.spop)
4444
c:RegisterEffect(e3)
4545
end
46-
s.listed_names={CARD_MEDIUS_THE_INNOCENT}
47-
s.listed_series={SET_ARTMEGIA}
46+
s.listed_names={CARD_MEDIUS_THE_PURE}
47+
s.listed_series={SET_ARTMAGE}
4848
function s.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
4949
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsCanChangePosition() end
5050
if chk==0 then return Duel.IsExistingTarget(Card.IsCanChangePosition,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
@@ -81,7 +81,7 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
8181
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsFusionSummoned()
8282
end
8383
function s.spfilter(c,e,tp)
84-
return c:IsCode(CARD_MEDIUS_THE_INNOCENT) and (not c:IsLocation(LOCATION_REMOVED) or c:IsFaceup())
84+
return c:IsCode(CARD_MEDIUS_THE_PURE) and (not c:IsLocation(LOCATION_REMOVED) or c:IsFaceup())
8585
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
8686
end
8787
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)

official/c34541940.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--Your opponent cannot target Level 6 or lower "Artmegia" monsters you control with card effects
6+
--Your opponent cannot target Level 6 or lower "Artmage" monsters you control with card effects
77
local e1=Effect.CreateEffect(c)
88
e1:SetType(EFFECT_TYPE_FIELD)
99
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
1010
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
1111
e1:SetRange(LOCATION_MZONE)
1212
e1:SetTargetRange(LOCATION_MZONE,0)
13-
e1:SetTarget(function(e,c) return c:IsLevelBelow(6) and c:IsSetCard(SET_ARTMEGIA) end)
13+
e1:SetTarget(function(e,c) return c:IsLevelBelow(6) and c:IsSetCard(SET_ARTMAGE) end)
1414
e1:SetValue(aux.tgoval)
1515
c:RegisterEffect(e1)
1616
--Special Summon this card from your hand, then you can draw 1 card
@@ -20,7 +20,7 @@ function s.initial_effect(c)
2020
e2:SetType(EFFECT_TYPE_IGNITION)
2121
e2:SetRange(LOCATION_HAND)
2222
e2:SetCountLimit(1,id)
23-
e2:SetCondition(function(e,tp) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ARTMEGIA),tp,LOCATION_ONFIELD,0,1,nil) end)
23+
e2:SetCondition(function(e,tp) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ARTMAGE),tp,LOCATION_ONFIELD,0,1,nil) end)
2424
e2:SetTarget(s.sptg)
2525
e2:SetOperation(s.spop)
2626
c:RegisterEffect(e2)
@@ -38,7 +38,7 @@ function s.initial_effect(c)
3838
e3:SetOperation(s.disop)
3939
c:RegisterEffect(e3)
4040
end
41-
s.listed_series={SET_ARTMEGIA}
41+
s.listed_series={SET_ARTMAGE}
4242
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
4343
local c=e:GetHandler()
4444
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0

official/c37517035.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function s.initial_effect(c)
99
e1:SetHintTiming(0,TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
1010
e1:SetCondition(function() return Duel.IsMainPhase() end)
1111
c:RegisterEffect(e1)
12-
--Shuffle into your Deck 3 "Artmegia" cards in your GY with different names
12+
--Shuffle 3 "Artmage" cards with different names from your GY into your Deck
1313
local e2=Effect.CreateEffect(c)
1414
e2:SetDescription(aux.Stringid(id,1))
1515
e2:SetCategory(CATEGORY_TODECK)
@@ -22,9 +22,9 @@ function s.initial_effect(c)
2222
e2:SetOperation(s.tdop)
2323
c:RegisterEffect(e2)
2424
end
25-
s.listed_series={SET_ARTMEGIA}
25+
s.listed_series={SET_ARTMAGE}
2626
function s.matcheck(tp,sg,fc)
27-
return sg:IsExists(Card.IsSetCard,1,nil,SET_ARTMEGIA,fc,SUMMON_TYPE_FUSION,tp)
27+
return sg:IsExists(Card.IsSetCard,1,nil,SET_ARTMAGE,fc,SUMMON_TYPE_FUSION,tp)
2828
end
2929
function s.fextra(e,tp,mg,sumtype)
3030
return nil,s.matcheck
@@ -48,7 +48,7 @@ function s.atkop(e,tc,tp,mg,chk)
4848
end
4949
end
5050
function s.tdfilter(c,e)
51-
return c:IsSetCard(SET_ARTMEGIA) and c:IsAbleToDeck() and c:IsCanBeEffectTarget(e)
51+
return c:IsSetCard(SET_ARTMAGE) and c:IsAbleToDeck() and c:IsCanBeEffectTarget(e)
5252
end
5353
function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
5454
if chkc then return false end

official/c48739627.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function s.initial_effect(c)
2525
e2:SetOperation(s.chngop)
2626
c:RegisterEffect(e2)
2727
end
28-
s.listed_names={CARD_MEDIUS_THE_INNOCENT}
28+
s.listed_names={CARD_MEDIUS_THE_PURE}
2929
function s.costfilter(c)
30-
return c:IsCode(CARD_MEDIUS_THE_INNOCENT) and c:IsAbleToGraveAsCost()
30+
return c:IsCode(CARD_MEDIUS_THE_PURE) and c:IsAbleToGraveAsCost()
3131
end
3232
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
3333
if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_DECK,0,1,nil) end

official/c53589300.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Fusion Materials: 3 "Artmegia" monsters
8-
Fusion.AddProcMixRep(c,true,true,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_ARTMEGIA),3,3)
7+
--Fusion Materials: 3 "Artmage" monsters
8+
Fusion.AddProcMixRep(c,true,true,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_ARTMAGE),3,3)
99
c:AddMustFirstBeFusionSummoned()
1010
c:SetSPSummonOnce(id)
1111
--Must first be either Fusion Summoned, or Special Summoned (from your Extra Deck) in Defense Position by Tributing 3 monsters with different Types
@@ -29,7 +29,7 @@ function s.initial_effect(c)
2929
e1:SetCondition(function() return Duel.GetFieldGroupCount(0,LOCATION_FZONE,LOCATION_FZONE)>0 end)
3030
e1:SetValue(1)
3131
c:RegisterEffect(e1)
32-
--Make your "Artmegia" monster's effect become "Destroy all cards your opponent controls"
32+
--Make your "Artmage" monster's effect become "Destroy all cards your opponent controls"
3333
local e2=Effect.CreateEffect(c)
3434
e2:SetDescription(aux.Stringid(id,1))
3535
e2:SetType(EFFECT_TYPE_QUICK_O)
@@ -41,7 +41,7 @@ function s.initial_effect(c)
4141
e2:SetOperation(s.chop)
4242
c:RegisterEffect(e2)
4343
end
44-
s.listed_series={SET_ARTMEGIA}
44+
s.listed_series={SET_ARTMAGE}
4545
function s.rescon(sg,e,tp)
4646
return Duel.GetLocationCountFromEx(tp,tp,sg,e:GetHandler())>0 and sg:GetClassCount(Card.GetRace)==#sg
4747
end
@@ -71,7 +71,7 @@ function s.chcon(e,tp,eg,ep,ev,re,r,rp)
7171
if not (re:IsMonsterEffect() and rp==tp) then return false end
7272
local setcodes=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_SETCODES)
7373
for _,set in ipairs(setcodes) do
74-
if (SET_ARTMEGIA&0xfff)==(set&0xfff) and (SET_ARTMEGIA&set)==SET_ARTMEGIA then return true end
74+
if (SET_ARTMAGE&0xfff)==(set&0xfff) and (SET_ARTMAGE&set)==SET_ARTMAGE then return true end
7575
end
7676
return false
7777
end

0 commit comments

Comments
 (0)