Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
Dark_Zane
MDPro3
Commits
ccfa5109
Commit
ccfa5109
authored
Jul 13, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
f484c5dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Assets/ScriptableObjects/Items.cs
Assets/ScriptableObjects/Items.cs
+9
-0
No files found.
Assets/ScriptableObjects/Items.cs
View file @
ccfa5109
...
@@ -342,6 +342,8 @@ namespace MDPro3
...
@@ -342,6 +342,8 @@ namespace MDPro3
public
string
GetSameCode
(
ItemType
type
,
string
mapCode
)
public
string
GetSameCode
(
ItemType
type
,
string
mapCode
)
{
{
if
(
mapCode
.
Length
!=
7
)
mapCode
=
"1090001"
;
if
(
type
==
ItemType
.
Grave
)
if
(
type
==
ItemType
.
Grave
)
return
"110"
+
mapCode
.
Substring
(
3
);
return
"110"
+
mapCode
.
Substring
(
3
);
else
if
(
type
==
ItemType
.
Stand
)
else
if
(
type
==
ItemType
.
Stand
)
...
@@ -366,6 +368,13 @@ namespace MDPro3
...
@@ -366,6 +368,13 @@ namespace MDPro3
}
}
return
item
.
path
;
return
item
.
path
;
}
}
if
(
type
==
ItemType
.
Mat
)
{
if
(
player
==
0
)
lastMat0
=
code
;
else
lastMat1
=
code
;
}
if
(
code
==
sameCode
.
ToString
())
if
(
code
==
sameCode
.
ToString
())
code
=
GetSameCode
(
type
,
player
==
0
?
lastMat0
:
lastMat1
);
code
=
GetSameCode
(
type
,
player
==
0
?
lastMat0
:
lastMat1
);
...
...
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