Commit 5c68e9f2 authored by mercury233's avatar mercury233 Committed by GitHub

update Duel.SelectField support extra monster zone (#475)

parent 26696ced
......@@ -3681,13 +3681,13 @@ int32 scriptlib::duel_select_field(lua_State* L) {
}
uint32 flag = 0xffffffff;
if(location1 & LOCATION_MZONE) {
flag &= 0xffffffe0;
flag &= 0xffffff80;
}
if(location1 & LOCATION_SZONE) {
flag &= pduel->game_field->core.duel_rule == 3 ? 0xffff00ff : 0xffffc0ff;
}
if(location2 & LOCATION_MZONE) {
flag &= 0xffe0ffff;
flag &= 0xff80ffff;
}
if(location2 & LOCATION_SZONE) {
flag &= pduel->game_field->core.duel_rule == 3 ? 0x00ffffff : 0xc0ffffff;
......
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