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
5d3f14a6
Commit
5d3f14a6
authored
Dec 09, 2023
by
FluerLee
Committed by
GitHub
Dec 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 5 kinds of 聖剣 (#2272)
parent
3f3aa080
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
10 deletions
+59
-10
c14745409.lua
c14745409.lua
+10
-2
c23562407.lua
c23562407.lua
+10
-2
c41359411.lua
c41359411.lua
+10
-2
c7452945.lua
c7452945.lua
+10
-2
c83438826.lua
c83438826.lua
+19
-2
No files found.
c14745409.lua
View file @
5d3f14a6
--聖剣ガラティーン
--聖剣ガラティーン
--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
...
@@ -42,7 +43,7 @@ function c14745409.initial_effect(c)
...
@@ -42,7 +43,7 @@ function c14745409.initial_effect(c)
e5
:
SetCountLimit
(
1
,
14745409
)
e5
:
SetCountLimit
(
1
,
14745409
)
e5
:
SetCondition
(
c14745409
.
eqcon
)
e5
:
SetCondition
(
c14745409
.
eqcon
)
e5
:
SetTarget
(
c14745409
.
eqtg
)
e5
:
SetTarget
(
c14745409
.
eqtg
)
e5
:
SetOperation
(
c14745409
.
operation
)
e5
:
SetOperation
(
c14745409
.
operation
2
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c14745409
.
eqlimit
(
e
,
c
)
function
c14745409
.
eqlimit
(
e
,
c
)
...
@@ -61,7 +62,7 @@ end
...
@@ -61,7 +62,7 @@ end
function
c14745409
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14745409
.
operation
(
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
c
:
IsRelateToEffect
(
e
)
and
tc
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
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
...
@@ -103,3 +104,10 @@ function c14745409.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -103,3 +104,10 @@ function c14745409.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c14745409
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
\ No newline at end of file
c23562407.lua
View file @
5d3f14a6
--聖剣カリバーン
--聖剣カリバーン
--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
...
@@ -43,7 +44,7 @@ function c23562407.initial_effect(c)
...
@@ -43,7 +44,7 @@ function c23562407.initial_effect(c)
e5
:
SetCountLimit
(
1
,
23562407
)
e5
:
SetCountLimit
(
1
,
23562407
)
e5
:
SetCondition
(
c23562407
.
eqcon
)
e5
:
SetCondition
(
c23562407
.
eqcon
)
e5
:
SetTarget
(
c23562407
.
eqtg
)
e5
:
SetTarget
(
c23562407
.
eqtg
)
e5
:
SetOperation
(
c23562407
.
operation
)
e5
:
SetOperation
(
c23562407
.
operation
2
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c23562407
.
eqlimit
(
e
,
c
)
function
c23562407
.
eqlimit
(
e
,
c
)
...
@@ -62,7 +63,7 @@ end
...
@@ -62,7 +63,7 @@ end
function
c23562407
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23562407
.
operation
(
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
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
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
...
@@ -92,3 +93,10 @@ function c23562407.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -92,3 +93,10 @@ function c23562407.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c23562407
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
\ No newline at end of file
c41359411.lua
View file @
5d3f14a6
--聖剣クラレント
--聖剣クラレント
--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
...
@@ -37,7 +38,7 @@ function c41359411.initial_effect(c)
...
@@ -37,7 +38,7 @@ function c41359411.initial_effect(c)
e4
:
SetCountLimit
(
1
,
41359411
)
e4
:
SetCountLimit
(
1
,
41359411
)
e4
:
SetCondition
(
c41359411
.
eqcon
)
e4
:
SetCondition
(
c41359411
.
eqcon
)
e4
:
SetTarget
(
c41359411
.
eqtg
)
e4
:
SetTarget
(
c41359411
.
eqtg
)
e4
:
SetOperation
(
c41359411
.
operation
)
e4
:
SetOperation
(
c41359411
.
operation
2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c41359411
.
eqlimit
(
e
,
c
)
function
c41359411
.
eqlimit
(
e
,
c
)
...
@@ -56,7 +57,7 @@ end
...
@@ -56,7 +57,7 @@ end
function
c41359411
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41359411
.
operation
(
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
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
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
...
@@ -91,3 +92,10 @@ function c41359411.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -91,3 +92,10 @@ function c41359411.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c41359411
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
\ No newline at end of file
c7452945.lua
View file @
5d3f14a6
--天命の聖剣
--天命の聖剣
--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
...
@@ -34,7 +35,7 @@ function c7452945.initial_effect(c)
...
@@ -34,7 +35,7 @@ function c7452945.initial_effect(c)
e4
:
SetCountLimit
(
1
,
7452945
)
e4
:
SetCountLimit
(
1
,
7452945
)
e4
:
SetCondition
(
c7452945
.
eqcon
)
e4
:
SetCondition
(
c7452945
.
eqcon
)
e4
:
SetTarget
(
c7452945
.
eqtg
)
e4
:
SetTarget
(
c7452945
.
eqtg
)
e4
:
SetOperation
(
c7452945
.
operation
)
e4
:
SetOperation
(
c7452945
.
operation
2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c7452945
.
eqlimit
(
e
,
c
)
function
c7452945
.
eqlimit
(
e
,
c
)
...
@@ -53,7 +54,7 @@ end
...
@@ -53,7 +54,7 @@ end
function
c7452945
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c7452945
.
operation
(
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
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
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
...
@@ -76,3 +77,10 @@ function c7452945.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -76,3 +77,10 @@ function c7452945.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c7452945
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
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
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
\ No newline at end of file
c83438826.lua
View file @
5d3f14a6
--聖剣アロンダイト
--聖剣アロンダイト
--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
...
@@ -38,7 +39,7 @@ function c83438826.initial_effect(c)
...
@@ -38,7 +39,7 @@ function c83438826.initial_effect(c)
e5
:
SetCountLimit
(
1
,
83438826
)
e5
:
SetCountLimit
(
1
,
83438826
)
e5
:
SetCondition
(
c83438826
.
eqcon
)
e5
:
SetCondition
(
c83438826
.
eqcon
)
e5
:
SetTarget
(
c83438826
.
eqtg
)
e5
:
SetTarget
(
c83438826
.
eqtg
)
e5
:
SetOperation
(
c83438826
.
operation
)
e5
:
SetOperation
(
c83438826
.
operation
2
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c83438826
.
eqlimit
(
e
,
c
)
function
c83438826
.
eqlimit
(
e
,
c
)
...
@@ -57,7 +58,7 @@ end
...
@@ -57,7 +58,7 @@ end
function
c83438826
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83438826
.
operation
(
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
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
c
:
CheckUniqueOnField
(
tp
)
then
Duel
.
Equip
(
tp
,
c
,
tc
)
Duel
.
Equip
(
tp
,
c
,
tc
)
end
end
end
end
...
@@ -104,3 +105,19 @@ function c83438826.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -104,3 +105,19 @@ function c83438826.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c83438826
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
c
:
CheckUniqueOnField
(
tp
)
then
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
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