Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 13 additions & 16 deletions archetype_setcode_constants.lua
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
--[[
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
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions official/c15005145.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions official/c15982593.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions official/c40155014.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions official/c41371602.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions official/c4160316.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions official/c42493140.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions official/c61950680.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions official/c71858682.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions official/c77765207.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions official/c78888899.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions official/c81696879.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions official/c8841431.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions official/c9264485.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}
s.listed_series={SET_HORUS_THE_BLACK_FLAME_DRAGON}
10 changes: 5 additions & 5 deletions official/c92907248.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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())
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions official/c96030710.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading