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
e2db11d3
Commit
e2db11d3
authored
Apr 20, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
player icon bug fixing
parent
e589390d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
11 deletions
+28
-11
Assets/Scripts/MDPro3/Servants/OcgCore.cs
Assets/Scripts/MDPro3/Servants/OcgCore.cs
+21
-4
Assets/Scripts/MDPro3/Servants/Room.cs
Assets/Scripts/MDPro3/Servants/Room.cs
+7
-7
No files found.
Assets/Scripts/MDPro3/Servants/OcgCore.cs
View file @
e2db11d3
...
@@ -5270,15 +5270,32 @@ namespace MDPro3
...
@@ -5270,15 +5270,32 @@ namespace MDPro3
{
{
if
(
condition
==
Condition
.
Duel
)
if
(
condition
==
Condition
.
Duel
)
{
{
var
selfType
=
Program
.
I
().
room
.
selfType
;
if
(
player0Name
.
text
==
name_0
)
if
(
player0Name
.
text
==
name_0
)
{
{
player0Frame.material = Appearance.duelFrameMat0;
if
(
selfType
==
0
||
selfType
==
2
)
player0Frame.sprite = Appearance.duelFace0;
{
player0Frame
.
material
=
Appearance
.
duelFrameMat0
;
player0Frame
.
sprite
=
Appearance
.
duelFace0
;
}
else
{
player0Frame
.
material
=
Appearance
.
duelFrameMat0Tag
;
player0Frame
.
sprite
=
Appearance
.
duelFace0Tag
;
}
}
}
else
else
{
{
player0Frame.material = Appearance.duelFrameMat0Tag;
if
(
selfType
==
0
||
selfType
==
2
)
player0Frame.sprite = Appearance.duelFace0Tag;
{
player0Frame
.
material
=
Appearance
.
duelFrameMat0Tag
;
player0Frame
.
sprite
=
Appearance
.
duelFace0Tag
;
}
else
{
player0Frame
.
material
=
Appearance
.
duelFrameMat0
;
player0Frame
.
sprite
=
Appearance
.
duelFace0
;
}
}
}
if
(
player1Name
.
text
==
name_1
)
if
(
player1Name
.
text
==
name_1
)
{
{
...
...
Assets/Scripts/MDPro3/Servants/Room.cs
View file @
e2db11d3
...
@@ -582,15 +582,15 @@ namespace MDPro3
...
@@ -582,15 +582,15 @@ namespace MDPro3
{
{
if
(
selfType
==
player
)
if
(
selfType
==
player
)
position
=
PlayerPosition
.
Me
;
position
=
PlayerPosition
.
Me
;
else
if
((
selfType
==
0
&&
player
==
1
)
else
if
((
selfType
+
player
)
%
4
==
1
)
||
(
selfType
==
1
&&
player
==
0
)
||
(
selfType
==
2
&&
player
==
3
)
||
(
selfType
==
3
&&
player
==
2
))
position
=
PlayerPosition
.
MyTag
;
position
=
PlayerPosition
.
MyTag
;
else
if
(
player
==
0
||
player
==
2
)
position
=
PlayerPosition
.
Op
;
else
else
position
=
PlayerPosition
.
OpTag
;
{
if
(
player
==
0
||
player
==
2
)
position
=
PlayerPosition
.
Op
;
else
position
=
PlayerPosition
.
OpTag
;
}
}
}
else
else
{
{
...
...
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