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
34
Issues
34
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
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
Hide 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
...
@@ -869,6 +869,11 @@ namespace MDPro3
RefreshData
();
RefreshData
();
}
}
overlays
=
Program
.
I
().
ocgcore
.
GCS_GetOverlays
(
this
);
cacheP
=
p
;
p
=
gps
;
if
(!
SemiNomiSummoned
if
(!
SemiNomiSummoned
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
0x68020C0
)
>
0
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
0x68020C0
)
>
0
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
(
uint
)
CardType
.
Monster
)
>
0
&&
(
CardsManager
.
Get
(
data
.
Id
).
Type
&
(
uint
)
CardType
.
Monster
)
>
0
...
@@ -876,13 +881,8 @@ namespace MDPro3
...
@@ -876,13 +881,8 @@ namespace MDPro3
)
)
AddStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
));
AddStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
));
else
else
RemoveStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
));
RemoveStringTail
(
InterString
.
Get
(
"帤淏寞腎部"
)
,
true
);
overlays
=
Program
.
I
().
ocgcore
.
GCS_GetOverlays
(
this
);
cacheP
=
p
;
p
=
gps
;
//Debug.LogFormat("{0}: reason: {1:X} location: {2:X}", data.Name, p.reason, p.location);
//Debug.LogFormat("{0}: reason: {1:X} location: {2:X}", data.Name, p.reason, p.location);
for
(
int
i
=
0
;
i
<
overlays
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
overlays
.
Count
;
i
++)
...
@@ -2574,9 +2574,9 @@ namespace MDPro3
...
@@ -2574,9 +2574,9 @@ namespace MDPro3
{
{
tails
.
Add
(
tail
);
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
()
public
void
ClearAllTails
()
{
{
...
...
Assets/Scripts/MDPro3/Duel/MultiStringMaster.cs
View file @
245cc661
...
@@ -31,7 +31,7 @@ namespace MDPro3
...
@@ -31,7 +31,7 @@ namespace MDPro3
}
}
ReCreateString
();
ReCreateString
();
}
}
public
void
Remove
(
string
str
)
public
void
Remove
(
string
str
,
bool
all
=
false
)
{
{
Part
t
=
null
;
Part
t
=
null
;
for
(
var
i
=
0
;
i
<
strings
.
Count
;
i
++)
for
(
var
i
=
0
;
i
<
strings
.
Count
;
i
++)
...
@@ -39,10 +39,15 @@ namespace MDPro3
...
@@ -39,10 +39,15 @@ namespace MDPro3
t
=
strings
[
i
];
t
=
strings
[
i
];
if
(
t
!=
null
)
if
(
t
!=
null
)
{
{
if
(
t
.
count
==
1
)
if
(
all
)
strings
.
Remove
(
t
);
strings
.
Remove
(
t
);
else
else
t
.
count
--;
{
if
(
t
.
count
==
1
)
strings
.
Remove
(
t
);
else
t
.
count
--;
}
}
}
ReCreateString
();
ReCreateString
();
}
}
...
...
ProjectSettings/ProjectSettings.asset
View file @
245cc661
...
@@ -529,7 +529,7 @@ PlayerSettings:
...
@@ -529,7 +529,7 @@ PlayerSettings:
m_APIs
:
0b000000
m_APIs
:
0b000000
m_Automatic
:
1
m_Automatic
:
1
-
m_BuildTarget
:
WindowsStandaloneSupport
-
m_BuildTarget
:
WindowsStandaloneSupport
m_APIs
:
0
200000012000000150000000b
000000
m_APIs
:
0
b000000020000001200000015
000000
m_Automatic
:
0
m_Automatic
:
0
m_BuildTargetVRSettings
:
m_BuildTargetVRSettings
:
-
m_BuildTarget
:
Standalone
-
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