Commit c50bf027 authored by mercury233's avatar mercury233 Committed by Unicorn369

update SelectUnselectCard hint

parent 70300195
...@@ -3402,8 +3402,6 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3402,8 +3402,6 @@ public class Ocgcore : ServantWithCardDescription
cancalable = (r.ReadByte() != 0) || finishable; cancalable = (r.ReadByte() != 0) || finishable;
ES_min = r.ReadByte(); ES_min = r.ReadByte();
ES_max = 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; ES_level = 0;
count = r.ReadByte(); count = r.ReadByte();
for (int i = 0; i < count; i++) for (int i = 0; i < count; i++)
...@@ -3447,9 +3445,11 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3447,9 +3445,11 @@ public class Ocgcore : ServantWithCardDescription
} }
realizeCardsForSelect(); realizeCardsForSelect();
cardsSelected.Clear(); 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_selectUnselectHint + " " + ES_min.ToString() + "-" + ES_max.ToString());
} }
else else
{ {
...@@ -8073,6 +8073,8 @@ public class Ocgcore : ServantWithCardDescription ...@@ -8073,6 +8073,8 @@ public class Ocgcore : ServantWithCardDescription
string ES_phaseString = ""; string ES_phaseString = "";
string ES_selectUnselectHint = "";
void toDefaultHint() void toDefaultHint()
{ {
gameField.setHint(ES_turnString + ES_phaseString); gameField.setHint(ES_turnString + ES_phaseString);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment