Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
nanahira
ygopro-scripts
Commits
7c918ad9
You need to sign in or sign up before continuing.
Commit
7c918ad9
authored
Dec 04, 2023
by
zengsxing
Committed by
GitHub
Dec 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update utility.lua (#2260)
为Auxiliary.sumreg添加了变里侧重置和一时除外重置 为灵魂怪兽添加了一时除外重置
parent
cc2a46b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utility.lua
utility.lua
+2
-2
No files found.
utility.lua
View file @
7c918ad9
...
@@ -180,7 +180,7 @@ function Auxiliary.SpiritReturnReg(e,tp,eg,ep,ev,re,r,rp)
...
@@ -180,7 +180,7 @@ function Auxiliary.SpiritReturnReg(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
0xd
6
e0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0xd
7
e0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetCondition
(
Auxiliary
.
SpiritReturnConditionForced
)
e1
:
SetCondition
(
Auxiliary
.
SpiritReturnConditionForced
)
e1
:
SetTarget
(
Auxiliary
.
SpiritReturnTargetForced
)
e1
:
SetTarget
(
Auxiliary
.
SpiritReturnTargetForced
)
e1
:
SetOperation
(
Auxiliary
.
SpiritReturnOperation
)
e1
:
SetOperation
(
Auxiliary
.
SpiritReturnOperation
)
...
@@ -704,7 +704,7 @@ function Auxiliary.sumreg(e,tp,eg,ep,ev,re,r,rp)
...
@@ -704,7 +704,7 @@ function Auxiliary.sumreg(e,tp,eg,ep,ev,re,r,rp)
local
code
=
e
:
GetLabel
()
local
code
=
e
:
GetLabel
()
while
tc
do
while
tc
do
if
tc
:
GetOriginalCode
()
==
code
then
if
tc
:
GetOriginalCode
()
==
code
then
tc
:
RegisterFlagEffect
(
code
,
RESET_EVENT
+
0x1ec0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
:
RegisterFlagEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
tc
=
eg
:
GetNext
()
tc
=
eg
:
GetNext
()
end
end
...
...
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