Skip to content

Commit 12027ef

Browse files
committed
Script updates
-- Removed some trailing whitespaces -- Added missing card names to a few scripts
1 parent d556c41 commit 12027ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+55
-55
lines changed

official/c12890860.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--拒神ドゥータン
22
--Denial Deity Dotan
33
--scripted by Naim
44
local s,id=GetID()

official/c13023431.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--密林の狩猟者シュヴルイユ
22
--Chevreuil, Hunting Scout of the Deep Forest
33
--scripted by pyrQ
44
local s,id=GetID()

official/c14457896.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--Scripted by Eerie Code
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--Equip this card to 1 face-up monster on the field
6+
--Equip this card to 1 face-up monster on the field
77
local e1=Effect.CreateEffect(c)
88
e1:SetType(EFFECT_TYPE_QUICK_O)
99
e1:SetCode(EVENT_FREE_CHAIN)

official/c14957440.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function s.initial_effect(c)
1919
e2:SetDescription(aux.Stringid(id,0))
2020
e2:SetCategory(CATEGORY_COUNTER+CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
2121
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
22-
e2:SetCode(EVENT_TO_GRAVE)
22+
e2:SetCode(EVENT_TO_GRAVE)
2323
e2:SetRange(LOCATION_MZONE)
2424
e2:SetCountLimit(1,id)
2525
e2:SetCondition(s.tkcon)

official/c15610297.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
3535
local c=e:GetHandler()
3636
local bc=c:GetBattleTarget()
3737
if chk==0 then return bc and bc:IsFaceup() and bc:IsRelateToBattle()
38-
and c:IsLocation(LOCATION_MZONE) and c:IsRelateToBattle()
38+
and c:IsLocation(LOCATION_MZONE) and c:IsRelateToBattle()
3939
and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 end
4040
end
4141
function s.disop(e,tp,eg,ep,ev,re,r,rp)

official/c16769305.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function s.filter(c,this,tp)
6464
local mg=Group.FromCards(this,c)
6565
return Duel.IsExistingMatchingCard(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,nil,mg)
6666
end
67-
--Temporarily register EFFECT_SYNCHRO_MATERIAL otherwise IsSynchroSummonable will fail with opponent's monsters
67+
--Temporarily register EFFECT_SYNCHRO_MATERIAL otherwise IsSynchroSummonable will fail with opponent's monsters
6868
local e1=Effect.CreateEffect(this)
6969
e1:SetType(EFFECT_TYPE_SINGLE)
7070
e1:SetCode(EFFECT_SYNCHRO_MATERIAL)

official/c18013090.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function s.initial_effect(c)
2929
e1a:SetCondition(s.atkcon)
3030
e1a:SetValue(1000)
3131
c:RegisterEffect(e1a)
32-
--Reset the flag effect above if this card attacks again
32+
--Reset the flag effect above if this card attacks again
3333
local e1b=Effect.CreateEffect(c)
3434
e1b:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
3535
e1b:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
@@ -62,7 +62,7 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
6262
end
6363
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
6464
local c=e:GetHandler()
65-
return Duel.GetAttacker()==c and c:HasFlagEffect(id) and Duel.IsPhase(PHASE_DAMAGE_CAL)
65+
return Duel.GetAttacker()==c and c:HasFlagEffect(id) and Duel.IsPhase(PHASE_DAMAGE_CAL)
6666
end
6767
function s.chainattackposcon(e,tp,eg,ep,ev,re,r,rp)
6868
local c=e:GetHandler()

official/c20714553.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function s.initial_effect(c)
1818
e1:SetTarget(s.eqtg)
1919
e1:SetOperation(s.eqop)
2020
c:RegisterEffect(e1)
21-
--Return 1 Spellcaster Monster Card in your Spell & Trap Zone treated as an Equip Spell to the hand
21+
--Return 1 Spellcaster Monster Card in your Spell & Trap Zone treated as an Equip Spell to the hand
2222
local e2=Effect.CreateEffect(c)
2323
e2:SetDescription(aux.Stringid(id,1))
2424
e2:SetCategory(CATEGORY_TOHAND)
@@ -41,7 +41,7 @@ function s.matcheck(g,lc,sumtype,tp)
4141
return g:IsExists(s.matfilter,1,nil,lc,sumtype,tp)
4242
end
4343
function s.eqfilter(c,tp)
44-
return c:IsRace(RACE_SPELLCASTER) and c:CheckUniqueOnField(tp) and c:IsFaceup() and not c:IsForbidden()
44+
return c:IsRace(RACE_SPELLCASTER) and c:CheckUniqueOnField(tp) and c:IsFaceup() and not c:IsForbidden()
4545
end
4646
function s.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
4747
local c=e:GetHandler()

official/c21011044.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function s.initial_effect(c)
88
e0:SetType(EFFECT_TYPE_ACTIVATE)
99
e0:SetCode(EVENT_FREE_CHAIN)
1010
c:RegisterEffect(e0)
11-
--Fusion Summon 1 "Shaddoll" Fusion Monster from your Extra Deck, by banishing Fusion Materials mentioned on it from your field or GY, but it cannot attack directly
11+
--Fusion Summon 1 "Shaddoll" Fusion Monster from your Extra Deck, by banishing Fusion Materials mentioned on it from your field or GY, but it cannot attack directly
1212
local e1=Fusion.CreateSummonEff({handler=c,fusfilter=aux.FilterBoolFunction(Card.IsSetCard,SET_SHADDOLL),matfilter=Fusion.OnFieldMat(Card.IsAbleToRemove),
1313
extrafil=s.fextra,extraop=Fusion.BanishMaterial,stage2=s.stage2,desc=aux.Stringid(id,0),extratg=s.extratg})
1414
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_TOGRAVE)

official/c23738096.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--無死虫団の補給兵
22
--Supply Soldier of the Indestructible Insects
33
--scripted by Naim
44
local s,id=GetID()

0 commit comments

Comments
 (0)