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

fix SelectPlace field zone

parent 49514072
...@@ -4080,6 +4080,13 @@ public class Ocgcore : ServantWithCardDescription ...@@ -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) if ((field & 0xc000) != 0)
{ {
resp[1] = (byte)CardLocation.SpellZone; resp[1] = (byte)CardLocation.SpellZone;
...@@ -4164,6 +4171,12 @@ public class Ocgcore : ServantWithCardDescription ...@@ -4164,6 +4171,12 @@ public class Ocgcore : ServantWithCardDescription
resp[1] = (byte)CardLocation.SpellZone; resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x1f; filter = (field >> 8) & 0x1f;
} }
else if ((field & 0x2000) != 0)
{
resp[0] = (byte)player;
resp[1] = (byte)CardLocation.SpellZone;
filter = (field >> 8) & 0x20;
}
else else
{ {
resp[0] = (byte)player; resp[0] = (byte)player;
...@@ -4186,6 +4199,10 @@ public class Ocgcore : ServantWithCardDescription ...@@ -4186,6 +4199,10 @@ public class Ocgcore : ServantWithCardDescription
if ((filter & 0x20) != 0) resp[2] = 5; if ((filter & 0x20) != 0) resp[2] = 5;
else if ((filter & 0x40) != 0) resp[2] = 6; else if ((filter & 0x40) != 0) resp[2] = 6;
} }
else
{
if ((filter & 0x20) != 0) resp[2] = 5;
}
} }
} }
else 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