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
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
Vee4
ygopro-scripts-888
Commits
c837c29c
Commit
c837c29c
authored
Apr 28, 2022
by
mercury233
Committed by
GitHub
Apr 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gain effect owner (#1865)
parent
1719f4b8
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
c31772684.lua
c31772684.lua
+1
-1
c32013448.lua
c32013448.lua
+2
-2
c4647954.lua
c4647954.lua
+1
-1
c49394035.lua
c49394035.lua
+1
-1
c49477180.lua
c49477180.lua
+1
-1
c6628343.lua
c6628343.lua
+2
-2
c67267333.lua
c67267333.lua
+1
-1
c68258355.lua
c68258355.lua
+1
-1
c70491682.lua
c70491682.lua
+1
-1
No files found.
c31772684.lua
View file @
c837c29c
...
@@ -52,7 +52,7 @@ function c31772684.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c31772684.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
31772684
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
31772684
,
1
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
c32013448.lua
View file @
c837c29c
...
@@ -30,7 +30,7 @@ function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x10cf
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x10cf
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
32013448
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
32013448
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
@@ -41,7 +41,7 @@ function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c32013448.mtop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c32013448
.
rmop
)
e1
:
SetOperation
(
c32013448
.
rmop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e1
,
true
)
rc
:
RegisterEffect
(
e1
,
true
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
r
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
32013448
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
32013448
,
1
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
c4647954.lua
View file @
c837c29c
...
@@ -31,7 +31,7 @@ end
...
@@ -31,7 +31,7 @@ end
function
c4647954
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4647954
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
4647954
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
4647954
,
1
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
...
...
c49394035.lua
View file @
c837c29c
...
@@ -56,7 +56,7 @@ function c49394035.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c49394035.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
c49477180.lua
View file @
c837c29c
...
@@ -59,7 +59,7 @@ function c49477180.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c49477180.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
49477180
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
49477180
,
1
))
e1
:
SetCategory
(
CATEGORY_HANDES
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_HANDES
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
c6628343.lua
View file @
c837c29c
...
@@ -30,7 +30,7 @@ function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x10cf
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x10cf
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
6628343
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
6628343
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
@@ -41,7 +41,7 @@ function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c6628343.mtop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c6628343
.
rmop
)
e1
:
SetOperation
(
c6628343
.
rmop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e1
,
true
)
rc
:
RegisterEffect
(
e1
,
true
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
r
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
6628343
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
6628343
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
...
...
c67267333.lua
View file @
c837c29c
...
@@ -54,7 +54,7 @@ function c67267333.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c67267333.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
67267333
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
67267333
,
1
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
c68258355.lua
View file @
c837c29c
...
@@ -32,7 +32,7 @@ end
...
@@ -32,7 +32,7 @@ end
function
c68258355
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68258355
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
68258355
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
68258355
,
1
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
...
...
c70491682.lua
View file @
c837c29c
...
@@ -59,7 +59,7 @@ function c70491682.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c70491682.mtop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
g
=
eg
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x106
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
not
rc
then
return
end
if
not
rc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
r
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetCode
(
EFFECT_BATTLE_DESTROY_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetValue
(
LOCATION_REMOVED
)
...
...
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