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
3
Merge Requests
3
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
16c08548
Commit
16c08548
authored
Jul 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc
parent
acb378fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
procedure.lua
procedure.lua
+8
-5
No files found.
procedure.lua
View file @
16c08548
...
...
@@ -2267,7 +2267,7 @@ FusionSpell = {}
--- A check function for Fusion FCheckAdditional/FGoalCheckAdditional.
--- Parameters:
--- • tp integer — player ID (0 or 1)
--- • mg Group — selected materials from fusion spell, exclud
e
materials from Chain Material or EXTRA_FUSION_MATERIAL
--- • mg Group — selected materials from fusion spell, exclud
ing
materials from Chain Material or EXTRA_FUSION_MATERIAL
--- • fc Card — the Fusion Monster being summoned
--- • mg_all Group — all selected materials
--- • e Effect — the fusion effect object
...
...
@@ -2285,7 +2285,8 @@ FusionSpell = {}
--- Location(s) to look for materials before knowing which ones will be used.
--- Defaults to `LOCATION_HAND | LOCATION_MZONE`.
--- @field pre_select_mat_location? integer|FUSION_SPELL_PRE_SELECT_MAT_LOCATION_FUNCTION
--- List of operations to perform on materials based on location.
--- Specifies handling operations for Fusion Materials in designated locations.
--- Matches locations in list order, executes the first valid operation, then stops processing.
--- Defaults to:
--- ```lua
--- {
...
...
@@ -2294,7 +2295,7 @@ FusionSpell = {}
--- }
--- ```
--- @field mat_operation_code_map? {[integer]:FUSION_OPERATION_CODE}[]
---
Location(s) to look for materials after they'
ve been selected.
---
Extra location(s) to look for materials after some of them ha
ve been selected.
--- @field post_select_mat_location? integer
--- Optional quick check to validate the selected material group.
--- @field additional_fcheck? FUSION_FGCHECK_FUNCTION
...
...
@@ -2313,7 +2314,7 @@ FusionSpell = {}
--- @field extra_target? fun(e:Effect, tp:integer, eg:Group, ep:integer, ev:integer, re:Effect, r:integer, rp:integer, chk:integer):nil
--- Opponent-side locations to search for materials before they are selected.
--- @field pre_select_mat_opponent_location? integer|FUSION_SPELL_PRE_SELECT_MAT_LOCATION_FUNCTION
--- Opponent-side locations to search for materials after
they are
selected.
--- Opponent-side locations to search for materials after
some of them have been
selected.
--- @field post_select_mat_opponent_location? integer
--- Function that returns a card that must be included in the fusion materials
--- @field gc? fun(e:Effect):Card|nil
...
...
@@ -2324,7 +2325,7 @@ FusionSpell = {}
--- @field fusion_spell_matfilter? FUSION_SPELL_MATFILTER_FUNCTION
--- Whether skip the IsCanBeSpecialSummoned check, for クロック・リザード, default false
--- @field skip_summon_check? boolean
--- Whether skip the location count check, default false, used for 叛逆の堕天使, only works for target function
--- Whether skip the location count check, default false, used for 叛逆の堕天使, only works for
cost/
target function
--- @field skip_location_count_check? boolean
...
...
@@ -3076,8 +3077,10 @@ end
-- different stage for call back
---@alias FUSION_SPELL_CALLBACK_STAGE integer
-- Right before the Fusion Monster is officially summoned
-- Called before Duel.SpecialSummonComplete()
FusionSpell
.
STAGE_BEFORE_SUMMON_COMPLETE
=
1
-- Right before the entire Fusion procedure finishes
-- Called before tc:CompleteProcedure()
FusionSpell
.
STAGE_BEFORE_PROCEDURE_COMPLETE
=
2
-- After the summon operation succeeds
FusionSpell
.
STAGE_AT_SUMMON_OPERATION_FINISH
=
3
...
...
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