Skip to content

Commit beff1f6

Browse files
authored
Archetype + Counter constants updates
SET_KILLER_TUNE --> SET_KEWL_TUNE COUNTER_SINQUISITION --> COUNTER_EC
1 parent 47c3a31 commit beff1f6

33 files changed

+114
-116
lines changed

archetype_setcode_constants.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,12 @@ SET_K9 = 0x1c4
597597
SET_DOOM_KING = 0x1c8
598598
SET_RADIANT_TYPHOON = 0x1c9
599599
SET_DOOMZ = 0x1cb
600-
--Released but the official English name is unconfirmed
601600
SET_HECAHANDS = 0x1cc
602601
SET_ENNEACRAFT = 0x1cd
603-
SET_KILLER_TUNE = 0x1ce
604-
--Pre-release archetypes
602+
SET_KEWL_TUNE = 0x1ce
605603
SET_ECCLESIA = 0x1cf
604+
--Released but the official English name is unconfirmed
606605
SET_ELVENNOTES = 0x1d0
606+
--Pre-release archetypes
607607
SET_END_OF_THE_WORLD = 0x1d1
608608
SET_FAIRY_TAIL = 0x1d2

card_counter_constants.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ SKILL_DARK_UNITY = 300306009
192192
--Commonly used counters
193193
COUNTER_A = 0x100e
194194
COUNTER_BUSHIDO = 0x3
195+
COUNTER_EC = 0x217
195196
COUNTER_FEATHER = 0x10
196197
COUNTER_FOG = 0x1019
197198
COUNTER_KAIJU = 0x37
198199
COUNTER_PREDATOR = 0x1041
199200
COUNTER_RESONANCE = 0x211
200201
COUNTER_SIGNAL = 0x1148
201-
COUNTER_SINQUISITION = 0x217
202202
COUNTER_SPELL = 0x1
203203
COUNTER_VENOM = 0x1009

official/c14442329.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--ジュークジョイント“Killer Tune”
2-
--Juke Joint "Killer Tune"
2+
--JJ "Kewl Tune"
33
--scripted by Naim
44
local s,id=GetID()
55
function s.initial_effect(c)
@@ -17,7 +17,7 @@ function s.initial_effect(c)
1717
e1:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
1818
e1:SetTarget(aux.TargetBoolFunction(Card.IsType,TYPE_TUNER))
1919
c:RegisterEffect(e1)
20-
--"Killer Tune Loudness War" you control gains 3300 ATK while your opponent has a Tuner in their field or GY
20+
--"Kewl Tune Loudness War" you control gains 3300 ATK while your opponent has a Tuner in their field or GY
2121
local e2=Effect.CreateEffect(c)
2222
e2:SetType(EFFECT_TYPE_FIELD)
2323
e2:SetCode(EFFECT_UPDATE_ATTACK)
@@ -27,7 +27,7 @@ function s.initial_effect(c)
2727
e2:SetValue(3300)
2828
e2:SetCondition(function(e) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsType,TYPE_TUNER),e:GetHandlerPlayer(),0,LOCATION_MZONE|LOCATION_GRAVE,1,nil) end)
2929
c:RegisterEffect(e2)
30-
--Add to your hand, or Special Summon, 1 "Killer Tune" monster from your Deck
30+
--Add to your hand, or Special Summon, 1 "Kewl Tune" monster from your Deck
3131
local e3=Effect.CreateEffect(c)
3232
e3:SetDescription(aux.Stringid(id,1))
3333
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
@@ -39,13 +39,13 @@ function s.initial_effect(c)
3939
e3:SetOperation(s.thspop)
4040
c:RegisterEffect(e3)
4141
end
42-
s.listed_names={41069676} --"Killer Tune Loudness War"
43-
s.listed_series={SET_KILLER_TUNE}
42+
s.listed_names={41069676} --"Kewl Tune Loudness War"
43+
s.listed_series={SET_KEWL_TUNE}
4444
function s.costfilter(c,e,tp)
4545
return c:IsType(TYPE_TUNER) and Duel.IsExistingMatchingCard(s.thspfilter,tp,LOCATION_DECK,0,1,nil,e,tp,Duel.GetMZoneCount(tp,c)>0)
4646
end
4747
function s.thspfilter(c,e,tp,mmz_chk)
48-
return c:IsSetCard(SET_KILLER_TUNE) and c:IsMonster()
48+
return c:IsSetCard(SET_KEWL_TUNE) and c:IsMonster()
4949
and (c:IsAbleToHand() or (mmz_chk and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
5050
end
5151
function s.thspcost(e,tp,eg,ep,ev,re,r,rp,chk)

official/c15665977.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--キラーチューン・レッドシール
2-
--Killer Tune Red Seal
2+
--Kewl Tune RS
33
--scripted by Naim
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Synchro Summon procedure: "Killer Tune Reco" + 1+ Tuners
7+
--Synchro Summon procedure: "Kewl Tune Reco" + 1+ Tuners
88
Synchro.AddProcedure(c,aux.FALSE,1,1,s.tunerfilter,1,99,aux.FilterSummonCode(89392810))
99
--Gains 300 ATK for each Tuner in the GYs
1010
local e1=Effect.CreateEffect(c)
@@ -45,7 +45,7 @@ function s.initial_effect(c)
4545
e4:SetValue(s.valcheck)
4646
c:RegisterEffect(e4)
4747
end
48-
s.listed_names={89392810} --"Killer Tune Reco"
48+
s.listed_names={89392810} --"Kewl Tune Reco"
4949
s.material={89392810}
5050
function s.tunerfilter(c,scard,sumtype,tp)
5151
return c:IsType(TYPE_TUNER,scard,sumtype,tp) or c:IsHasEffect(EFFECT_CAN_BE_TUNER)

official/c16387555.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
--キラーチューン・キュー
2-
--Killer Tune Cue
2+
--Kewl Tune Cue
33
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
66
--If this card on the field would be used as Synchro Material, 1 Tuner in your hand can be used as 1 of the other materials
77
Synchro.AddHandMaterialEffect(c,id,function(c) return c:IsType(TYPE_TUNER) end)
8-
--Special Summon 1 Tuner from your hand, Deck, or GY, except "Killer Tune Cue"
8+
--Special Summon 1 Tuner from your hand, Deck, or GY, except "Kewl Tune Cue"
99
local e1=Effect.CreateEffect(c)
1010
e1:SetDescription(aux.Stringid(id,0))
1111
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -30,7 +30,6 @@ function s.initial_effect(c)
3030
c:RegisterEffect(e2)
3131
end
3232
s.listed_names={id}
33-
s.listed_series={SET_KILLER_TUNE}
3433
function s.spfilter(c,e,tp)
3534
return c:IsType(TYPE_TUNER) and not c:IsCode(id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
3635
end
@@ -83,4 +82,4 @@ function s.excop(e,tp,eg,ep,ev,re,r,rp)
8382
if op==0 then return end
8483
Duel.MoveSequence((g-sg):GetFirst(),1)
8584
end
86-
end
85+
end

official/c16509007.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
--キラーチューン・ミクス
2-
--Killer Tune Mix
2+
--Kewl Tune Mix
33
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
66
--If this card on the field would be used as Synchro Material, 1 Tuner in your hand can be used as 1 of the other materials
77
Synchro.AddHandMaterialEffect(c,id,function(c) return c:IsType(TYPE_TUNER) end)
8-
--Add 1 "Killer Tune" monster from your Deck or GY to your hand, except a Level 2 monster
8+
--Add 1 "Kewl Tune" monster from your Deck or GY to your hand, except a Level 2 monster
99
local e1a=Effect.CreateEffect(c)
1010
e1a:SetDescription(aux.Stringid(id,0))
1111
e1a:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -32,9 +32,9 @@ function s.initial_effect(c)
3232
e2:SetOperation(s.desop)
3333
c:RegisterEffect(e2)
3434
end
35-
s.listed_series={SET_KILLER_TUNE}
35+
s.listed_series={SET_KEWL_TUNE}
3636
function s.thfilter(c)
37-
return c:IsSetCard(SET_KILLER_TUNE) and c:IsMonster() and not c:IsLevel(2) and c:IsAbleToHand()
37+
return c:IsSetCard(SET_KEWL_TUNE) and c:IsMonster() and not c:IsLevel(2) and c:IsAbleToHand()
3838
end
3939
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
4040
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil) end

official/c17621695.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--糾罪都市-エニアポリス
2-
--Enneapolis, the Sinquisition City
2+
--Enneapolis
33
--Scripted by Eerie Code
44
local s,id=GetID()
55
function s.initial_effect(c)
@@ -8,7 +8,7 @@ function s.initial_effect(c)
88
e0:SetType(EFFECT_TYPE_ACTIVATE)
99
e0:SetCode(EVENT_FREE_CHAIN)
1010
c:RegisterEffect(e0)
11-
--Remove all Sinquisition Counters from your fiend, and if you do, inflict 900 damage to your opponent for each
11+
--Remove all E.C. Counters from your fiend, and if you do, inflict 900 damage to your opponent for each
1212
local e1=Effect.CreateEffect(c)
1313
e1:SetDescription(aux.Stringid(id,0))
1414
e1:SetCategory(CATEGORY_DAMAGE)
@@ -57,20 +57,20 @@ function s.initial_effect(c)
5757
c:RegisterEffect(e4)
5858
end
5959
s.listed_series={SET_ENNEACRAFT}
60-
s.counter_list={COUNTER_SINQUISITION}
60+
s.counter_list={COUNTER_EC}
6161
function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
6262
if chk==0 then return true end
63-
local ct=Duel.GetCounter(tp,1,0,COUNTER_SINQUISITION)
63+
local ct=Duel.GetCounter(tp,1,0,COUNTER_EC)
6464
Duel.SetTargetPlayer(1-tp)
6565
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,ct*900)
6666
end
6767
function s.damop(e,tp,eg,ep,ev,re,r,rp)
68-
local g=Duel.GetMatchingGroup(Card.HasCounter,tp,LOCATION_ONFIELD,0,nil,COUNTER_SINQUISITION)
68+
local g=Duel.GetMatchingGroup(Card.HasCounter,tp,LOCATION_ONFIELD,0,nil,COUNTER_EC)
6969
if #g==0 then return end
7070
local total_count=0
7171
for sc in g:Iter() do
72-
local sc_count=sc:GetCounter(COUNTER_SINQUISITION)
73-
if sc:RemoveCounter(tp,COUNTER_SINQUISITION,sc_count,REASON_EFFECT) then
72+
local sc_count=sc:GetCounter(COUNTER_EC)
73+
if sc:RemoveCounter(tp,COUNTER_EC,sc_count,REASON_EFFECT) then
7474
total_count=total_count+sc_count
7575
end
7676
end

official/c20415050.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--神の見えざる手
2-
--Hecahands
2+
--The Hidden Hecahands
33
--scripted by Naim
44
local s,id=GetID()
55
function s.initial_effect(c)

official/c28454232.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
--糾罪巧-Astaγ.PIXIEA
2-
--Enneacraft - Astarγ.PIXIEA
2+
--Enneacraft - Asta.PIXEA
33
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
c:EnableCounterPermit(COUNTER_SINQUISITION,LOCATION_PZONE)
6+
c:EnableCounterPermit(COUNTER_EC,LOCATION_PZONE)
77
Pendulum.AddProcedure(c)
8-
--Each time a monster(s) is flipped face-up, place 1 Sinquisition Counter on this card
8+
--Each time a monster(s) is flipped face-up, place 1 E.C. Counter on this card
99
local e1=Effect.CreateEffect(c)
1010
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
1111
e1:SetCode(EVENT_FLIP)
@@ -66,19 +66,19 @@ function s.initial_effect(c)
6666
e5b:SetValue(aux.tgoval)
6767
c:RegisterEffect(e5b)
6868
end
69-
s.counter_place_list={COUNTER_SINQUISITION}
69+
s.counter_place_list={COUNTER_EC}
7070
s.listed_series={SET_ENNEACRAFT}
7171
function s.counterop(e,tp,eg,ep,ev,re,r,rp)
7272
local c=e:GetHandler()
7373
if not Duel.IsChainSolving() then
74-
c:AddCounter(COUNTER_SINQUISITION,1)
74+
c:AddCounter(COUNTER_EC,1)
7575
else
7676
--Place 1 Sinquisition Counter on this card at the end of the Chain Link
7777
local e1=Effect.CreateEffect(c)
7878
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
7979
e1:SetCode(EVENT_CHAIN_SOLVED)
8080
e1:SetRange(LOCATION_PZONE)
81-
e1:SetOperation(function() c:AddCounter(COUNTER_SINQUISITION,1) end)
81+
e1:SetOperation(function() c:AddCounter(COUNTER_EC,1) end)
8282
e1:SetReset(RESET_EVENT|RESETS_STANDARD|RESET_CHAIN)
8383
c:RegisterEffect(e1)
8484
--Reset "e1" at the end of the Chain Link
@@ -156,4 +156,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
156156
if #rg>0 then
157157
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
158158
end
159-
end
159+
end

official/c29570824.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
--糾罪巧ϝ’-「tromarIA」
2-
--Enneacraft ϝ' "tromarIA"
2+
--Ekto Enneacraft - "tromarIA"
33
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
c:EnableCounterPermit(COUNTER_SINQUISITION,LOCATION_PZONE)
6+
c:EnableCounterPermit(COUNTER_EC,LOCATION_PZONE)
77
Pendulum.AddProcedure(c)
8-
--Each time a monster(s) is flipped face-up, place 1 Sinquisition Counter on this card
8+
--Each time a monster(s) is flipped face-up, place 1 E.C. Counter on this card
99
local e1=Effect.CreateEffect(c)
1010
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
1111
e1:SetCode(EVENT_FLIP)
@@ -56,19 +56,19 @@ function s.initial_effect(c)
5656
e5:SetOperation(s.disop)
5757
c:RegisterEffect(e5)
5858
end
59-
s.counter_place_list={COUNTER_SINQUISITION}
59+
s.counter_place_list={COUNTER_EC}
6060
s.listed_series={SET_ENNEACRAFT}
6161
function s.counterop(e,tp,eg,ep,ev,re,r,rp)
6262
local c=e:GetHandler()
6363
if not Duel.IsChainSolving() then
64-
c:AddCounter(COUNTER_SINQUISITION,1)
64+
c:AddCounter(COUNTER_EC,1)
6565
else
6666
--Place 1 Sinquisition Counter on this card at the end of the Chain Link
6767
local e1=Effect.CreateEffect(c)
6868
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
6969
e1:SetCode(EVENT_CHAIN_SOLVED)
7070
e1:SetRange(LOCATION_PZONE)
71-
e1:SetOperation(function() c:AddCounter(COUNTER_SINQUISITION,1) end)
71+
e1:SetOperation(function() c:AddCounter(COUNTER_EC,1) end)
7272
e1:SetReset(RESET_EVENT|RESETS_STANDARD|RESET_CHAIN)
7373
c:RegisterEffect(e1)
7474
--Reset "e1" at the end of the Chain Link

0 commit comments

Comments
 (0)