Commit bb9b190a authored by mercury233's avatar mercury233 Committed by nanahira

fix SelectPlace field zone

parent 49514072
......@@ -3801,9 +3801,9 @@ public class Ocgcore : ServantWithCardDescription
binaryMaster.writer.Write(positions);
sendReturn(binaryMaster.get());
}
if (positions == (0x1 | 0x4 | 0x8))
{
RMSshow_position3("return", code);
if (positions == (0x1 | 0x4 | 0x8))
{
RMSshow_position3("return", code);
}
else
{
......@@ -4080,6 +4080,13 @@ public class Ocgcore : ServantWithCardDescription
}
}
}
if ((field & 0x2000) != 0)
{
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
resp[2] = 5;
createPlaceSelector(resp);
}
if ((field & 0xc000) != 0)
{
resp[1] = (byte)CardLocation.SpellZone;
......@@ -4164,6 +4171,12 @@ public class Ocgcore : ServantWithCardDescription
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x1f;
}
else if ((field & 0x2000) != 0)
{
resp[0] = (byte)player;
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
}
else
{
resp[0] = (byte)player;
......@@ -4186,6 +4199,10 @@ public class Ocgcore : ServantWithCardDescription
if ((filter & 0x20) != 0) resp[2] = 5;
else if ((filter & 0x40) != 0) resp[2] = 6;
}
else
{
if ((filter & 0x20) != 0) resp[2] = 5;
}
}
}
else
......
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