Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
0
Merge Requests
0
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
yks
pre-release-database-cdb
Commits
110b2049
Commit
110b2049
authored
Jun 26, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script fix
parent
6752ff72
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
2 deletions
+22
-2
script/c100222001.lua
script/c100222001.lua
+5
-0
script/c100222002.lua
script/c100222002.lua
+4
-0
script/c100222003.lua
script/c100222003.lua
+6
-1
script/c100222004.lua
script/c100222004.lua
+4
-0
script/c100222005.lua
script/c100222005.lua
+3
-1
No files found.
script/c100222001.lua
View file @
110b2049
--嘆きの石版
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
-- equip
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetCategory
(
CATEGORY_EQUIP
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -10,6 +11,7 @@ function s.initial_effect(c)
e0
:
SetTarget
(
s
.
target
)
e0
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e0
)
-- lock
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
...
...
@@ -26,6 +28,7 @@ function s.initial_effect(c)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
c
:
RegisterEffect
(
e4
)
-- search
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -36,6 +39,7 @@ function s.initial_effect(c)
e5
:
SetTarget
(
s
.
thtg
)
e5
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e5
)
-- inflict damage
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e6
:
SetCategory
(
CATEGORY_DAMAGE
)
...
...
@@ -46,6 +50,7 @@ function s.initial_effect(c)
e6
:
SetTarget
(
s
.
damtg
)
e6
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e6
)
-- equip limit
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c100222002.lua
View file @
110b2049
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddFusionProcFunRep
(
c
,
s
.
ffilter
,
2
,
true
)
c
:
EnableReviveLimit
()
-- indestructable
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -10,6 +11,7 @@ function s.initial_effect(c)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
-- summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SUMMON
)
...
...
@@ -19,6 +21,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sumtg
)
e2
:
SetOperation
(
s
.
sumop
)
c
:
RegisterEffect
(
e2
)
-- recycle
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -29,6 +32,7 @@ function s.initial_effect(c)
e4
:
SetTarget
(
s
.
thtg
)
e4
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e4
)
-- maintain
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
script/c100222003.lua
View file @
110b2049
--死靈の殘像
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
-- equip
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -9,12 +10,14 @@ function s.initial_effect(c)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e1
)
-- equip limit
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetValue
(
s
.
eqlimit
)
c
:
RegisterEffect
(
e2
)
-- fusion
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
...
...
@@ -25,6 +28,7 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
ftg
)
e3
:
SetOperation
(
s
.
fop
)
c
:
RegisterEffect
(
e3
)
-- spsummon token
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
...
...
@@ -35,6 +39,7 @@ function s.initial_effect(c)
e4
:
SetTarget
(
s
.
tokentg
)
e4
:
SetOperation
(
s
.
tokenop
)
c
:
RegisterEffect
(
e4
)
-- decrease attack
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCategory
(
CATEGORY_ATKCHANGE
)
...
...
@@ -172,7 +177,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
1
-
tp
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
ec
:
GetAttack
()
>
0
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
1
-
tp
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
script/c100222004.lua
View file @
110b2049
--死靈の盾
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
-- activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
-- negate attack
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -14,6 +16,7 @@ function s.initial_effect(c)
e2
:
SetCost
(
s
.
cost
)
e2
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e2
)
-- negate effect
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_NEGATE
)
...
...
@@ -26,6 +29,7 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
negtg
)
e3
:
SetOperation
(
s
.
negop
)
c
:
RegisterEffect
(
e3
)
-- self destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e4
:
SetCategory
(
CATEGORY_TOGRAVE
)
...
...
script/c100222005.lua
View file @
110b2049
--再生の海
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
-- activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
-- spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -28,7 +30,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
fid
=
tc
:
GetFieldID
()
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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