Skip to content

Commit d1f29c7

Browse files
committed
script updates
- added card names as comments in the script - applied some new auxiliary functions when it is possible - comment style
1 parent 1af71c3 commit d1f29c7

File tree

161 files changed

+352
-357
lines changed

Some content is hidden

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

161 files changed

+352
-357
lines changed

official/c1607603.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--想定GUYS
22
--Double Dai
33
--scripted by pyrQ
44
local s,id=GetID()

official/c20087414.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--Japanese name
1+
--久延毘古
22
--Kuebiko
33
--Scripted by Hatter
44
local s,id=GetID()

official/c30453613.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--ヴェイドスの目覚め
22
--Awakening of Veidos
33
--scripted by pyrQ
44
local s,id=GetID()

official/c3055018.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--灰滅の都 オブシディム
22
--Obsidim, the Ashened City
33
--scripted by pyrQ
44
local s,id=GetID()
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetRange(LOCATION_FZONE)
1616
e1:SetTargetRange(0,LOCATION_MZONE)
1717
e1:SetCondition(function(e) return Duel.IsTurnPlayer(e:GetHandlerPlayer()) end)
18-
e1:SetTarget(function(e,c) return c:IsSummonType(SUMMON_TYPE_SPECIAL) end)
18+
e1:SetTarget(function(e,c) return c:IsSpecialSummoned() end)
1919
e1:SetValue(RACE_PYRO)
2020
c:RegisterEffect(e1)
2121
--Place 1 "Obsidim, the Ashened City" from your GY on the bottom of your Deck, then draw 1 card

official/c30676200.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--灰滅せし都の英雄
22
--Hero of the Ashened City
33
--scripted by pyrQ
44
local s,id=GetID()

official/c34771947.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--ラビリンス・ウォール・シャドウ
22
--Labyrinth Wall Shadow
33
--Scripted by Eerie Code
44
local s,id=GetID()

official/c34813443.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--果てなき灰滅
22
--Ashened to Endlessness
33
--scripted by pyrQ
44
local s,id=GetID()

official/c34904525.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP Name
1+
--雷風魔神-ゲート・ガーディアン
22
--Gate Guardian of Thunder and Wind
33
--Scripted by The Razgriz
44
local s,id=GetID()
@@ -53,7 +53,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
5353
end
5454
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
5555
local c=e:GetHandler()
56-
return c:IsPreviousPosition(POS_FACEUP) and c:IsSummonType(SUMMON_TYPE_SPECIAL) and c:IsPreviousLocation(LOCATION_MZONE)
56+
return c:IsPreviousPosition(POS_FACEUP) and c:IsSpecialSummoned() and c:IsPreviousLocation(LOCATION_MZONE)
5757
and c:IsPreviousControler(tp) and rp==1-tp
5858
end
5959
function s.spfilter(c,e,tp)

official/c35026117.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
-- JP Name
2-
-- Labyrinth Heavy Tank
3-
-- Scripted by Satella
1+
--迷宮の重魔戦車
2+
--Labyrinth Heavy Tank
3+
--Scripted by Satella
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
-- Normal Summon without Tributing
6+
--Normal Summon without Tributing
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetType(EFFECT_TYPE_SINGLE)
1010
e1:SetCode(EFFECT_SUMMON_PROC)
1111
e1:SetCondition(s.ntcon)
1212
c:RegisterEffect(e1)
13-
-- Cannot attack the turn it is Normal Summoned
13+
--Cannot attack the turn it is Normal Summoned
1414
local e2=Effect.CreateEffect(c)
1515
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
1616
e2:SetCode(EVENT_SUMMON_SUCCESS)
1717
e2:SetOperation(s.disatt)
1818
c:RegisterEffect(e2)
19-
-- Place 1 Sanga, Kazejin, or Suijin face-up in your S&T Zone as a Continuous Spell
19+
--Place 1 Sanga, Kazejin, or Suijin face-up in your S&T Zone as a Continuous Spell
2020
local e3=Effect.CreateEffect(c)
2121
e3:SetDescription(aux.Stringid(id,1))
2222
e3:SetCategory(CATEGORY_DESTROY)

official/c35035985.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--JP name
1+
--灰滅せし成れの果て
22
--Embers of the Ashened
33
--scripted by pyrQ
44
local s,id=GetID()
@@ -14,7 +14,7 @@ function s.initial_effect(c)
1414
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
1515
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
1616
e1:SetCountLimit(1,id)
17-
e1:SetCondition(function(e) return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) end)
17+
e1:SetCondition(function(e) return e:GetHandler():IsFusionSummoned() end)
1818
e1:SetTarget(s.thtg)
1919
e1:SetOperation(s.thop)
2020
c:RegisterEffect(e1)

0 commit comments

Comments
 (0)