Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
MyCard
YGOProUnity_V2
Commits
f64ddda2
Commit
f64ddda2
authored
Apr 04, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update SelectUnselectCard hint
parent
6dc291c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+6
-4
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
f64ddda2
...
...
@@ -3401,8 +3401,6 @@ public class Ocgcore : ServantWithCardDescription
cancalable = (r.ReadByte() != 0) || finishable;
ES_min = r.ReadByte();
ES_max = r.ReadByte();
//ES_min = finishable ? 0 : 1; // SelectUnselectCard can actually always select 1 card
//ES_max = 1; // SelectUnselectCard can actually always select 1 card
ES_level = 0;
count = r.ReadByte();
for (int i = 0; i < count; i++)
...
...
@@ -3446,9 +3444,11 @@ public class Ocgcore : ServantWithCardDescription
}
realizeCardsForSelect();
cardsSelected.Clear();
if
(
ES_selectHint
!=
""
)
if (ES_selectHint != "")
ES_selectUnselectHint = ES_selectHint;
if (ES_selectUnselectHint != "")
{
gameField
.
setHint
(
ES_selectHint
+
" "
+
ES_min
.
ToString
()
+
"-"
+
ES_max
.
ToString
());
gameField.setHint(ES_select
Unselect
Hint + " " + ES_min.ToString() + "-" + ES_max.ToString());
}
else
{
...
...
@@ -8072,6 +8072,8 @@ public class Ocgcore : ServantWithCardDescription
string ES_phaseString = "";
string ES_selectUnselectHint = "";
void toDefaultHint()
{
gameField.setHint(ES_turnString + ES_phaseString);
...
...
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