Commit 02f74781 authored by mercury233's avatar mercury233 Committed by nanahira

skip HINTMSG_FIELD_FIRST

parent fbdc897e
...@@ -16,6 +16,8 @@ public class Ocgcore : ServantWithCardDescription ...@@ -16,6 +16,8 @@ public class Ocgcore : ServantWithCardDescription
public Condition condition = Condition.duel; public Condition condition = Condition.duel;
private bool ES_selectCardFromFieldFirstFlag = false;
public gameInfo gameInfo; public gameInfo gameInfo;
public GameObject waitObject; public GameObject waitObject;
...@@ -2938,6 +2940,8 @@ public class Ocgcore : ServantWithCardDescription ...@@ -2938,6 +2940,8 @@ public class Ocgcore : ServantWithCardDescription
data = (data >> 16) | (data << 16); data = (data >> 16) | (data << 16);
RMSshow_none(InterString.Get("区域选择:[?]", GameStringHelper.zone(data))); RMSshow_none(InterString.Get("区域选择:[?]", GameStringHelper.zone(data)));
} }
ES_selectCardFromFieldFirstFlag = (type == 3 && data == 575);
break; break;
case GameMessage.MissedEffect: case GameMessage.MissedEffect:
break; break;
...@@ -3470,6 +3474,14 @@ public class Ocgcore : ServantWithCardDescription ...@@ -3470,6 +3474,14 @@ public class Ocgcore : ServantWithCardDescription
allCardsInSelectMessage.Add(card); allCardsInSelectMessage.Add(card);
} }
} }
if(ES_selectCardFromFieldFirstFlag && cancalable)
{
ES_selectCardFromFieldFirstFlag = false;
binaryMaster = new BinaryMaster();
binaryMaster.writer.Write(-1);
sendReturn(binaryMaster.get());
break;
}
if (cancalable) if (cancalable)
{ {
gameInfo.addHashedButton("cancleSelected", -1, superButtonType.no, InterString.Get("取消选择@ui")); gameInfo.addHashedButton("cancleSelected", -1, superButtonType.no, InterString.Get("取消选择@ui"));
......
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