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
2 changes: 1 addition & 1 deletion archetype_setcode_constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ SET_DOOM_KING = 0x1c8
--Released but the official English name is unconfirmed
SET_MAGNIFISTORM = 0x1c9
SET_DOOM_Z = 0x1cb
--Pre-release archetypes
SET_HECAHANDS = 0x1cc
SET_ENNEACRAFT = 0x1cd
SET_KILLER_TUNE = 0x1ce
--Pre-release archetypes
SET_ECCLESIA = 0x1cf
4 changes: 2 additions & 2 deletions pre-release/c100446040.lua → official/c14442329.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function s.initial_effect(c)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(aux.TargetBoolFunction(Card.IsCode,100446038))
e2:SetTarget(aux.TargetBoolFunction(Card.IsCode,41069676))
e2:SetValue(3300)
e2:SetCondition(function(e) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsType,TYPE_TUNER),e:GetHandlerPlayer(),0,LOCATION_MZONE|LOCATION_GRAVE,1,nil) end)
c:RegisterEffect(e2)
Expand All @@ -39,7 +39,7 @@ function s.initial_effect(c)
e3:SetOperation(s.thspop)
c:RegisterEffect(e3)
end
s.listed_names={100446038} --"Killer Tune Loudness War"
s.listed_names={41069676} --"Killer Tune Loudness War"
s.listed_series={SET_KILLER_TUNE}
function s.costfilter(c,e,tp)
return c:IsType(TYPE_TUNER) and Duel.IsExistingMatchingCard(s.thspfilter,tp,LOCATION_DECK,0,1,nil,e,tp,Duel.GetMZoneCount(tp,c)>0)
Expand Down
6 changes: 3 additions & 3 deletions pre-release/c100446037.lua → official/c15665977.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Synchro Summon procedure: "Killer Tune Reco" + 1+ Tuners
Synchro.AddProcedure(c,aux.FALSE,1,1,s.tunerfilter,1,99,aux.FilterSummonCode(100446033))
Synchro.AddProcedure(c,aux.FALSE,1,1,s.tunerfilter,1,99,aux.FilterSummonCode(89392810))
--Gains 300 ATK for each Tuner in the GYs
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
Expand Down Expand Up @@ -45,8 +45,8 @@ function s.initial_effect(c)
e4:SetValue(s.valcheck)
c:RegisterEffect(e4)
end
s.listed_names={100446033} --"Killer Tune Reco"
s.material={100446033} --"Killer Tune Reco"
s.listed_names={89392810} --"Killer Tune Reco"
s.material={89392810}
function s.tunerfilter(c,scard,sumtype,tp)
return c:IsType(TYPE_TUNER,scard,sumtype,tp) or c:IsHasEffect(EFFECT_CAN_BE_TUNER)
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pre-release/c100446009.lua → official/c57809669.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function s.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_HECAHANDS),tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingTarget(aux.AND(Card.IsSpellTrap,Card.IsAbleToHand),tp,0,LOCATION_ONFIELD,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,0)
if chk==0 then return b1 or b2 end
end
Expand All @@ -58,7 +58,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local b1=(cost_skip or not Duel.HasFlagEffect(tp,id))
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_HECAHANDS),tp,LOCATION_MZONE,0,1,nil)
and Duel.IsExistingTarget(aux.AND(Card.IsSpellTrap,Card.IsAbleToHand),tp,0,LOCATION_ONFIELD,1,nil)
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+100))
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+1))
and Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,0)
if chk==0 then e:SetLabel(0) return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -75,7 +75,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
elseif op==2 then
e:SetCategory(CATEGORY_FUSION_SUMMON)
e:SetProperty(0)
if not cost_skip then Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1) end
if not cost_skip then Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1) end
Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,1)
end
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pre-release/c100446020.lua → official/c82359538.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
--If a chain link is resolving, register a flag to deal the damage after it
local c=e:GetHandler()
for i=1,ct do
c:RegisterFlagEffect(id+100,RESET_CHAIN,0,1)
c:RegisterFlagEffect(id+1,RESET_CHAIN,0,1)
end
else
--If a chain is not resolving, deal the damage right away
Expand All @@ -197,10 +197,10 @@ function s.damop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.chainsolvedop(e,tp,eg,ep,ev,re,r,rp)
local ct=e:GetHandler():GetFlagEffect(id+100)
local ct=e:GetHandler():GetFlagEffect(id+1)
if ct>0 then
Duel.Hint(HINT_CARD,1-tp,id)
Duel.Damage(1-tp,ct*900,REASON_EFFECT)
e:GetHandler():ResetFlagEffect(id+100)
e:GetHandler():ResetFlagEffect(id+1)
end
end
6 changes: 3 additions & 3 deletions pre-release/c100446036.lua → official/c88170262.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Synchro Summon procedure: "Killer Tune Mix" + 1+ Tuners
Synchro.AddProcedure(c,aux.FALSE,1,1,s.tunerfilter,1,99,aux.FilterSummonCode(100446031))
Synchro.AddProcedure(c,aux.FALSE,1,1,s.tunerfilter,1,99,aux.FilterSummonCode(16509007))
--Gains 1500 ATK while your opponent has a Tuner in their field or GY
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
Expand Down Expand Up @@ -36,8 +36,8 @@ function s.initial_effect(c)
e4:SetValue(s.valcheck)
c:RegisterEffect(e4)
end
s.listed_names={100446031} --"Killer Tune Mix"
s.material={100446031} --"Killer Tune Mix"
s.listed_names={16509007} --"Killer Tune Mix"
s.material={16509007}
function s.tunerfilter(c,scard,sumtype,tp)
return c:IsType(TYPE_TUNER,scard,sumtype,tp) or c:IsHasEffect(EFFECT_CAN_BE_TUNER)
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.