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
4 changes: 2 additions & 2 deletions archetype_setcode_constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ SET_ENNEACRAFT = 0x1cd
SET_KEWL_TUNE = 0x1ce
SET_ECCLESIA = 0x1cf
SET_END_OF_THE_WORLD = 0x1d1
SET_FAIRY_TAIL = 0x1d2
--Released but the official English name is unconfirmed
SET_ELVENNOTES = 0x1d0
--Pre-release archetypes
SET_FAIRY_TAIL = 0x1d2
SET_CLOWN_CREW = 0x1d3
--Pre-release archetypes
SET_GMX = 0x1d4
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/c101304059.lua → official/c20448151.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
s.listed_series={SET_CLOWN_CREW}
s.listed_names={101304015,id} --"Clown Crew Biancaviso"
s.listed_names={82159583,id} --"Clown Crew Biancaviso"
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroupCost(tp,nil,1,true,nil,nil) end
local g=Duel.SelectReleaseGroupCost(tp,nil,1,1,true,nil,nil)
Duel.Release(g,REASON_COST)
end
function s.thfilter(c)
return (c:IsCode(101304015) or (c:IsSetCard(SET_CLOWN_CREW) and c:IsSpellTrap() and not c:IsCode(id))) and c:IsAbleToHand()
return (c:IsCode(82159583) or (c:IsSetCard(SET_CLOWN_CREW) and c:IsSpellTrap() and not c:IsCode(id))) and c:IsAbleToHand()
end
function s.rescon(sg,e,tp,mg)
return sg:IsExists(Card.IsCode,1,nil,101304015) and sg:IsExists(Card.IsSpellTrap,1,nil)
return sg:IsExists(Card.IsCode,1,nil,82159583) and sg:IsExists(Card.IsSpellTrap,1,nil)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
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/c101304032.lua → official/c31533473.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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.IsFusionMonster,Card.IsFaceup,Card.IsAbleToExtra),tp,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,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)
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_SET)
end
end
Expand Down
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/c101304029.lua → official/c42759961.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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.IsRitualMonster,Card.IsFaceup,Card.IsAbleToDeck),tp,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsEffectMonster,Card.IsCanTurnSet),tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
if chk==0 then return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -59,7 +59,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(CATEGORY_TODECK)
Duel.SetOperationInfo(0,CATEGORY_TODECK,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_POSITION+CATEGORY_SET)
Duel.SetOperationInfo(0,CATEGORY_POSITION,nil,1,PLAYER_EITHER,POS_FACEDOWN_DEFENSE)
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.
2 changes: 1 addition & 1 deletion pre-release/c101304054.lua → official/c52782439.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--Exceptional Schedule
--scripted by pyrQ
local s,id=GetID()
local TOKEN_SCHEDULE=id+100
local TOKEN_SCHEDULE=id+1
function s.initial_effect(c)
--Add 1 "Special Schedule" or "Urgent Schedule" from your Deck to your hand, then you can Special Summon 1 "Schedule Token" (Machine/EARTH/Level 10/ATK 3000/DEF 3000) to your opponent's field
local e1=Effect.CreateEffect(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.
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/c101304073.lua → official/c70058649.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ function s.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(-100)
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,nil,e,tp,Duel.GetLocationCount(tp,LOCATION_MZONE)>0)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
if chk==0 then return b1 or b2 end
end
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local cost_skip=e:GetLabel()~=-100
local b1=(cost_skip or not Duel.HasFlagEffect(tp,id))
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,nil,e,tp,Duel.GetLocationCount(tp,LOCATION_MZONE)>0)
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+100))
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+1))
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
if chk==0 then e:SetLabel(0) return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -64,7 +64,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK|LOCATION_EXTRA)
elseif op==2 then
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
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
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
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.
4 changes: 2 additions & 2 deletions pre-release/c101304015.lua → official/c82159583.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=e:GetHandler():GetMaterialCount()
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsPlayerCanDraw(tp,ct)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(Card.IsNegatable,tp,0,LOCATION_ONFIELD,ct,nil)
if chk==0 then return ct>0 and (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)
e:SetCategory(CATEGORY_DRAW)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,ct)
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_DISABLE)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,nil,ct,1-tp,LOCATION_ONFIELD)
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.
4 changes: 2 additions & 2 deletions pre-release/c101304046.lua → official/c91237821.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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.IsXyzMonster,Card.IsFaceup,Card.IsAbleToExtra),tp,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil)
if chk==0 then return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -44,7 +44,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_SET)
end
end
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pre-release/c101304040.lua → official/c93172951.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and s.thfilter(chkc) end
local b1=not Duel.HasFlagEffect(tp,id)
and Duel.IsExistingMatchingCard(aux.AND(Card.IsSynchroMonster,Card.IsFaceup,Card.IsAbleToExtra),tp,LOCATION_MZONE|LOCATION_GRAVE,LOCATION_MZONE|LOCATION_GRAVE,1,nil)
local b2=not Duel.HasFlagEffect(tp,id+100)
local b2=not Duel.HasFlagEffect(tp,id+1)
and Duel.IsExistingTarget(s.thfilter,tp,LOCATION_GRAVE,0,1,nil)
if chk==0 then return b1 or b2 end
local op=Duel.SelectEffect(tp,
Expand All @@ -53,7 +53,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e:SetProperty(EFFECT_FLAG_DELAY)
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_TOHAND)
e:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
Expand Down
File renamed without changes.