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
292e5836
Commit
292e5836
authored
Oct 30, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add FLAG_ID_CHAINING
parent
ee23e105
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
constant.lua
constant.lua
+2
-0
utility.lua
utility.lua
+1
-1
No files found.
constant.lua
View file @
292e5836
...
@@ -863,3 +863,5 @@ ACTIVITY_CHAIN =7 -- only available in custom counter
...
@@ -863,3 +863,5 @@ ACTIVITY_CHAIN =7 -- only available in custom counter
CARD_MARINE_DOLPHIN
=
78734254
--海洋海豚(double name)
CARD_MARINE_DOLPHIN
=
78734254
--海洋海豚(double name)
CARD_TWINKLE_MOSS
=
13857930
--光輝苔蘚(double name)
CARD_TWINKLE_MOSS
=
13857930
--光輝苔蘚(double name)
CARD_QUESTION
=
38723936
--谜题
CARD_QUESTION
=
38723936
--谜题
--Special flag effect id
FLAG_ID_CHAINING
=
1
utility.lua
View file @
292e5836
...
@@ -595,7 +595,7 @@ function Auxiliary.dscon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -595,7 +595,7 @@ function Auxiliary.dscon(e,tp,eg,ep,ev,re,r,rp)
end
end
--flag effect for spell counter
--flag effect for spell counter
function
Auxiliary
.
chainreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
Auxiliary
.
chainreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetFlagEffect
(
1
)
==
0
then
if
e
:
GetHandler
():
GetFlagEffect
(
FLAG_ID_CHAINING
)
==
0
then
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_CHAIN
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
1
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
+
RESET_CHAIN
,
0
,
1
)
end
end
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