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
6 changes: 3 additions & 3 deletions archetype_setcode_constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -604,13 +604,13 @@ SET_END_OF_THE_WORLD = 0x1d1
SET_FAIRY_TAIL = 0x1d2
SET_ELFNOTE = 0x1d0
SET_GMX = 0x1d4
--Released but the official English name is unconfirmed
SET_CLOWN_CREW = 0x1d3
SET_DARK_TUNER = 0x1d5
--Pre-release archetypes
SET_BLITZCLIQUE = 0x1d6
SET_THEOREALIZE = 0x1d7
SET_ALEISTER = 0x1d8
--Released but the official English name is unconfirmed
SET_DARK_TUNER = 0x1d5
--Pre-release archetypes
SET_WHITE_KNIGHT_NIGHT = 0x1d9
SET_DAEDALUS = 0x1da
SET_ASUTRA = 0x1db
Expand Down
3 changes: 2 additions & 1 deletion card_counter_constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ CARD_GRANDPA_DEMETTO = 44190146
CARD_HARMONIC_OSCILLATION = 31531170
CARD_HARPIE_LADY = 76812113
CARD_HARPIE_LADY_SISTERS = 12206212
CARD_HIDEOUT_IN_THE_SKY_COULOMB = 37654623
CARD_INFERNOBLE_CHARLES = 77656797
CARD_INVOCATION = 74063034
CARD_JACK_KNIGHT = 90876561
Expand All @@ -61,6 +62,7 @@ CARD_KING_KNIGHT = 64788463
CARD_KING_SARCOPHAGUS = 16528181
CARD_KURIBOH = 40640057
CARD_LABRYNTH_LABYRINTH = 33407125
CARD_LIGHT_AND_DARKNESS_RITUAL = 33599853
CARD_LIGHT_BARRIER = 73206827
CARD_MACRO_COSMOS = 30241314
CARD_MAGICAL_MIDBREAKER = 71650854
Expand Down Expand Up @@ -94,7 +96,6 @@ CARD_REGULUS_THE_PRINCE_OF_ENDYMION = 96228804
CARD_REVEALER_ICEBARRIER = 18319762
CARD_REVERSAL_OF_FATE = 36690018
CARD_RIKKA_KONKON = 76869711
CARD_RITUAL_OF_LIGHT_AND_DARKNESS = 101305044
CARD_SALAMANGREAT_SANCTUARY = 1295111
CARD_SANCTUARY_SKY = 56433456
CARD_SANGA_OF_THE_THUNDER = 25955164
Expand Down
File renamed without changes.
13 changes: 6 additions & 7 deletions pre-release/c101305077.lua → official/c10529441.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ function s.initial_effect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_SPSUMMON_SUCCESS)
ge1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
for p=0,1 do
if eg:IsExists(Card.IsSummonPlayer,1,nil,p) then
Duel.RegisterFlagEffect(p,id,RESET_PHASE|PHASE_END,0,1)
end
end
end
)
for p=0,1 do
if eg:IsExists(Card.IsSummonPlayer,1,nil,p) then
Duel.RegisterFlagEffect(p,id,RESET_PHASE|PHASE_END,0,1)
end
end
end)
Duel.RegisterEffect(ge1,0)
end)
end
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions pre-release/c101305049.lua → official/c1259915.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--三幻魔の霹靂
--Skyfire of the Sacred Beast
--Sacred Beasts Thunderclap
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
Expand All @@ -8,7 +8,7 @@ function s.initial_effect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--During your Main Phase: You can place 2 "Skyfire of the Sacred Beast" from your hand, Deck, and/or GY face-up on your field, then you can reveal 1 Level 10 "Sacred Beast" monster in your hand, then place 1 "Fallen Paradise of the Sacred Beasts" from your Deck face-up in your Field Zone
--During your Main Phase: You can place 2 "Sacred Beasts Thunderclap" from your hand, Deck, and/or GY face-up on your field, then you can reveal 1 Level 10 "Sacred Beast" monster in your hand, then place 1 "Fallen Paradise of the Sacred Beasts" from your Deck face-up in your Field Zone
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_IGNITION)
Expand All @@ -30,7 +30,7 @@ function s.initial_effect(c)
e2:SetOperation(s.thop)
c:RegisterEffect(e2)
end
s.listed_names={id,101305048} --"Fallen Paradise of the Sacred Beasts"
s.listed_names={id,65861210} --"Fallen Paradise of the Sacred Beasts"
s.listed_series={SET_SACRED_BEAST}
function s.selfplfilter(c,tp)
return c:IsCode(id) and not c:IsForbidden() and c:CheckUniqueOnField(tp)
Expand All @@ -43,7 +43,7 @@ function s.revealfilter(c)
return c:IsLevel(10) and c:IsSetCard(SET_SACRED_BEAST) and not c:IsPublic()
end
function s.fieldplfilter(c,tp)
return c:IsCode(101305048) and not c:IsForbidden() and c:CheckUniqueOnField(tp)
return c:IsCode(65861210) and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end
function s.plop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<2 then return 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.
4 changes: 2 additions & 2 deletions pre-release/c101305046.lua → official/c2372506.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.spop)
c:RegisterEffect(e1)
end
s.listed_names={CARD_RITUAL_OF_LIGHT_AND_DARKNESS,id}
s.listed_names={CARD_LIGHT_AND_DARKNESS_RITUAL,id}
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and (re:IsMonsterEffect() or (re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:GetHandler():IsNormalSpellTrap()))
end
function s.setfilter(c)
return c:ListsCode(CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and c:IsCanTurnSet()
return c:ListsCode(CARD_LIGHT_AND_DARKNESS_RITUAL) and c:IsCanTurnSet()
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101305002.lua → official/c24088928.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ function s.initial_effect(c)
e2:SetOperation(s.thop)
c:RegisterEffect(e2)
end
s.listed_names={CARD_RITUAL_OF_LIGHT_AND_DARKNESS}
s.listed_names={CARD_LIGHT_AND_DARKNESS_RITUAL}
function s.rescon(sg,e,tp,mg)
return sg:IsExists(Card.ListsCode,1,nil,CARD_RITUAL_OF_LIGHT_AND_DARKNESS)
return sg:IsExists(Card.ListsCode,1,nil,CARD_LIGHT_AND_DARKNESS_RITUAL)
end
function s.tdsptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions pre-release/c101305065.lua → official/c24749710.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ function s.initial_effect(c)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
end
s.listed_names={CARD_RITUAL_OF_LIGHT_AND_DARKNESS}
s.listed_names={CARD_LIGHT_AND_DARKNESS_RITUAL}
function s.opccost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.HasFlagEffect(tp,id) end
Duel.RegisterFlagEffect(tp,id+100,RESET_CHAIN,0,1)
Duel.RegisterFlagEffect(tp,id+1,RESET_CHAIN,0,1)
end
function s.opccost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.HasFlagEffect(tp,id+100) end
if chk==0 then return not Duel.HasFlagEffect(tp,id+1) end
Duel.RegisterFlagEffect(tp,id,RESET_CHAIN,0,1)
end
function s.thfilter(c)
return c:IsMonster() and c:ListsCode(CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and c:IsAbleToHand()
return c:IsMonster() and c:ListsCode(CARD_LIGHT_AND_DARKNESS_RITUAL) 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 @@ -65,7 +65,7 @@ function s.spcostfilter(c,e,tp)
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp,c:GetCode())
end
function s.spfilter(c,e,tp,code)
return c:IsMonster() and c:ListsCode(CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and not c:IsCode(code)
return c:IsMonster() and c:ListsCode(CARD_LIGHT_AND_DARKNESS_RITUAL) and not c:IsCode(code)
and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101305042.lua → official/c30109445.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsLinkMonster,Card.IsFaceup,Card.IsAbleToExtra),tp,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100) and ((Duel.IsPlayerCanDraw(tp)
local b2=not Duel.HasFlagEffect(tp,id+1) and ((Duel.IsPlayerCanDraw(tp)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,nil))
or (Duel.IsPlayerCanDraw(1-tp) and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,0,LOCATION_HAND,1,nil)))
if chk==0 then return b1 or b2 end
Expand All @@ -41,7 +41,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(CATEGORY_TOEXTRA)
Duel.SetOperationInfo(0,CATEGORY_TOEXTRA,nil,1,PLAYER_ALL,LOCATION_MZONE|LOCATION_GRAVE)
elseif op==2 then
Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1)
e:SetCategory(CATEGORY_TODECK|CATEGORY_DRAW)
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,PLAYER_ALL,LOCATION_HAND)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,PLAYER_ALL,1)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 16 additions & 12 deletions pre-release/c101305044.lua → official/c33599853.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@ local s,id=GetID()
function s.initial_effect(c)
--Ritual Summon 1 "Black Chaos the Dark Chaos Magician" or "Black Luster Soldier - Soldier of Light and Darkness" from your hand, by Tributing monsters from your hand or field, and/or banishing monsters from your GY, whose total Levels equal or exceed its Level
Ritual.AddProcGreater{
handler=c,
filter=function(c) return c:IsCode(101305027,101305028) end,
extrafil=function(e,tp) return Duel.GetMatchingGroup(aux.AND(Card.HasLevel,Card.IsAbleToRemove),tp,LOCATION_GRAVE,0,nil) end,
extratg=s.extratg,
desc=aux.Stringid(id,0)
}
handler=c,
filter=function(c)
return c:IsCode(44001993,70405001)
end,
extrafil=function(e,tp)
return Duel.GetMatchingGroup(aux.AND(Card.HasLevel,Card.IsAbleToRemove),tp,LOCATION_GRAVE,0,nil)
end,
extratg=function(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_GRAVE)
end,
desc=aux.Stringid(id,0)
}
--If this card is in your GY: You can add both this card and 1 card that mentions "Ritual of Light and Darkness" from your GY to your hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
Expand All @@ -22,13 +29,10 @@ function s.initial_effect(c)
e2:SetOperation(s.thop)
c:RegisterEffect(e2)
end
s.listed_names={101305027,101305028,CARD_RITUAL_OF_LIGHT_AND_DARKNESS} --"Black Chaos the Dark Chaos Magician", "Black Luster Soldier - Soldier of Light and Darkness"
function s.extratg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_GRAVE)
end
s.listed_names={44001993,70405001,CARD_LIGHT_AND_DARKNESS_RITUAL}
--"Magician of Dark Chaos - Black Chaos", "Black Luster Soldier - Soldier of Light and Darkness"
function s.thfilter(c)
return c:ListsCode(CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and c:IsAbleToHand()
return c:ListsCode(CARD_LIGHT_AND_DARKNESS_RITUAL) and c:IsAbleToHand()
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions pre-release/c101305053.lua → official/c37432075.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ local s,id=GetID()
function s.initial_effect(c)
--Fusion Summon 1 Fusion Monster from your Extra Deck, using monsters you control. If Summoning an "Invoked" Fusion Monster this way, you can also return banished monsters to the GY as material
local e1=Fusion.CreateSummonEff({
handler=c,
matfilter=Fusion.OnFieldMat,
extrafil=s.fextra,
})
handler=c,
matfilter=Fusion.OnFieldMat,
extrafil=s.fextra,
})
e1:SetCountLimit(1,{id,0})
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e1)
Expand Down
12 changes: 6 additions & 6 deletions pre-release/c101305050.lua → official/c37654623.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--Kowloon, Citadel of the Sky
--scripted by pyrQ
local s,id=GetID()
local TOKEN_MECHBEAST=id+100
local TOKEN_MECH_BEAST=id+1
function s.initial_effect(c)
--Activate
local e0=Effect.CreateEffect(c)
Expand All @@ -21,7 +21,7 @@ function s.initial_effect(c)
local e1b=e1a:Clone()
e1b:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e1b)
--During your Main Phase: You can Special Summon 1 "Mechbeast Token" (Machine/EARTH/Level 6/ATK 2000/DEF 2000) to your opponent's field, and if you do, add 1 "Blitzclique" monster from your Deck to your hand
--During your Main Phase: You can Special Summon 1 "Mech Beast Token" (Machine/EARTH/Level 6/ATK 2000/DEF 2000) to your opponent's field, and if you do, add 1 "Blitzclique" monster from your Deck to your hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN+CATEGORY_TOHAND+CATEGORY_SEARCH)
Expand All @@ -45,14 +45,14 @@ function s.initial_effect(c)
e3:SetOperation(s.selfthop)
c:RegisterEffect(e3)
end
s.listed_names={TOKEN_MECHBEAST}
s.listed_names={TOKEN_MECH_BEAST}
s.listed_series={SET_BLITZCLIQUE}
function s.thfilter(c)
return c:IsSetCard(SET_BLITZCLIQUE) and c:IsMonster() and c:IsAbleToHand()
end
function s.tokentg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_MECHBEAST,0,TYPES_TOKEN,2000,2000,6,RACE_MACHINE,ATTRIBUTE_EARTH,POS_FACEUP,1-tp)
and Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_MECH_BEAST,0,TYPES_TOKEN,2000,2000,6,RACE_MACHINE,ATTRIBUTE_EARTH,POS_FACEUP,1-tp)
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,0)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,tp,0)
Expand All @@ -61,8 +61,8 @@ end
function s.tokenop(e,tp,eg,ep,ev,re,r,rp)
local opp=1-tp
if Duel.GetLocationCount(opp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_MECHBEAST,0,TYPES_TOKEN,2000,2000,6,RACE_MACHINE,ATTRIBUTE_EARTH,POS_FACEUP,opp) then return end
local token=Duel.CreateToken(tp,TOKEN_MECHBEAST)
or not Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_MECH_BEAST,0,TYPES_TOKEN,2000,2000,6,RACE_MACHINE,ATTRIBUTE_EARTH,POS_FACEUP,opp) then return end
local token=Duel.CreateToken(tp,TOKEN_MECH_BEAST)
if Duel.SpecialSummon(token,0,tp,opp,false,false,POS_FACEUP)>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
Expand Down
File renamed without changes.
File renamed without changes.
28 changes: 13 additions & 15 deletions pre-release/c101305030.lua → official/c43989315.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
--If this card is in your GY: You can Fusion Summon 1 "Invoked" Fusion Monster from your Extra Deck, by banishing its materials from your field and/or GY, including this card in the GY
local fusion_params={
fusfilter=function(c) return c:IsSetCard(SET_INVOKED) end,
matfilter=aux.FALSE,
extrafil=s.fextra,
extraop=Fusion.BanishMaterial,
gc=Fusion.ForcedHandler,
extratg=s.extratg
}
fusfilter=function(c) return c:IsSetCard(SET_INVOKED) end,
matfilter=aux.FALSE,
extrafil=function(e,tp,mg)
local locations=not Duel.IsPlayerAffectedByEffect(tp,CARD_SPIRIT_ELIMINATION) and (LOCATION_MZONE|LOCATION_GRAVE) or LOCATION_MZONE
return Duel.GetMatchingGroup(Fusion.IsMonsterFilter(Card.IsAbleToRemove),tp,locations,0,nil)
end,
extraop=Fusion.BanishMaterial,
gc=Fusion.ForcedHandler,
extratg=function(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler(),1,tp,LOCATION_MZONE|LOCATION_GRAVE)
end
}
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
Expand Down Expand Up @@ -59,12 +65,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
tc:NegateEffects(e:GetHandler())
end
Duel.SpecialSummonComplete()
end
function s.fextra(e,tp,mg)
local locations=not Duel.IsPlayerAffectedByEffect(tp,CARD_SPIRIT_ELIMINATION) and (LOCATION_MZONE|LOCATION_GRAVE) or LOCATION_MZONE
return Duel.GetMatchingGroup(Fusion.IsMonsterFilter(Card.IsAbleToRemove),tp,locations,0,nil)
end
function s.extratg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,e:GetHandler(),1,tp,LOCATION_MZONE|LOCATION_GRAVE)
end
2 changes: 1 addition & 1 deletion pre-release/c101305027.lua → official/c44001993.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function s.initial_effect(c)
e4:SetOperation(s.banop)
c:RegisterEffect(e4)
end
s.listed_names={CARD_RITUAL_OF_LIGHT_AND_DARKNESS}
s.listed_names={CARD_LIGHT_AND_DARKNESS_RITUAL}
function s.immval(e,re)
if not (re:IsActivated() and e:GetOwnerPlayer()==1-re:GetOwnerPlayer()) then return false end
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions pre-release/c101305041.lua → official/c4611341.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function s.initial_effect(c)
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e2)
end
s.listed_series={SET_S_FORCE}
s.material_setcode={SET_S_FORCE}
function s.lcheck(g,lc,sumtype,tp)
return g:IsExists(Card.IsSetCard,1,nil,SET_S_FORCE,lc,sumtype,tp)
end
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pre-release/c101305003.lua → official/c50073633.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function s.initial_effect(c)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
end
s.listed_names={CARD_RITUAL_OF_LIGHT_AND_DARKNESS}
s.listed_names={CARD_LIGHT_AND_DARKNESS_RITUAL}
function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not Duel.IsExistingMatchingCard(Card.IsPublic,tp,LOCATION_HAND,0,1,nil) end
Duel.SetPossibleOperationInfo(0,CATEGORY_DRAW,nil,0,tp,3)
Expand All @@ -50,7 +50,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
Duel.ConfirmCards(1-tp,g)
Duel.ShuffleHand(tp)
if g:IsExists(Card.ListsCode,1,nil,CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and Duel.IsPlayerCanDraw(tp,3)
if g:IsExists(Card.ListsCode,1,nil,CARD_LIGHT_AND_DARKNESS_RITUAL) and Duel.IsPlayerCanDraw(tp,3)
and Duel.SelectYesNo(tp,aux.Stringid(id,3)) and Duel.Draw(tp,3,REASON_EFFECT)==3 then
Duel.ShuffleHand(tp)
Duel.BreakEffect()
Expand Down Expand Up @@ -78,7 +78,7 @@ function s.sprestrictionop(e,tp,eg,ep,ev,re,r,rp)
aux.addTempLizardCheck(c,tp)
end
function s.spfilter(c,e,tp)
return c:IsRitualMonster() and c:ListsCode(CARD_RITUAL_OF_LIGHT_AND_DARKNESS) and c:IsCanBeSpecialSummoned(e,0,tp,false,true)
return c:IsRitualMonster() and c:ListsCode(CARD_LIGHT_AND_DARKNESS_RITUAL) and c:IsCanBeSpecialSummoned(e,0,tp,false,true)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp,e:GetHandler())>0
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.
2 changes: 1 addition & 1 deletion pre-release/c101305072.lua → official/c58809685.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--Elfnotes: Quatrain of Succession
--scripted by pyrQ
local s,id=GetID()
local TOKEN_ELFNOTE_SERAPHIM=id+100
local TOKEN_ELFNOTE_SERAPHIM=id+1
function s.initial_effect(c)
--Activate
local e0=Effect.CreateEffect(c)
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101305069.lua → official/c59921227.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function s.initial_effect(c)
e3:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e3)
end
s.listed_names={101305050} --"Kowloon, Citadel of the Sky"
s.listed_names={CARD_HIDEOUT_IN_THE_SKY_COULOMB}
s.listed_series={SET_BLITZCLIQUE}
function s.thunderthcostfilter(c,tp)
return c:IsSetCard(SET_BLITZCLIQUE) and c:IsAbleToDeckAsCost() and (c:IsLocation(LOCATION_HAND) or c:IsFaceup())
Expand Down Expand Up @@ -81,7 +81,7 @@ function s.thunderthop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.blitzthfilter(c)
return ((c:IsSetCard(SET_BLITZCLIQUE) and c:IsSpell()) or c:IsCode(101305050)) and c:IsAbleToHand()
return ((c:IsSetCard(SET_BLITZCLIQUE) and c:IsSpell()) or c:IsCode(CARD_HIDEOUT_IN_THE_SKY_COULOMB)) and c:IsAbleToHand()
end
function s.blitzthtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.blitzthfilter,tp,LOCATION_DECK,0,1,nil) end
Expand Down
File renamed without changes.
File renamed without changes.
Loading