Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
724b80e3
Commit
724b80e3
authored
Nov 09, 2024
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update glitchylib_regeff.lua
parent
86308c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
expansions/script/glitchylib_regeff.lua
expansions/script/glitchylib_regeff.lua
+6
-4
No files found.
expansions/script/glitchylib_regeff.lua
View file @
724b80e3
...
@@ -263,10 +263,11 @@ if not global_card_effect_table_global_check then
...
@@ -263,10 +263,11 @@ if not global_card_effect_table_global_check then
local
previous_sre
=
self_reference_effect
local
previous_sre
=
self_reference_effect
if
aux
.
GetValueType
(
x
[
1
])
==
"Effect"
then
if
aux
.
GetValueType
(
x
[
1
])
==
"Effect"
then
self_reference_effect
=
x
[
1
]
self_reference_effect
=
x
[
1
]
self_reference_tp
=
self_reference_effect
:
GetHandlerPlayer
()
end
end
local
res
=
val
(
...
)
local
res
=
{
val
(
...
)}
self_reference_effect
=
previous_sre
self_reference_effect
=
previous_sre
return
res
return
table.unpack
(
res
)
end
end
e
:
SetValue
(
newval
)
e
:
SetValue
(
newval
)
end
end
...
@@ -387,10 +388,11 @@ if not global_duel_effect_table_global_check then
...
@@ -387,10 +388,11 @@ if not global_duel_effect_table_global_check then
local
previous_sre
=
self_reference_effect
local
previous_sre
=
self_reference_effect
if
aux
.
GetValueType
(
x
[
1
])
==
"Effect"
then
if
aux
.
GetValueType
(
x
[
1
])
==
"Effect"
then
self_reference_effect
=
x
[
1
]
self_reference_effect
=
x
[
1
]
self_reference_tp
=
self_reference_effect
:
GetHandlerPlayer
()
end
end
local
res
=
val
(
...
)
local
res
=
{
val
(
...
)}
self_reference_effect
=
previous_sre
self_reference_effect
=
previous_sre
return
res
return
table.unpack
(
res
)
end
end
e
:
SetValue
(
newval
)
e
:
SetValue
(
newval
)
...
...
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