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
Senator John
MDPro3
Commits
37a69243
Commit
37a69243
authored
Aug 19, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
duel hint bug fix
parent
8d6b3879
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
Assets/Scripts/MDPro3/Managers/TextureManager.cs
Assets/Scripts/MDPro3/Managers/TextureManager.cs
+1
-1
Assets/Scripts/MDPro3/Servants/OcgCore.cs
Assets/Scripts/MDPro3/Servants/OcgCore.cs
+4
-6
No files found.
Assets/Scripts/MDPro3/Managers/TextureManager.cs
View file @
37a69243
...
...
@@ -131,7 +131,7 @@ namespace MDPro3
cardMatShine
=
Instantiate
(
cardMatRoyal
);
cardMatRoyal
.
SetTexture
(
"_HighlightNormal"
,
container
.
CardKiraNormal03_Millennium
);
cardMatRoyal
.
SetTexture
(
"_Kira02_01"
,
container
.
CardKira3_Millennium
);
//
cardMatRoyal.SetTexture("_Kira02_01", container.CardKira3_Millennium);
cardMatRoyal
.
SetTexture
(
"_Texture2DAsset_3e204bf62e854283be7482d92655b24f_Out_0"
,
container
.
CardKiraNormal03_Millennium
);
#if UNITY_ANDROID
var
depens
=
Directory
.
GetFiles
(
Program
.
root
+
"CrossDuel/Dependency"
,
"*.bundle"
);
...
...
Assets/Scripts/MDPro3/Servants/OcgCore.cs
View file @
37a69243
...
...
@@ -6011,30 +6011,28 @@ namespace MDPro3
if (card != null)
{
var displayname = "「" + card.GetData().Name + "」";
var forReplaceFirst = new Regex("\\[%ls\\]");
if (cr == 0)
{
desc = StringHelper.Get(200);//是否在[%ls]发动[%ls]的效果?
var
forReplaceFirst
=
new
Regex
(
"\\[%ls\\]"
);
desc = forReplaceFirst.Replace(desc, StringHelper.FormatLocation(gps), 1);
desc
=
forReplaceFirst
.
Replace
(
desc
,
displayname
,
1
);
desc =
ES_hint + "," +
forReplaceFirst.Replace(desc, displayname, 1);
}
else if (cr == 221)
{
desc = StringHelper.Get(221);//是否在[%ls]发动[%ls]的诱发类效果?
var
forReplaceFirst
=
new
Regex
(
"\\[%ls\\]"
);
desc = forReplaceFirst.Replace(desc, StringHelper.FormatLocation(gps), 1);
desc = forReplaceFirst.Replace(desc, displayname, 1);
desc
=
desc
+
"\n"
+
StringHelper
.
Get
(
223
);
//稍后将询问其他可以发动的效果。
desc =
ES_hint + "," +
desc + "\n" + StringHelper.Get(223);//稍后将询问其他可以发动的效果。
}
else
{
desc = StringHelper.Get(cr);
var
forReplaceFirst
=
new
Regex
(
"\\[%ls\\]"
);
desc = forReplaceFirst.Replace(desc, displayname, 1);
}
List<GameCard> oneCardToSend = new List<GameCard>() { card };
ShowPopupSelectCard
(
ES_hint
+
","
+
desc
,
oneCardToSend
,
1
,
1
,
true
,
false
);
ShowPopupSelectCard(desc, oneCardToSend, 1, 1, true, false);
}
break;
case GameMessage.SelectChain:
...
...
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