Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-scripts-888
Commits
6ecf6421
Commit
6ecf6421
authored
Jun 26, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'LEDE' of
https://github.com/Fluorohydride/ygopro-scripts
parents
261057fe
501f8a81
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
85 additions
and
16 deletions
+85
-16
c10804018.lua
c10804018.lua
+3
-0
c18843291.lua
c18843291.lua
+1
-1
c18969888.lua
c18969888.lua
+4
-0
c19181420.lua
c19181420.lua
+8
-5
c21036656.lua
c21036656.lua
+2
-0
c23093373.lua
c23093373.lua
+3
-0
c24215921.lua
c24215921.lua
+2
-0
c25096909.lua
c25096909.lua
+1
-0
c25218587.lua
c25218587.lua
+1
-1
c26334139.lua
c26334139.lua
+2
-0
c26548709.lua
c26548709.lua
+2
-0
c27260347.lua
c27260347.lua
+2
-0
c27483935.lua
c27483935.lua
+3
-0
c28279365.lua
c28279365.lua
+1
-0
c30336082.lua
c30336082.lua
+4
-0
c31458630.lua
c31458630.lua
+2
-0
c32270212.lua
c32270212.lua
+1
-1
c38491852.lua
c38491852.lua
+1
-0
c39114494.lua
c39114494.lua
+3
-0
c39321065.lua
c39321065.lua
+2
-2
c4064925.lua
c4064925.lua
+2
-0
c42307760.lua
c42307760.lua
+1
-2
c43129357.lua
c43129357.lua
+2
-0
c45464587.lua
c45464587.lua
+2
-0
c46186135.lua
c46186135.lua
+1
-1
c4841383.lua
c4841383.lua
+5
-2
c52543404.lua
c52543404.lua
+2
-0
c52607696.lua
c52607696.lua
+2
-0
c53329234.lua
c53329234.lua
+2
-0
c53541822.lua
c53541822.lua
+3
-0
c53765052.lua
c53765052.lua
+3
-0
c57420265.lua
c57420265.lua
+2
-0
c5786513.lua
c5786513.lua
+1
-1
c58143852.lua
c58143852.lua
+3
-0
c6908161.lua
c6908161.lua
+2
-0
c7020743.lua
c7020743.lua
+4
-0
No files found.
c10804018.lua
View file @
6ecf6421
--粛声なる竜神サフィラ
function
c10804018
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
10804018
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
...
...
@@ -12,6 +13,7 @@ function c10804018.initial_effect(c)
e1
:
SetTarget
(
c10804018
.
drtg
)
e1
:
SetOperation
(
c10804018
.
drop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
10804018
,
1
))
e2
:
SetCategory
(
CATEGORY_HANDES
)
...
...
@@ -23,6 +25,7 @@ function c10804018.initial_effect(c)
e2
:
SetTarget
(
c10804018
.
hstg
)
e2
:
SetOperation
(
c10804018
.
hsop
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
10804018
,
2
))
e3
:
SetCategory
(
CATEGORY_TOHAND
)
...
...
c18843291.lua
View file @
6ecf6421
...
...
@@ -41,7 +41,7 @@ function s.initial_effect(c)
e4
:
SetTarget
(
s
.
retg
)
e4
:
SetOperation
(
s
.
reop
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
...
...
c18969888.lua
View file @
6ecf6421
...
...
@@ -2,6 +2,7 @@
function
c18969888
.
initial_effect
(
c
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_DRAGON
),
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_DRAGON
),
1
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
18969888
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
)
...
...
@@ -12,12 +13,14 @@ function c18969888.initial_effect(c)
e1
:
SetTarget
(
c18969888
.
postg
)
e1
:
SetOperation
(
c18969888
.
posop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_MUST_ATTACK
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
...
...
@@ -27,6 +30,7 @@ function c18969888.initial_effect(c)
e3
:
SetValue
(
1
)
e3
:
SetCondition
(
c18969888
.
actcon
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
18969888
,
2
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
...
...
c19181420.lua
View file @
6ecf6421
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x1a1
),
2
,
true
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_DESTROY
+
CATEGORY_TOHAND
)
...
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -22,6 +24,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
tdtg
)
e2
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -54,12 +57,12 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
2
=
Duel
.
GetMatchingGroup
(
s
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
2
)
if
tg
1
then
Duel
.
SendtoHand
(
tg
1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
1
)
local
tg
=
g2
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
2
)
if
tg
then
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
Duel
.
ShuffleHand
(
tp
)
end
end
...
...
c21036656.lua
View file @
6ecf6421
--円喚妖精キクロス
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
...
...
@@ -15,6 +16,7 @@ function s.initial_effect(c)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
c23093373.lua
View file @
6ecf6421
--天魔の聲選姫
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -15,12 +16,14 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
s
.
thcon
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e3
:
SetCondition
(
s
.
atcon
)
e3
:
SetValue
(
1
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetCategory
(
CATEGORY_TOHAND
)
...
...
c24215921.lua
View file @
6ecf6421
...
...
@@ -2,6 +2,7 @@
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
78371393
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
...
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
c25096909.lua
View file @
6ecf6421
--連慄砲固定式
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_TOEXTRA
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c25218587.lua
View file @
6ecf6421
...
...
@@ -15,7 +15,7 @@ function s.initial_effect(c)
--sset
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
...
...
c26334139.lua
View file @
6ecf6421
--廻る罪宝
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -11,6 +12,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
...
...
c26548709.lua
View file @
6ecf6421
--蕾禍ノ矢筈天牛
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
...
...
@@ -10,6 +11,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
c27260347.lua
View file @
6ecf6421
--蛇眼の大炎魔
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -11,6 +12,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
mvtg
)
e1
:
SetOperation
(
s
.
mvop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
c27483935.lua
View file @
6ecf6421
--古代の機械司令
function
c27483935
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
83104731
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
27483935
,
0
))
e1
:
SetCategory
(
CATEGORY_SUMMON
)
...
...
@@ -11,6 +12,7 @@ function c27483935.initial_effect(c)
e1
:
SetTarget
(
c27483935
.
stg
)
e1
:
SetOperation
(
c27483935
.
sop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
27483935
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -26,6 +28,7 @@ function c27483935.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
27483935
,
2
))
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
c28279365.lua
View file @
6ecf6421
--ブリンクアウト
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOEXTRA
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c30336082.lua
View file @
6ecf6421
--盃満ちる燦幻荘
function
c30336082
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
@@ -13,6 +15,7 @@ function c30336082.initial_effect(c)
e2
:
SetTarget
(
c30336082
.
indtg
)
e2
:
SetValue
(
c30336082
.
efilter
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
30336082
,
1
))
e3
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_HANDES
)
...
...
@@ -22,6 +25,7 @@ function c30336082.initial_effect(c)
e3
:
SetTarget
(
c30336082
.
thtg
)
e3
:
SetOperation
(
c30336082
.
thop
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
30336082
,
2
))
e4
:
SetCategory
(
CATEGORY_ATKCHANGE
)
...
...
c31458630.lua
View file @
6ecf6421
--幻奏協奏曲
function
c31458630
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -8,6 +9,7 @@ function c31458630.initial_effect(c)
e1
:
SetTarget
(
c31458630
.
target
)
e1
:
SetOperation
(
c31458630
.
activate
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
31458630
,
1
))
e2
:
SetCategory
(
CATEGORY_DRAW
)
...
...
c32270212.lua
View file @
6ecf6421
...
...
@@ -20,7 +20,7 @@ function s.cfilter2(c)
return
c
:
IsFaceup
()
and
aux
.
IsCodeListed
(
c
,
79791878
)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
...
...
c38491852.lua
View file @
6ecf6421
--ヴァルモニカ・インヴィターレ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOEXTRA
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
c39114494.lua
View file @
6ecf6421
--粛声なる祝福
function
c39114494
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
39114494
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -13,6 +15,7 @@ function c39114494.initial_effect(c)
e2
:
SetTarget
(
c39114494
.
thtg
)
e2
:
SetOperation
(
c39114494
.
thop
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
39114494
,
2
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
...
...
c39321065.lua
View file @
6ecf6421
...
...
@@ -62,8 +62,8 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
c
=
e
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
...
...
c4064925.lua
View file @
6ecf6421
--古代の進軍
function
c4064925
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
83104731
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -10,6 +11,7 @@ function c4064925.initial_effect(c)
e1
:
SetTarget
(
c4064925
.
target
)
e1
:
SetOperation
(
c4064925
.
activate
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
4064925
,
0
))
e2
:
SetCategory
(
CATEGORY_DRAW
)
...
...
c42307760.lua
View file @
6ecf6421
...
...
@@ -27,7 +27,6 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
defilter
(
c
,
tp
)
return
c
:
IsSummonLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
and
c
:
IsSummonPlayer
(
1
-
tp
)
end
...
...
@@ -81,4 +80,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
\ No newline at end of file
end
c43129357.lua
View file @
6ecf6421
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
2
,
s
.
lcheck
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
sptg1
)
e1
:
SetOperation
(
s
.
spop1
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
...
...
c45464587.lua
View file @
6ecf6421
...
...
@@ -4,6 +4,7 @@ function s.initial_effect(c)
aux
.
AddCodeList
(
c
,
60203670
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
@@ -17,6 +18,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
destg
)
e1
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TOEXTRA
+
CATEGORY_SPECIAL_SUMMON
)
...
...
c46186135.lua
View file @
6ecf6421
...
...
@@ -65,7 +65,7 @@ end
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
fg
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
local
fg
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
return
fg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c4841383.lua
View file @
6ecf6421
--蕾禍繚乱狂咲
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -15,6 +17,7 @@ function s.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -38,7 +41,7 @@ end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
0
if
b1
and
b2
then
...
...
@@ -55,7 +58,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
else
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
end
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c52543404.lua
View file @
6ecf6421
--蕾禍ノ鎧石竜
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
...
...
@@ -10,6 +11,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
...
...
c52607696.lua
View file @
6ecf6421
--幻惑のバリア -ミラージュフォース-
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -9,6 +10,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
c53329234.lua
View file @
6ecf6421
--微睡の罪宝-モーリアン
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
)
...
...
@@ -12,6 +13,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
c53541822.lua
View file @
6ecf6421
--古代の機械競闘
function
c53541822
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
83104731
)
--
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e0
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
...
...
@@ -13,6 +15,7 @@ function c53541822.initial_effect(c)
e1
:
SetTarget
(
c53541822
.
indtg
)
e1
:
SetValue
(
c53541822
.
efilter
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
c53765052.lua
View file @
6ecf6421
--原罪のディアベルゼ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
...
...
@@ -9,6 +10,7 @@ function s.initial_effect(c)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -17,6 +19,7 @@ function s.initial_effect(c)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetValue
(
s
.
aclimit
)
c
:
RegisterEffect
(
e2
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
c57420265.lua
View file @
6ecf6421
--フィッシュボーグ-バープナー
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_HANDES
+
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -11,6 +12,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
tgtg
)
e1
:
SetOperation
(
s
.
tgop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_DISABLE
)
...
...
c5786513.lua
View file @
6ecf6421
...
...
@@ -66,7 +66,7 @@ function s.baop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsRelateToBattle
()
then
Duel
.
NegateAttack
()
Duel
.
NegateAttack
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
...
...
c58143852.lua
View file @
6ecf6421
--幻惑の見習い魔術師
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
...
...
@@ -10,6 +11,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -23,6 +25,7 @@ function s.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
c6908161.lua
View file @
6ecf6421
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
99
,
s
.
lcheck
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -13,6 +14,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
accon
)
e1
:
SetOperation
(
s
.
acop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
...
...
c7020743.lua
View file @
6ecf6421
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddXyzProcedure
(
c
,
nil
,
1
,
2
)
c
:
EnableReviveLimit
()
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -13,6 +14,7 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
ovtg
)
e1
:
SetOperation
(
s
.
ovop
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -25,6 +27,7 @@ function s.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
@@ -35,6 +38,7 @@ function s.initial_effect(c)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e5
)
--
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e6
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment