Skip to content

Commit 1393d1b

Browse files
committed
script updates
1 parent b88c791 commit 1393d1b

35 files changed

+80
-80
lines changed

official/c8963089.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function s.initial_effect(c)
1414
e1:SetProperty(EFFECT_FLAG_DELAY)
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.regtg)
1919
e1:SetOperation(s.regop)
2020
c:RegisterEffect(e1)

official/c89907227.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ end
4343
s.listed_names={89907228} --"Divine Dragon Token"
4444
s.synchro_tuner_required=1
4545
function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
46-
return Duel.IsTurnPlayer(tp) and e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
46+
return Duel.IsTurnPlayer(tp) and e:GetHandler():IsSynchroSummoned()
4747
end
4848
function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
4949
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0

official/c90164606.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
-- GP-ネック・アンド・ネック
2-
-- Gold Pride - It's Neck and Neck!
3-
-- Scripted by Satella
1+
--GP-ネック・アンド・ネック
2+
--Gold Pride - It's Neck and Neck!
3+
--Scripted by Satella
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
-- Activate
6+
--Activate
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_TOHAND)
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetTarget(s.thtg)
1616
e1:SetOperation(s.thop)
1717
c:RegisterEffect(e1)
18-
-- Special Summon 1 "Gold Pride" monster from your Extra Deck
18+
--Special Summon 1 "Gold Pride" monster from your Extra Deck
1919
local e2=Effect.CreateEffect(c)
2020
e2:SetDescription(aux.Stringid(id,1))
2121
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)

official/c90241276.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
-- 蛇眼の炎燐
2-
-- Snake-Eyes Populus
3-
-- Scripted by Satellaa
1+
--蛇眼の炎燐
2+
--Snake-Eyes Poplar
3+
--Scripted by Satellaa
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
-- Special Summon itself from the hand
6+
--Special Summon itself from the hand
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetTarget(s.sptg)
1616
e1:SetOperation(s.spop)
1717
c:RegisterEffect(e1)
18-
-- Search 1 "Snake-Eye" Spell/Trap
18+
--Search 1 "Snake-Eye" Spell/Trap
1919
local e2=Effect.CreateEffect(c)
2020
e2:SetDescription(aux.Stringid(id,1))
2121
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -29,7 +29,7 @@ function s.initial_effect(c)
2929
local e3=e2:Clone()
3030
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
3131
c:RegisterEffect(e3)
32-
-- Place 1 FIRE monster from your GY face-up in its owner Spell/Trap Zone
32+
--Place 1 FIRE monster from your GY face-up in its owner Spell/Trap Zone
3333
local e4=Effect.CreateEffect(c)
3434
e4:SetDescription(aux.Stringid(id,2))
3535
e4:SetCategory(CATEGORY_LEAVE_GRAVE)

official/c90411554.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp)
7171
end
7272
end
7373
function s.retcon(e,tp,eg,ep,ev,re,r,rp)
74-
return Duel.IsTurnPlayer(1-tp) and e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL)
74+
return Duel.IsTurnPlayer(1-tp) and e:GetHandler():IsSpecialSummoned()
7575
end
7676
function s.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
7777
if chk==0 then return true end

official/c90465153.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function s.initial_effect(c)
1616
local e1=Effect.CreateEffect(c)
1717
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
1818
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
19-
e1:SetCondition(function(e) return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabelObject():GetLabel()>=2 end)
19+
e1:SetCondition(function(e) return e:GetHandler():IsSynchroSummoned() and e:GetLabelObject():GetLabel()>=2 end)
2020
e1:SetOperation(s.atkop)
2121
e1:SetLabelObject(e0)
2222
c:RegisterEffect(e1)
@@ -65,11 +65,11 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
6565
end
6666
function s.tgcond(e)
6767
local c=e:GetHandler()
68-
return c:IsSummonType(SUMMON_TYPE_SYNCHRO) and c:HasFlagEffect(id)
68+
return c:IsSynchroSummoned() and c:HasFlagEffect(id)
6969
end
7070
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
7171
local c=e:GetHandler()
72-
return rp==1-tp and c:IsPreviousControler(tp) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsSummonType(SUMMON_TYPE_SYNCHRO)
72+
return rp==1-tp and c:IsPreviousControler(tp) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsSynchroSummoned()
7373
end
7474
function s.spfilter(c,e,tp)
7575
return (c:IsCode(CARD_VISAS_STARFROST) or (c:IsAttack(1500) and c:IsDefense(2100))) and c:IsFaceup()

official/c91749600.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
-- 王の呪 ヴァラ
1+
--王の呪 ヴァラ
22
--Vala, Seidhr of the Generaider Bosses
3-
-- Scripted by Hatter
3+
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:SetUniqueOnField(1,0,id)
7-
-- Special Summon this card from the hand or GY
7+
--Special Summon this card from the hand or GY
88
local e1=Effect.CreateEffect(c)
99
e1:SetDescription(aux.Stringid(id,0))
1010
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetTarget(s.hsptg)
1616
e1:SetOperation(s.hspop)
1717
c:RegisterEffect(e1)
18-
-- Special Summon 1 "Generaider" monster
18+
--Special Summon 1 "Generaider" monster
1919
local e2=Effect.CreateEffect(c)
2020
e2:SetDescription(aux.Stringid(id,1))
2121
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)

official/c92530005.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
8989
end
9090
function s.gyspcon(e,tp,eg,ep,ev,re,r,rp)
9191
local at=Duel.GetAttacker()
92-
return at:IsControler(1-tp) and at:IsSummonType(SUMMON_TYPE_SPECIAL) and Duel.GetAttackTarget()==nil
92+
return at:IsControler(1-tp) and at:IsSpecialSummoned() and Duel.GetAttackTarget()==nil
9393
end
9494
function s.tedfilter(c)
9595
return c:IsSetCard(SET_PERFORMAGE) and c:IsType(TYPE_PENDULUM)

official/c92714517.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
-- ビッグウェルカム・ラビュリンス
2-
-- Big Welcome Labrynth
3-
-- Scripted by Hatter
1+
--ビッグウェルカム・ラビュリンス
2+
--Big Welcome Labrynth
3+
--Scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
-- Special Summon 1 "Labrynth" monster
6+
--Special Summon 1 "Labrynth" monster
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND)
@@ -14,7 +14,7 @@ function s.initial_effect(c)
1414
e1:SetTarget(s.sptg)
1515
e1:SetOperation(s.spop)
1616
c:RegisterEffect(e1)
17-
-- Return 1 Fiend monster to the hand
17+
--Return 1 Fiend monster to the hand
1818
local e2=Effect.CreateEffect(c)
1919
e2:SetDescription(aux.Stringid(id,1))
2020
e2:SetCategory(CATEGORY_TOHAND)

official/c92812851.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function s.initial_effect(c)
2222
e2:SetProperty(EFFECT_FLAG_DELAY)
2323
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
2424
e2:SetCountLimit(1,id)
25-
e2:SetCondition(function(e) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) end)
25+
e2:SetCondition(function(e) return e:GetHandler():IsLinkSummoned() end)
2626
e2:SetTarget(s.thtg)
2727
e2:SetOperation(s.thop)
2828
c:RegisterEffect(e2)

0 commit comments

Comments
 (0)