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 @@ -555,7 +555,7 @@ SET_COUNTER = 0x200
SET_BATTLIN_BOXING = 0x201
SET_VEDA = 0x202
SET_DIABELL = 0x203
SET_DIABELLESTARR = 0x1203
SET_DIABELLSTAR = 0x1203
SET_SINFUL_SPOILS = 0x204
SET_SNAKE_EYE = 0x205
SET_PATISSCIEL = 0x206
Expand Down Expand Up @@ -603,8 +603,8 @@ SET_KEWL_TUNE = 0x1ce
SET_ECCLESIA = 0x1cf
SET_END_OF_THE_WORLD = 0x1d1
SET_FAIRY_TAIL = 0x1d2
SET_ELFNOTE = 0x1d0
--Released but the official English name is unconfirmed
SET_ELVENNOTES = 0x1d0
SET_CLOWN_CREW = 0x1d3
--Pre-release archetypes
SET_GMX = 0x1d4
10 changes: 5 additions & 5 deletions official/c10266279.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
local s,id=GetID()
function s.initial_effect(c)
Pendulum.AddProcedure(c)
--If a "Power Patron" and/or "Elvennotes" monster(s) is Special Summoned to your field while this card is in the Pendulum Zone: You can destroy this card, and if you do, draw 2 cards, then discard 1 card
--If a "Power Patron" and/or "Elfnote" monster(s) is Special Summoned to your field while this card is in the Pendulum Zone: You can destroy this card, and if you do, draw 2 cards, then discard 1 card
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW+CATEGORY_HANDES)
Expand All @@ -28,7 +28,7 @@ function s.initial_effect(c)
e2:SetTarget(s.mdestg)
e2:SetOperation(s.mdesop)
c:RegisterEffect(e2)
--If this card is added to your Extra Deck face-up: You can add 1 "Power Patron" or "Elvennotes" card from your face-up Extra Deck or GY to your hand, except "Power Patron Shadow Spirit Junordo"
--If this card is added to your Extra Deck face-up: You can add 1 "Power Patron" or "Elfnote" card from your face-up Extra Deck or GY to your hand, except "Power Patron Shadow Spirit Junordo"
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,2))
e3:SetCategory(CATEGORY_TOHAND)
Expand All @@ -42,9 +42,9 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
s.listed_names={id,5914858} --"Junora the Power Patron of Tuning"
s.listed_series={SET_POWER_PATRON,SET_ELVENNOTES}
s.listed_series={SET_POWER_PATRON,SET_ELFNOTE}
function s.pdesconfilter(c,tp)
return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard({SET_POWER_PATRON,SET_ELVENNOTES})
return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard({SET_POWER_PATRON,SET_ELFNOTE})
end
function s.pdescon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.pdesconfilter,1,nil,tp)
Expand Down Expand Up @@ -118,7 +118,7 @@ function s.thcon(e)
return c:IsLocation(LOCATION_EXTRA) and c:IsFaceup()
end
function s.thfilter(c)
return c:IsFaceup() and c:IsSetCard({SET_POWER_PATRON,SET_ELVENNOTES}) and c:IsAbleToHand() and not c:IsCode(id)
return c:IsFaceup() and c:IsSetCard({SET_POWER_PATRON,SET_ELFNOTE}) and c:IsAbleToHand() and not c:IsCode(id)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_EXTRA|LOCATION_GRAVE,0,1,nil) end
Expand Down
10 changes: 5 additions & 5 deletions official/c12375297.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function s.initial_effect(c)
e1:SetTarget(function(e,c) return c:IsLocation(LOCATION_EXTRA) and not c:IsSynchroMonster() end)
c:RegisterEffect(e1)
aux.addContinuousLizardCheck(c,LOCATION_MZONE,function(e,c) return not c:IsOriginalType(TYPE_SYNCHRO) end)
--Increase the Level of the monster in your center Main Monster Zone by 3 (until the end of this turn), then immediately after this effect resolves, you can Synchro Summon 1 "Elvennotes" monster or "Junora the Power Patron of Tuning"
--Increase the Level of the monster in your center Main Monster Zone by 3 (until the end of this turn), then immediately after this effect resolves, you can Synchro Summon 1 "Elfnote" monster or "Junora the Power Patron of Tuning"
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_LVCHANGE+CATEGORY_SPECIAL_SUMMON)
Expand All @@ -27,7 +27,7 @@ function s.initial_effect(c)
e2:SetOperation(s.lvop)
e2:SetHintTiming(0,TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
c:RegisterEffect(e2)
--Add 1 "Elvennotes" card from your Deck to your hand
--Add 1 "Elfnote" card from your Deck to your hand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
Expand All @@ -40,7 +40,7 @@ function s.initial_effect(c)
e3:SetOperation(s.thop)
c:RegisterEffect(e3)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
s.listed_names={5914858} --"Junora the Power Patron of Tuning"
function s.lvfilter(c)
return c:IsSequence(2) and c:HasLevel() and c:IsFaceup()
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(5914858)) and c:IsSynchroSummonable()
return (c:IsSetCard(SET_ELFNOTE) or c:IsCode(5914858)) and c:IsSynchroSummonable()
end
function s.lvop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
Expand All @@ -79,7 +79,7 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.thfilter(c)
return c:IsSetCard(SET_ELVENNOTES) and c:IsAbleToHand()
return c:IsSetCard(SET_ELFNOTE) 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 Down
6 changes: 3 additions & 3 deletions official/c13597785.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function s.initial_effect(c)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetValue(function() return 0,ZONE_CENTER_MMZ end)
c:RegisterEffect(e1)
--Add 1 "Elvennotes" monster from your Deck to your hand, except "Elvennotes Lucina"
--Add 1 "Elfnote" monster from your Deck to your hand, except "Elfnote Lucina"
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
Expand All @@ -38,9 +38,9 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
s.listed_names={id}
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.thfilter(c)
return c:IsSetCard(SET_ELVENNOTES) and c:IsMonster() and not c:IsCode(id) and c:IsAbleToHand()
return c:IsSetCard(SET_ELFNOTE) and c:IsMonster() and not c:IsCode(id) 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 Down
6 changes: 3 additions & 3 deletions official/c24092792.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function s.initial_effect(c)
e1:SetCondition(function(e) return Duel.GetFieldCard(e:GetHandlerPlayer(),LOCATION_MZONE,2)~=nil end)
e1:SetValue(function(e,c) return c:IsSequence(2) end)
c:RegisterEffect(e1)
--Special Summon 1 "Elvennotes" monster from your GY
--Special Summon 1 "Elfnote" monster from your GY
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DISABLE)
Expand All @@ -32,13 +32,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_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.spcostfilter(c,e,tp)
return c:IsMonster() and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
and Duel.IsExistingTarget(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp,c:GetOriginalAttribute())
end
function s.spfilter(c,e,tp,attr)
return c:IsSetCard(SET_ELVENNOTES) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(SET_ELFNOTE) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.spcostfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,1,nil,e,tp) end
Expand Down
4 changes: 2 additions & 2 deletions official/c26700718.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ function s.initial_effect(c)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
end
s.listed_series={SET_DIABELLESTARR}
s.listed_series={SET_DIABELLSTAR}
function s.plfilter(c,tp,hand_chk)
if not (c:IsMonster() and c:IsSetCard(SET_DIABELLESTARR) and not c:IsForbidden()) then return false end
if not (c:IsMonster() and c:IsSetCard(SET_DIABELLSTAR) and not c:IsForbidden()) then return false end
local owner=c:GetOwner()
local ft=Duel.GetLocationCount(owner,LOCATION_SZONE)
if hand_chk and owner==tp then ft=ft-1 end
Expand Down
6 changes: 3 additions & 3 deletions official/c38511382.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ function s.initial_effect(c)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Duel.NegateEffect(ev) end)
c:RegisterEffect(e2)
end
s.listed_series={SET_DIABELLESTARR,SET_SINFUL_SPOILS}
s.listed_series={SET_DIABELLSTAR,SET_SINFUL_SPOILS}
function s.tgfilter(c,cc)
return c:IsMonster() and c:IsSetCard(SET_DIABELLESTARR) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsAbleToGraveAsCost()
return c:IsMonster() and c:IsSetCard(SET_DIABELLSTAR) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsAbleToGraveAsCost()
and Duel.IsExistingTarget(Card.IsNegatable,0,LOCATION_ONFIELD,LOCATION_ONFIELD,1,Group.FromCards(c,cc)+c:GetEquipGroup())
end
function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Expand Down Expand Up @@ -61,7 +61,7 @@ function s.gydiscon(e,tp,eg,ep,ev,re,r,rp)
if ch==0 or not (ep==1-tp and Duel.IsChainDisablable(ev)) or re:GetHandler():IsDisabled() then return false end
local ch_player,ch_eff=Duel.GetChainInfo(ch,CHAININFO_TRIGGERING_PLAYER,CHAININFO_TRIGGERING_EFFECT)
local ch_c=ch_eff:GetHandler()
return ch_player==tp and ((ch_c:IsSetCard(SET_DIABELLESTARR) and ch_eff:IsMonsterEffect())
return ch_player==tp and ((ch_c:IsSetCard(SET_DIABELLSTAR) and ch_eff:IsMonsterEffect())
or (ch_c:IsSetCard(SET_SINFUL_SPOILS) and ch_eff:IsSpellTrapEffect()))
end
function s.gydistg(e,tp,eg,ep,ev,re,r,rp,chk)
Expand Down
6 changes: 3 additions & 3 deletions official/c42302563.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function s.initial_effect(c)
e1:SetCondition(function(e) return e:GetHandler():IsSequence(2) end)
e1:SetValue(3000)
c:RegisterEffect(e1)
--Special Summon 1 Level 6 or lower "Elvennotes" monster from your hand or GY, then you can decrease the Levels of all Level 4 or higher monsters currently on the field by 3 until the end of this turn
--Special Summon 1 Level 6 or lower "Elfnote" monster from your hand or GY, then you can decrease the Levels of all Level 4 or higher monsters currently on the field by 3 until the end of this turn
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_LVCHANGE)
Expand All @@ -29,9 +29,9 @@ function s.initial_effect(c)
e2:SetHintTiming(0,TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
c:RegisterEffect(e2)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.spfilter(c,e,tp)
return c:IsLevelBelow(6) and c:IsSetCard(SET_ELVENNOTES) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsLevelBelow(6) and c:IsSetCard(SET_ELFNOTE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
Expand Down
4 changes: 2 additions & 2 deletions official/c50590801.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function s.initial_effect(c)
e2:SetOperation(s.disop)
c:RegisterEffect(e2)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
Expand All @@ -53,7 +53,7 @@ function s.mvop(e,tp,eg,ep,ev,re,r,rp)
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsSpellTrapEffect() and Duel.IsChainDisablable(ev)
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ELVENNOTES),tp,LOCATION_MZONE,0,3,nil)
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ELFNOTE),tp,LOCATION_MZONE,0,3,nil)
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Expand Down
10 changes: 5 additions & 5 deletions official/c56651978.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
--scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--(Quick Effect): You can send 1 other "Elvennotes" card from your hand or face-up field to the GY; Special Summon this card from your hand
--(Quick Effect): You can send 1 other "Elfnote" card from your hand or face-up field to the GY; Special Summon this card from your hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
Expand All @@ -16,7 +16,7 @@ function s.initial_effect(c)
e1:SetOperation(s.selfspop)
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e1)
--If this card is Normal or Special Summoned to the center Main Monster Zone: You can Special Summon 1 "Elvennotes" monster from your Deck, except "Elvennotes Regina"
--If this card is Normal or Special Summoned to the center Main Monster Zone: You can Special Summon 1 "Elfnote" monster from your Deck, except "Elfnote Regina"
local e2a=Effect.CreateEffect(c)
e2a:SetDescription(aux.Stringid(id,1))
e2a:SetCategory(CATEGORY_SPECIAL_SUMMON)
Expand Down Expand Up @@ -45,9 +45,9 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
s.listed_names={id}
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.selfspcostfilter(c,tp)
return c:IsSetCard(SET_ELVENNOTES) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
return c:IsSetCard(SET_ELFNOTE) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
end
function s.selfspcost(e,tp,eg,ep,ev,re,r,rp,chk)
Expand All @@ -69,7 +69,7 @@ function s.selfspop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.spfilter(c,e,tp)
return c:IsSetCard(SET_ELVENNOTES) and not c:IsCode(id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(SET_ELFNOTE) and not c:IsCode(id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
Expand Down
14 changes: 7 additions & 7 deletions official/c5914858.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function s.initial_effect(c)
e1:SetTarget(s.distg)
e1:SetOperation(s.disop)
c:RegisterEffect(e1)
--Make all monsters your opponent currently controls in the same columns as your "Elvennotes" monsters unable to be used as material for a Fusion, Synchro, Xyz, or Link Summon until the end of this turn
--Make all monsters your opponent currently controls in the same columns as your "Elfnote" monsters unable to be used as material for a Fusion, Synchro, Xyz, or Link Summon until the end of this turn
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetType(EFFECT_TYPE_QUICK_O)
Expand All @@ -29,7 +29,7 @@ function s.initial_effect(c)
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
c:RegisterEffect(e2)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.extratunerfilter(c,scard,sumtype,tp)
return c:IsSequence(2) and c:IsControler(tp)
end
Expand All @@ -48,10 +48,10 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.cannotmatfilter(c,tp)
return c:GetColumnGroup():IsExists(s.elvennotesfilter,1,nil,tp)
return c:GetColumnGroup():IsExists(s.elfnotefilter,1,nil,tp)
end
function s.elvennotesfilter(c,tp)
return c:IsSetCard(SET_ELVENNOTES) and c:IsMonster() and c:IsFaceup() and c:IsControler(tp)
function s.elfnotefilter(c,tp)
return c:IsSetCard(SET_ELFNOTE) and c:IsMonster() and c:IsFaceup() and c:IsControler(tp)
end
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.cannotmatfilter,tp,0,LOCATION_MZONE,1,nil,tp) end
Expand All @@ -62,7 +62,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
for tc in g:Iter() do
Duel.HintSelection(tc)
--All monsters your opponent currently controls in the same columns as your "Elvennotes" monsters cannot be used as material for a Fusion, Synchro, Xyz, or Link Summon until the end of this turn
--All monsters your opponent currently controls in the same columns as your "Elfnote" monsters cannot be used as material for a Fusion, Synchro, Xyz, or Link Summon until the end of this turn
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,2))
e1:SetType(EFFECT_TYPE_SINGLE)
Expand All @@ -72,4 +72,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetReset(RESETS_STANDARD_PHASE_END)
tc:RegisterEffect(e1)
end
end
end
6 changes: 3 additions & 3 deletions official/c59581480.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function s.initial_effect(c)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetValue(function() return 0,ZONE_CENTER_MMZ end)
c:RegisterEffect(e1)
--Place 1 "Elvennotes" Continuous Spell from your Deck face-up on your field
--Place 1 "Elfnote" Continuous Spell from your Deck face-up on your field
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetType(EFFECT_TYPE_IGNITION)
Expand All @@ -36,9 +36,9 @@ function s.initial_effect(c)
e3:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e3)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.plfilter(c,tp)
return c:IsSetCard(SET_ELVENNOTES) and c:IsContinuousSpell() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
return c:IsSetCard(SET_ELFNOTE) and c:IsContinuousSpell() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end
function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
Expand Down
6 changes: 3 additions & 3 deletions official/c64491754.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function s.initial_effect(c)
e1:SetTarget(function(e,c) return c:IsSequence(2) end)
e1:SetValue(1)
c:RegisterEffect(e1)
--Special Summon 1 "Elvennotes" monster with a different original Attribute from your Deck in Defense Position
--Special Summon 1 "Elfnote" monster with a different original Attribute from your Deck in Defense Position
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
Expand All @@ -30,13 +30,13 @@ function s.initial_effect(c)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.spcostfilter(c,e,tp)
return c:IsMonster() and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c:GetOriginalAttribute())
end
function s.spfilter(c,e,tp,attr)
return c:IsSetCard(SET_ELVENNOTES) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
return c:IsSetCard(SET_ELFNOTE) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.spcostfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,1,nil,e,tp) end
Expand Down
4 changes: 2 additions & 2 deletions official/c80845034.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ function s.initial_effect(c)
e2:SetOperation(s.tdop)
c:RegisterEffect(e2)
end
s.listed_series={SET_DIABELLESTARR,SET_SINFUL_SPOILS}
s.listed_series={SET_DIABELLSTAR,SET_SINFUL_SPOILS}
s.listed_names={id}
function s.thfilter(c)
return c:IsSetCard(SET_DIABELLESTARR) and c:IsMonster() and c:IsAbleToHand()
return c:IsSetCard(SET_DIABELLSTAR) and c:IsMonster() 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|LOCATION_GRAVE,0,1,nil) end
Expand Down
6 changes: 3 additions & 3 deletions official/c85976588.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function s.initial_effect(c)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetValue(function() return 0,ZONE_CENTER_MMZ end)
c:RegisterEffect(e1)
--Place 1 "Elvennotes" Continuous Trap from your hand or Deck face-up on your field
--Place 1 "Elfnote" Continuous Trap from your hand or Deck face-up on your field
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetType(EFFECT_TYPE_IGNITION)
Expand All @@ -36,9 +36,9 @@ function s.initial_effect(c)
e3:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
c:RegisterEffect(e3)
end
s.listed_series={SET_ELVENNOTES}
s.listed_series={SET_ELFNOTE}
function s.plfilter(c,tp)
return c:IsSetCard(SET_ELVENNOTES) and c:IsContinuousTrap() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
return c:IsSetCard(SET_ELFNOTE) and c:IsContinuousTrap() and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end
function s.pltg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_SZONE)>0
Expand Down
Loading