Skip to content

Commit 7661fc3

Browse files
authored
Archetype constants updates
SET_MAGNIFISTORM --> SET_RADIANT_TYPHOON SET_DOOM_Z --> SET_DOOMZ
1 parent d5e222e commit 7661fc3

18 files changed

+44
-44
lines changed

archetype_setcode_constants.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,9 @@ SET_DRACOTAIL = 0x1c0
593593
SET_YUMMY = 0x1c1
594594
SET_K9 = 0x1c4
595595
SET_DOOM_KING = 0x1c8
596+
SET_RADIANT_TYPHOON = 0x1c9
597+
SET_DOOMZ = 0x1cb
596598
--Released but the official English name is unconfirmed
597-
SET_MAGNIFISTORM = 0x1c9
598-
SET_DOOM_Z = 0x1cb
599599
SET_HECAHANDS = 0x1cc
600600
SET_ENNEACRAFT = 0x1cd
601601
SET_KILLER_TUNE = 0x1ce

official/c16922142.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function s.initial_effect(c)
4343
e3b:SetCode(EVENT_SPSUMMON_SUCCESS)
4444
c:RegisterEffect(e3b)
4545
end
46-
s.listed_series={SET_MAGNIFISTORM}
46+
s.listed_series={SET_RADIANT_TYPHOON}
4747
s.listed_names={id,CARD_MYSTICAL_SPACE_TYPHOON}
4848
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
4949
local c=e:GetHandler()
@@ -58,14 +58,14 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
5858
end
5959
end
6060
function s.thfilter(c)
61-
return (c:IsSetCard(SET_MAGNIFISTORM) or c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON)) and c:IsAbleToHand() and not c:IsCode(id)
61+
return (c:IsSetCard(SET_RADIANT_TYPHOON) or c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON)) and c:IsAbleToHand() and not c:IsCode(id)
6262
end
6363
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
6464
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil) end
6565
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
6666
end
6767
function s.rescon(sg,e,tp,mg)
68-
return sg:FilterCount(Card.IsSetCard,nil,SET_MAGNIFISTORM)<=1 and sg:FilterCount(Card.IsCode,nil,CARD_MYSTICAL_SPACE_TYPHOON)<=1
68+
return sg:FilterCount(Card.IsSetCard,nil,SET_RADIANT_TYPHOON)<=1 and sg:FilterCount(Card.IsCode,nil,CARD_MYSTICAL_SPACE_TYPHOON)<=1
6969
end
7070
function s.thop(e,tp,eg,ep,ev,re,r,rp)
7171
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK|LOCATION_GRAVE,0,nil)

official/c20508881.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function s.initial_effect(c)
2525
c:RegisterEffect(e2)
2626
end
2727
s.listed_names={CARD_MYSTICAL_SPACE_TYPHOON}
28-
s.listed_series={SET_MAGNIFISTORM}
28+
s.listed_series={SET_RADIANT_TYPHOON}
2929
function s.tgfilter(c)
30-
return c:IsSetCard(SET_MAGNIFISTORM) and c:IsMonster() and c:IsAbleToGrave()
30+
return c:IsSetCard(SET_RADIANT_TYPHOON) and c:IsMonster() and c:IsAbleToGrave()
3131
end
3232
function s.thfilter(c)
3333
return c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON) and c:IsAbleToHand()
@@ -53,7 +53,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
5353
end
5454
end
5555
function s.discardfilter(c)
56-
return (c:IsSetCard(SET_MAGNIFISTORM) or c:IsQuickPlaySpell()) and c:IsDiscardable(REASON_EFFECT)
56+
return (c:IsSetCard(SET_RADIANT_TYPHOON) or c:IsQuickPlaySpell()) and c:IsDiscardable(REASON_EFFECT)
5757
end
5858
function s.effop(e,tp,eg,ep,ev,re,r,rp)
5959
local op=e:GetLabel()

official/c27755794.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function s.initial_effect(c)
2727
e2:SetOperation(s.spop)
2828
c:RegisterEffect(e2)
2929
end
30-
s.listed_series={SET_MAGNIFISTORM}
30+
s.listed_series={SET_RADIANT_TYPHOON}
3131
s.listed_names={CARD_MYSTICAL_SPACE_TYPHOON}
3232
function s.selfspcon(e,c)
3333
if c==nil then return true end
@@ -38,10 +38,10 @@ function s.selfspcon(e,c)
3838
end
3939
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
4040
local rc=re:GetHandler()
41-
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and (rc:IsCode(CARD_MYSTICAL_SPACE_TYPHOON) or (rc:IsSetCard(SET_MAGNIFISTORM) and rc:IsQuickPlaySpell()))
41+
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and (rc:IsCode(CARD_MYSTICAL_SPACE_TYPHOON) or (rc:IsSetCard(SET_RADIANT_TYPHOON) and rc:IsQuickPlaySpell()))
4242
end
4343
function s.spfilter(c,e,tp)
44-
return c:IsSetCard(SET_MAGNIFISTORM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
44+
return c:IsSetCard(SET_RADIANT_TYPHOON) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
4545
and not Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsCode,c:GetCode()),tp,LOCATION_MZONE,0,1,nil)
4646
end
4747
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)

official/c28877382.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function s.initial_effect(c)
3535
e2:SetOperation(s.spop)
3636
c:RegisterEffect(e2)
3737
end
38-
s.listed_series={SET_DOOM_Z}
38+
s.listed_series={SET_DOOMZ}
3939
s.listed_names={id}
4040
function s.thfilter(c)
41-
return c:IsSetCard(SET_DOOM_Z) and c:IsMonster() and c:IsAbleToHand() and not c:IsCode(id)
41+
return c:IsSetCard(SET_DOOMZ) and c:IsMonster() and c:IsAbleToHand() and not c:IsCode(id)
4242
end
4343
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
4444
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end

official/c31010081.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ function s.initial_effect(c)
3131
c:RegisterEffect(e2)
3232
end
3333
s.listed_names={CARD_MEDIUS_THE_PURE}
34-
s.listed_series={SET_DOOM_Z}
34+
s.listed_series={SET_DOOMZ}
3535
function s.desfilter(c)
36-
return c:IsSetCard(SET_DOOM_Z) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
36+
return c:IsSetCard(SET_DOOMZ) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
3737
end
3838
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
3939
if chk==0 then return Duel.IsExistingMatchingCard(s.desfilter,tp,LOCATION_HAND|LOCATION_ONFIELD,0,1,nil) end
@@ -56,7 +56,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
5656
end
5757
end
5858
function s.thtgconfilter(c)
59-
return (c:IsSetCard(SET_DOOM_Z) and c:IsMonster()) or c:IsCode(CARD_MEDIUS_THE_PURE)
59+
return (c:IsSetCard(SET_DOOMZ) and c:IsMonster()) or c:IsCode(CARD_MEDIUS_THE_PURE)
6060
end
6161
function s.thtgcon(e,tp,eg,ep,ev,re,r,rp,chk)
6262
local c=e:GetHandler()

official/c32442017.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ function s.initial_effect(c)
3131
e2:SetOperation(s.desop)
3232
c:RegisterEffect(e2)
3333
end
34-
s.listed_series={SET_DOOM_Z}
34+
s.listed_series={SET_DOOMZ}
3535
function s.desfilter(c,e,tp)
36-
if not (c:IsSetCard(SET_DOOM_Z) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))) then return false end
36+
if not (c:IsSetCard(SET_DOOMZ) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))) then return false end
3737
return Duel.IsExistingMatchingCard(s.thspfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c)
3838
end
3939
function s.thspfilter(c,e,tp,exc)
40-
return c:IsSetCard(SET_DOOM_Z) and c:IsMonster()
40+
return c:IsSetCard(SET_DOOMZ) and c:IsMonster()
4141
and (c:IsAbleToHand() or (c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetMZoneCount(tp,exc)>0))
4242
end
4343
function s.desthsptg(e,tp,eg,ep,ev,re,r,rp,chk)

official/c53813120.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ function s.initial_effect(c)
4747
c:RegisterEffect(e3)
4848
end
4949
s.listed_names={CARD_MYSTICAL_SPACE_TYPHOON}
50-
s.listed_series={SET_MAGNIFISTORM}
50+
s.listed_series={SET_RADIANT_TYPHOON}
5151
function s.tdfilter(c,e)
5252
return c:IsQuickPlaySpell() and c:IsAbleToDeck() and c:IsCanBeEffectTarget(e)
5353
end
5454
function s.rescon(sg,e,tp,mg)
55-
return sg:IsExists(Card.IsSetCard,1,nil,SET_MAGNIFISTORM)
55+
return sg:IsExists(Card.IsSetCard,1,nil,SET_RADIANT_TYPHOON)
5656
end
5757
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
5858
if chkc then return false end
5959
local g=Duel.GetMatchingGroup(s.tdfilter,tp,LOCATION_GRAVE,0,nil,e)
6060
if chk==0 then return Duel.IsPlayerCanDraw(tp,1)
61-
and #g>=3 and g:IsExists(Card.IsSetCard,1,nil,SET_MAGNIFISTORM)
61+
and #g>=3 and g:IsExists(Card.IsSetCard,1,nil,SET_RADIANT_TYPHOON)
6262
end
6363
local tg=aux.SelectUnselectGroup(g,e,tp,3,3,s.rescon,1,tp,HINTMSG_TODECK)
6464
Duel.SetTargetCard(tg)

official/c54143349.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function s.initial_effect(c)
2828
e2b:SetCode(EVENT_SPSUMMON_SUCCESS)
2929
c:RegisterEffect(e2b)
3030
end
31-
s.listed_series={SET_MAGNIFISTORM}
31+
s.listed_series={SET_RADIANT_TYPHOON}
3232
s.listed_names={CARD_MYSTICAL_SPACE_TYPHOON,id}
3333
function s.selfspcon(e,c)
3434
if c==nil then return true end
@@ -38,7 +38,7 @@ function s.selfspcon(e,c)
3838
or not Duel.IsExistingMatchingCard(Card.IsSpellTrap,tp,0,LOCATION_ONFIELD,1,nil))
3939
end
4040
function s.thfilter(c)
41-
return ((c:IsSetCard(SET_MAGNIFISTORM) and c:IsMonster()) or c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON)) and c:IsAbleToHand() and not c:IsCode(id)
41+
return ((c:IsSetCard(SET_RADIANT_TYPHOON) and c:IsMonster()) or c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON)) and c:IsAbleToHand() and not c:IsCode(id)
4242
end
4343
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
4444
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end

official/c54265980.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ function s.initial_effect(c)
3434
e2:SetOperation(s.spop)
3535
c:RegisterEffect(e2)
3636
end
37-
s.listed_series={SET_DOOM_Z}
37+
s.listed_series={SET_DOOMZ}
3838
function s.setfilter(c)
39-
return c:IsSetCard(SET_DOOM_Z) and c:IsSpellTrap() and c:IsSSetable()
39+
return c:IsSetCard(SET_DOOMZ) and c:IsSpellTrap() and c:IsSSetable()
4040
end
4141
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
4242
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end

0 commit comments

Comments
 (0)