Commit 6bf956eb authored by mercury233's avatar mercury233

update

parent f4b559c9
......@@ -3177,7 +3177,9 @@ int32 scriptlib::duel_get_synchro_material(lua_State *L) {
group* pgroup = pduel->new_group();
for (auto cit = mats.begin(); cit != mats.end(); ++cit) {
card* pcard = *cit;
if (facedown || (pcard->current.location != LOCATION_MZONE || pcard->is_position(POS_FACEUP)))
if (pcard->get_status(STATUS_SUMMONING | STATUS_SUMMON_DISABLED | STATUS_SPSUMMON_STEP)
|| pcard->current.location == LOCATION_MZONE && !pcard->is_position(POS_FACEUP) && !facedown)
continue;
pgroup->container.insert(*cit);
}
interpreter::group2value(L, pgroup);
......
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