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
4
Merge Requests
4
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
0658af02
Commit
0658af02
authored
Dec 10, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 聖剣
parent
5d3f14a6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
23 deletions
+14
-23
c14745409.lua
c14745409.lua
+3
-3
c23562407.lua
c23562407.lua
+3
-3
c41359411.lua
c41359411.lua
+3
-3
c7452945.lua
c7452945.lua
+3
-3
c83438826.lua
c83438826.lua
+2
-11
No files found.
c14745409.lua
View file @
0658af02
--聖剣ガラティーン
--聖剣ガラティーン
--Fixed by Lee
function
c14745409
.
initial_effect
(
c
)
function
c14745409
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
14745409
)
c
:
SetUniqueOnField
(
1
,
0
,
14745409
)
--Activate
--Activate
...
@@ -107,7 +106,8 @@ end
...
@@ -107,7 +106,8 @@ end
function
c14745409
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14745409
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSetCard
(
0x107a
)
and
tc
:
IsRace
(
RACE_WARRIOR
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x107a
)
and
c14745409
.
eqlimit
(
nil
,
c
)
and
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
\ No newline at end of file
c23562407.lua
View file @
0658af02
--聖剣カリバーン
--聖剣カリバーン
--Fixed by Lee
function
c23562407
.
initial_effect
(
c
)
function
c23562407
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
23562407
)
c
:
SetUniqueOnField
(
1
,
0
,
23562407
)
--Activate
--Activate
...
@@ -96,7 +95,8 @@ end
...
@@ -96,7 +95,8 @@ end
function
c23562407
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23562407
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSetCard
(
0x107a
)
and
tc
:
IsRace
(
RACE_WARRIOR
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x107a
)
and
c23562407
.
eqlimit
(
nil
,
c
)
and
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
\ No newline at end of file
c41359411.lua
View file @
0658af02
--聖剣クラレント
--聖剣クラレント
--Fixed by Lee
function
c41359411
.
initial_effect
(
c
)
function
c41359411
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
41359411
)
c
:
SetUniqueOnField
(
1
,
0
,
41359411
)
--Activate
--Activate
...
@@ -95,7 +94,8 @@ end
...
@@ -95,7 +94,8 @@ end
function
c41359411
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41359411
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSetCard
(
0x107a
)
and
tc
:
IsRace
(
RACE_WARRIOR
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x107a
)
and
c41359411
.
eqlimit
(
nil
,
c
)
and
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
\ No newline at end of file
c7452945.lua
View file @
0658af02
--天命の聖剣
--天命の聖剣
--Fixed by Lee
function
c7452945
.
initial_effect
(
c
)
function
c7452945
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
7452945
)
c
:
SetUniqueOnField
(
1
,
0
,
7452945
)
--Activate
--Activate
...
@@ -80,7 +79,8 @@ end
...
@@ -80,7 +79,8 @@ end
function
c7452945
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c7452945
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSetCard
(
0x107a
)
and
tc
:
IsRace
(
RACE_WARRIOR
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x107a
)
and
c7452945
.
eqlimit
(
nil
,
c
)
and
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
\ No newline at end of file
c83438826.lua
View file @
0658af02
--聖剣アロンダイト
--聖剣アロンダイト
--Fixed by Lee
function
c83438826
.
initial_effect
(
c
)
function
c83438826
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
83438826
)
c
:
SetUniqueOnField
(
1
,
0
,
83438826
)
--Activate
--Activate
...
@@ -108,16 +107,8 @@ end
...
@@ -108,16 +107,8 @@ end
function
c83438826
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83438826
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsControler
(
tp
)
and
c83438826
.
eqlimit
(
nil
,
c
)
and
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
c83438826
.
eqlimit2
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
function
c83438826
.
eqlimit2
(
e
,
c
)
return
e
:
GetOwner
()
==
c
end
\ No newline at end of file
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