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 pre-release/c101303036.lua → official/c10136446.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--黄昏の堕天使ルシファー
--Lucifer, Darklord of the Evening Twilight
--Darklord Eveningstar
--Scripted by The Razgriz
local s,id=GetID()
function s.initial_effect(c)
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.
4 changes: 2 additions & 2 deletions pre-release/c101303013.lua → official/c12375297.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
s.listed_series={SET_ELVENNOTES}
s.listed_names={101303039} --"Junora the Power Patron of Tuning"
s.listed_names={5914858} --"Junora the Power Patron of Tuning"
function s.lvfilter(c)
return c:IsSequence(2) and c:HasLevel() and c:IsFaceup()
end
Expand All @@ -54,7 +54,7 @@ function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function s.synchrofilter(c)
return (c:IsSetCard(SET_ELVENNOTES) or c:IsCode(101303039)) and c:IsSynchroSummonable()
return (c:IsSetCard(SET_ELVENNOTES) or c:IsCode(5914858)) and c:IsSynchroSummonable()
end
function s.lvop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
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.
6 changes: 3 additions & 3 deletions pre-release/c101303004.lua → official/c24431911.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ function s.initial_effect(c)
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e2)
end
s.listed_names={101303005,101303006} --"Magnet Warrior Σ+", "Magnet Warrior Σ-"
s.listed_names={51826619,87814728} --"Magnet Warrior Σ+", "Magnet Warrior Σ-"
s.listed_series={SET_MAGNET_WARRIOR_SIGMA}
function s.selfspcostfilter(c)
return c:IsCode(101303005,101303006) and (c:IsFaceup() or not c:IsOnField()) and c:IsAbleToRemoveAsCost() and aux.SpElimFilter(c,true,true)
return c:IsCode(51826619,87814728) and (c:IsFaceup() or not c:IsOnField()) and c:IsAbleToRemoveAsCost() and aux.SpElimFilter(c,true,true)
end
function s.rescon(sg,e,tp,mg)
return Duel.GetMZoneCount(tp,sg)>0 and sg:IsExists(Card.IsCode,1,nil,101303005) and sg:IsExists(Card.IsCode,1,nil,101303006)
return Duel.GetMZoneCount(tp,sg)>0 and sg:IsExists(Card.IsCode,1,nil,51826619) and sg:IsExists(Card.IsCode,1,nil,87814728)
end
function s.selfspcon(e,c)
if c==nil then return true end
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101303065.lua → official/c25940932.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil)
if chk==0 then return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -48,7 +48,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
elseif op==2 then
e:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
end
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions pre-release/c101303046.lua → official/c30064423.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_MZONE,LOCATION_MZONE,1,c)
--Shuffle all Spells and Traps on the field into the Deck
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsSpellTrap,Card.IsAbleToDeck),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
--Look at your opponent's Extra Deck and banish 1 card from it
local b3=not Duel.HasFlagEffect(tp,id+200)
local b3=not Duel.HasFlagEffect(tp,id+2)
and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_EXTRA,1,nil)
if chk==0 then return (b1 or b2 or b3) end
if not Duel.HasFlagEffect(tp,id) then
local g=Duel.GetMatchingGroup(Card.IsAbleToDeck,tp,LOCATION_MZONE,LOCATION_MZONE,c)
Duel.SetPossibleOperationInfo(0,CATEGORY_TODECK,g,#g,tp,0)
end
if not Duel.HasFlagEffect(tp,id+100) then
if not Duel.HasFlagEffect(tp,id+1) then
local g=Duel.GetMatchingGroup(aux.AND(Card.IsSpellTrap,Card.IsAbleToDeck),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.SetPossibleOperationInfo(0,CATEGORY_TODECK,g,#g,tp,0)
end
if not Duel.HasFlagEffect(tp,id+200) then
if not Duel.HasFlagEffect(tp,id+2) then
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,0,LOCATION_EXTRA,nil,tp)
Duel.SetPossibleOperationInfo(0,CATEGORY_REMOVE,g,#g,tp,0)
end
Expand All @@ -66,9 +66,9 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
local exc=c:IsRelateToEffect(e) and c or nil
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_MZONE,LOCATION_MZONE,1,exc)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsSpellTrap,Card.IsAbleToDeck),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
local b3=not Duel.HasFlagEffect(tp,id+200)
local b3=not Duel.HasFlagEffect(tp,id+2)
and Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_EXTRA,1,nil)
if not (b1 or b2 or b3) then return end
local op=Duel.SelectEffect(tp,
Expand All @@ -82,12 +82,12 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
elseif op==2 then
--Shuffle all Spells and Traps on the field into the Deck
Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1)
local g=Duel.GetMatchingGroup(aux.AND(Card.IsSpellTrap,Card.IsAbleToDeck),tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
elseif op==3 then
--Look at your opponent's Extra Deck and banish 1 card from it
Duel.RegisterFlagEffect(tp,id+200,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+2,RESET_PHASE|PHASE_END,0,1)
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
Duel.ConfirmCards(tp,g)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pre-release/c101303107.lua → official/c38129297.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function s.effcost(fusion_params,ritual_params)
e:SetLabel(-100)
local b1=not Duel.HasFlagEffect(tp,id)
and Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,0)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Ritual.Target(ritual_params)(e,tp,eg,ep,ev,re,r,rp,0)
if chk==0 then return b1 or b2 end
end
Expand All @@ -65,7 +65,7 @@ function s.efftg(fusion_params,ritual_params)
local cost_skip=e:GetLabel()~=-100
local b1=(cost_skip or not Duel.HasFlagEffect(tp,id))
and Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,0)
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+100))
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+1))
and Ritual.Target(ritual_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 @@ -78,7 +78,7 @@ function s.efftg(fusion_params,ritual_params)
Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,1)
elseif op==2 then
e:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
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
Ritual.Target(ritual_params)(e,tp,eg,ep,ev,re,r,rp,1)
end
end
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101303106.lua → official/c3957130.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.desop)
c:RegisterEffect(e2)
end
s.listed_names={67526112,20071842,101303107} --"Rapid Trigger", "Heavy Interlock", "Double Trigger"
s.listed_names={67526112,20071842,38129297} --"Rapid Trigger", "Heavy Interlock", "Double Trigger"
s.listed_series={SET_ROKKET}
function s.matfilter(c,sc,st,tp)
return c:IsAttribute(ATTRIBUTE_DARK,sc,st,tp) and c:IsRace(RACE_DRAGON,sc,st,tp)
Expand All @@ -39,7 +39,7 @@ function s.matcheck(g,lc,sumtype,tp)
return g:IsExists(Card.IsSetCard,1,nil,SET_ROKKET,lc,sumtype,tp)
end
function s.deckthfilter(c)
return c:IsCode(67526112,20071842,101303107) and c:IsAbleToHand()
return c:IsCode(67526112,20071842,38129297) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.deckthfilter,tp,LOCATION_DECK,0,1,nil) end
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pre-release/c101303037.lua → official/c42125140.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EVENT_CHAINING)
e4:SetOperation(function(e) e:GetHandler():ResetFlagEffect(id+100) end)
e4:SetOperation(function(e) e:GetHandler():ResetFlagEffect(id+1) end)
c:RegisterEffect(e4)
local e5=e4:Clone()
e5:SetCode(EVENT_CHAIN_SOLVED)
Expand Down Expand Up @@ -74,12 +74,12 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=eg:FilterCount(Card.IsMonster,nil)
if ct==0 or eg:IsContains(c) then return end
if ct>=2 or c:HasFlagEffect(id+100) then
if ct>=2 or c:HasFlagEffect(id+1) then
Duel.RaiseSingleEvent(c,EVENT_CUSTOM+id,re,r,rp,ep,ev)
end
local eff=Duel.GetChainInfo(0,CHAININFO_TRIGGERING_EFFECT)
if eff then
c:RegisterFlagEffect(id+100,RESET_EVENT|RESETS_STANDARD|RESET_CHAIN,0,1)
c:RegisterFlagEffect(id+1,RESET_EVENT|RESETS_STANDARD|RESET_CHAIN,0,1)
end
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pre-release/c101303031.lua → official/c48469380.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function s.initial_effect(c)
e4:SetOperation(s.spop)
c:RegisterEffect(e4)
end
s.listed_names={101303059} --"Throne of Archfiends"
s.listed_names={63679166} --"Throne of Archfiends"
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return c:IsOnField() and c:IsSpellTrap() and c:IsFaceup() and chkc~=c 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.
4 changes: 2 additions & 2 deletions pre-release/c101303059.lua → official/c63679166.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ function s.initial_effect(c)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetRange(LOCATION_GRAVE|LOCATION_REMOVED)
e1:SetCountLimit(1,id)
e1:SetCondition(function(e,tp) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsCode,101303031),tp,LOCATION_EXTRA,0,1,nil) end)
e1:SetCondition(function(e,tp) return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsCode,48469380),tp,LOCATION_EXTRA,0,1,nil) end)
e1:SetTarget(s.thtg)
e1:SetOperation(s.thop)
c:RegisterEffect(e1)
end
s.listed_names={101303031} --"Doom Emperor Archfiend"
s.listed_names={48469380} --"Doom Emperor Archfiend"
s.listed_series={SET_ARCHFIEND}
function s.ritualmonsterfilter(c)
return c:IsSetCard(SET_ARCHFIEND) and c:IsRitualMonster() and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions pre-release/c101303053.lua → official/c65514302.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(s.magnetthfilter,tp,LOCATION_DECK,0,1,nil)
--Add 1 Level 8 "Magna Warrior" monster from your Deck to your hand
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(s.magnathfilter,tp,LOCATION_DECK,0,1,nil)
--Fusion Summon 1 Rock Fusion Monster from your Extra Deck, by shuffling Rock monsters from your hand, field, GY, and/or banishment into the Deck
local fusion_params={
Expand All @@ -42,7 +42,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
extrafil=s.fextra,
extraop=Fusion.ShuffleMaterial
}
local b3=not Duel.HasFlagEffect(tp,id+200)
local b3=not Duel.HasFlagEffect(tp,id+2)
and Fusion.SummonEffTG(fusion_params)(e,tp,eg,ep,ev,re,r,rp,0)
if chk==0 then return b1 or b2 or b3 end
local op=Duel.SelectEffect(tp,
Expand All @@ -56,11 +56,11 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
elseif op==2 then
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
elseif op==3 then
e:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_TODECK)
Duel.RegisterFlagEffect(tp,id+200,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+2,RESET_PHASE|PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,tp,LOCATION_HAND|LOCATION_MZONE|LOCATION_GRAVE|LOCATION_REMOVED)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pre-release/c100444241.lua → official/c76666602.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--聖痕喰らいし竜
--The Stigmata-Devouring Dragon
--The Dragon that Devours the Dogma
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pre-release/c101303018.lua → official/c84031359.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--Darklord Gulgalta
--scripted by Naim
local s,id=GetID()
local TOKEN_DARKLORD=id+100
local TOKEN_DARKLORD=id+1
function s.initial_effect(c)
--You can only Special Summon "Darklord Gulgalta(s)" once per turn
c:SetSPSummonOnce(id)
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.
6 changes: 3 additions & 3 deletions pre-release/c101303073.lua → official/c87985506.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
end
s.listed_series={SET_ARCHFIEND}
s.listed_names={101303014,101303015,101303016} --"Royal Archfiend", "Duke Archfiend", "Highness Archfiend"
s.listed_names={58769832,85154941,11248645} --"Royal Archfiend", "Duke Archfiend", "Highness Archfiend"
function s.spfilter(c,e,tp,ex_chk)
return ((c:IsLevelBelow(7) and c:IsSetCard(SET_ARCHFIEND)) or (ex_chk and c:IsCode(101303014,101303015,101303016)))
return ((c:IsLevelBelow(7) and c:IsSetCard(SET_ARCHFIEND)) or (ex_chk and c:IsCode(58769832,85154941,11248645)))
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.archritfilter(c)
Expand All @@ -34,7 +34,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function s.rescon(ex_chk)
return function(sg,e,tp,mg)
return #sg==1 or (ex_chk and #sg<=3 and sg:FilterCount(Card.IsCode,nil,101303014,101303015,101303016)==#sg and sg:GetClassCount(Card.GetCode)==#sg)
return #sg==1 or (ex_chk and #sg<=3 and sg:FilterCount(Card.IsCode,nil,58769832,85154941,11248645)==#sg and sg:GetClassCount(Card.GetCode)==#sg)
end
end
function s.activate(e,tp,eg,ep,ev,re,r,rp)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pre-release/c101303063.lua → official/c99941223.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--佚楽の堕天使
--Darklord Pleasure
--Darklord Dance
--Scripted by The Razgriz
local s,id=GetID()
function s.initial_effect(c)
Expand Down