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
Surveil
MDPro3
Commits
245cc661
Commit
245cc661
authored
Apr 04, 2024
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix seminomi summon tail bug
parent
fee4320a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
Assets/Scripts/MDPro3/Duel/GameCard.cs
Assets/Scripts/MDPro3/Duel/GameCard.cs
+8
-8
Assets/Scripts/MDPro3/Duel/MultiStringMaster.cs
Assets/Scripts/MDPro3/Duel/MultiStringMaster.cs
+8
-3
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/Scripts/MDPro3/Duel/GameCard.cs
View file @
245cc661
...
...
@@ -869,6 +869,11 @@ namespace MDPro3
RefreshData
();
}
overlays
=
Program
.
I
().
ocgcore
.
GCS_GetOverlays
(
this
);
cacheP
=
p
;
p
=
gps
;
if
(!
SemiNomiSummoned
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
0x68020C0
)
>
0
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
(
uint
)
CardType
.
Monster
)
>
0
...
...
@@ -876,12 +881,7 @@ namespace MDPro3
)
AddStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
));
else
RemoveStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
));
overlays
=
Program
.
I
().
ocgcore
.
GCS_GetOverlays
(
this
);
cacheP
=
p
;
p
=
gps
;
RemoveStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
),
true
);
//Debug.LogFormat("{0}: reason: {1:X} location: {2:X}", data.Name, p.reason, p.location);
...
...
@@ -2574,9 +2574,9 @@ namespace MDPro3
{
tails
.
Add
(
tail
);
}
public
void
RemoveStringTail
(
string
tail
)
public
void
RemoveStringTail
(
string
tail
,
bool
all
=
false
)
{
tails
.
Remove
(
tail
);
tails
.
Remove
(
tail
,
all
);
}
public
void
ClearAllTails
()
{
...
...
Assets/Scripts/MDPro3/Duel/MultiStringMaster.cs
View file @
245cc661
...
...
@@ -31,19 +31,24 @@ namespace MDPro3
}
ReCreateString
();
}
public
void
Remove
(
string
str
)
public
void
Remove
(
string
str
,
bool
all
=
false
)
{
Part
t
=
null
;
for
(
var
i
=
0
;
i
<
strings
.
Count
;
i
++)
if
(
strings
[
i
].
str
.
Replace
(
str
,
"miaowu"
)
!=
strings
[
i
].
str
)
t
=
strings
[
i
];
if
(
t
!=
null
)
{
if
(
all
)
strings
.
Remove
(
t
);
else
{
if
(
t
.
count
==
1
)
strings
.
Remove
(
t
);
else
t
.
count
--;
}
}
ReCreateString
();
}
void
ReCreateString
()
...
...
ProjectSettings/ProjectSettings.asset
View file @
245cc661
...
...
@@ -529,7 +529,7 @@ PlayerSettings:
m_APIs
:
0b000000
m_Automatic
:
1
-
m_BuildTarget
:
WindowsStandaloneSupport
m_APIs
:
0
200000012000000150000000b
000000
m_APIs
:
0
b000000020000001200000015
000000
m_Automatic
:
0
m_BuildTargetVRSettings
:
-
m_BuildTarget
:
Standalone
...
...
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