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
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
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
赤子奈落
MDPro3
Commits
7c9d1d2e
Commit
7c9d1d2e
authored
Feb 15, 2026
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
52da2f90
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
20 deletions
+18
-20
Assets/Scripts/MDPro3/Duel/GameCard.cs
Assets/Scripts/MDPro3/Duel/GameCard.cs
+2
-2
Assets/Scripts/MDPro3/Duel/Message/DuelMessage.cs
Assets/Scripts/MDPro3/Duel/Message/DuelMessage.cs
+2
-2
Assets/Scripts/MDPro3/Helper/ABLoader.cs
Assets/Scripts/MDPro3/Helper/ABLoader.cs
+5
-1
Assets/Scripts/MDPro3/Helper/TimelineHelper.cs
Assets/Scripts/MDPro3/Helper/TimelineHelper.cs
+2
-2
Assets/Scripts/MDPro3/Servant/CutinViewer.cs
Assets/Scripts/MDPro3/Servant/CutinViewer.cs
+6
-12
Assets/Scripts/MDPro3/UI/SelectionButton/SelectionToggle_Cutin.cs
...cripts/MDPro3/UI/SelectionButton/SelectionToggle_Cutin.cs
+1
-1
No files found.
Assets/Scripts/MDPro3/Duel/GameCard.cs
View file @
7c9d1d2e
...
...
@@ -1338,7 +1338,7 @@ namespace MDPro3
{
AudioManager
.
PlaySE
(
se
);
bool
cutin
=
CutinViewer
.
HasCutin
(
data
.
Id
);
bool
cutin
=
CutinViewer
.
CutinExist
(
data
.
Id
);
sequence
.
Pause
();
if
(
cutin
)
{
...
...
@@ -1361,7 +1361,7 @@ namespace MDPro3
{
AudioManager
.
PlaySE
(
se
);
sequence
.
Pause
();
bool
cutin
=
CutinViewer
.
HasCutin
(
data
.
Id
);
bool
cutin
=
CutinViewer
.
CutinExist
(
data
.
Id
);
if
(
cutin
)
await
CutinViewer
.
Play
(
data
.
Id
,
(
int
)
p
.
controller
);
if
(
data
.
IsHighLevel
())
...
...
Assets/Scripts/MDPro3/Duel/Message/DuelMessage.cs
View file @
7c9d1d2e
...
...
@@ -870,7 +870,7 @@ namespace MDPro3.Duel
AudioManager
.
PlaySE
(
se
);
int
shakeLevel
=
0
;
if
(
CutinViewer
.
HasCutin
(
card
.
GetData
().
Id
))
if
(
CutinViewer
.
CutinExist
(
card
.
GetData
().
Id
))
shakeLevel
=
1
;
if
(
card
.
GetData
().
Level
>
4
)
shakeLevel
=
1
;
...
...
@@ -998,7 +998,7 @@ namespace MDPro3.Duel
Core
.
GetUI
<
OcgCoreUI
>().
CardDescription
.
Show
(
card
,
card
.
GetMaterial
());
int
shakeLevel
=
0
;
if
(
CutinViewer
.
HasCutin
(
card
.
GetData
().
Id
))
if
(
CutinViewer
.
CutinExist
(
card
.
GetData
().
Id
))
shakeLevel
=
1
;
if
(
card
.
GetData
().
IsHighLevel
())
shakeLevel
=
2
;
...
...
Assets/Scripts/MDPro3/Helper/ABLoader.cs
View file @
7c9d1d2e
...
...
@@ -195,7 +195,11 @@ namespace MDPro3
#if !UNITY_EDITOR && (UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN)
dir
=
new
DirectoryInfo
(
Path
.
Combine
(
Application
.
dataPath
,
Program
.
root
+
path
));
#endif
if
(!
dir
.
Exists
)
{
Debug
.
LogError
(
$"[LoadFromFolderAsync]: Path [
{
dir
.
FullName
}
] does not exist."
);
return
null
;
}
FileInfo
[]
files
=
dir
.
GetFiles
(
"*"
);
List
<
AssetBundle
>
bundles
=
new
();
for
(
int
i
=
0
;
i
<
files
.
Length
;
i
++)
...
...
Assets/Scripts/MDPro3/Helper/TimelineHelper.cs
View file @
7c9d1d2e
...
...
@@ -426,7 +426,7 @@ namespace MDPro3
private
static
async
UniTask
CacheCutin
(
int
code
)
{
if
(!
CutinViewer
.
HasCutin
(
code
))
if
(!
CutinViewer
.
CutinExist
(
code
))
return
;
if
(
CutinViewer
.
codes
.
Contains
(
code
))
...
...
@@ -604,7 +604,7 @@ namespace MDPro3
OcgCore
.
summonCard
.
UpdateExDeckTop
();
var
interval
=
0.5f
;
if
(
CutinViewer
.
HasCutin
(
code
))
if
(
CutinViewer
.
CutinExist
(
code
))
interval
=
1f
;
await
OcgCore
.
summonCard
.
StartCardSequence
(
position
,
angle
,
interval
).
WaitAsync
();
dummyCard
=
null
;
...
...
Assets/Scripts/MDPro3/Servant/CutinViewer.cs
View file @
7c9d1d2e
...
...
@@ -7,6 +7,7 @@ using Spine.Unity;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.IO
;
using
System.Linq
;
using
System.Threading
;
using
TMPro
;
using
UnityEngine
;
...
...
@@ -142,7 +143,9 @@ namespace MDPro3.Servant
{
if
(
int
.
TryParse
(
dirInfos
[
i
].
Name
,
out
var
code
))
{
Card
card
=
CardsManager
.
Get
(
code
);
Card
card
=
CardsManager
.
GetCard
(
code
);
if
(
card
==
null
)
continue
;
cards
.
Add
(
card
);
codes
.
Add
(
card
.
Id
);
}
...
...
@@ -171,7 +174,7 @@ namespace MDPro3.Servant
Select
();
}
public
static
bool
HasCutin
(
int
code
)
public
static
bool
CutinExist
(
int
code
)
{
if
(
OcgCore
.
condition
==
OcgCore
.
Condition
.
Duel
&&
!
Config
.
GetBool
(
"DuelCutin"
,
true
))
...
...
@@ -183,16 +186,7 @@ namespace MDPro3.Servant
&&
!
Config
.
GetBool
(
"ReplayCutin"
,
true
))
return
false
;
code
=
AliasCode
(
code
);
bool
returnValue
=
false
;
foreach
(
var
card
in
cards
)
{
if
(
card
.
Id
==
code
)
{
returnValue
=
true
;
break
;
}
}
return
returnValue
;
return
cards
.
Any
(
c
=>
c
.
Id
==
code
);
}
private
static
int
AliasCode
(
int
code
)
...
...
Assets/Scripts/MDPro3/UI/SelectionButton/SelectionToggle_Cutin.cs
View file @
7c9d1d2e
...
...
@@ -26,7 +26,7 @@ namespace MDPro3.UI
protected
override
void
CallSubmitEvent
()
{
AudioManager
.
PlaySE
(
"SE_MENU_DECIDE"
);
if
(
CutinViewer
.
HasCutin
(
code
))
if
(
CutinViewer
.
CutinExist
(
code
))
_
=
CutinViewer
.
Play
(
code
,
0
);
}
protected
override
void
CallToggleOnEvent
()
...
...
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