Commit 36c3813e authored by mercury233's avatar mercury233 Committed by GitHub

fix (#206)

parent 37daea2d
...@@ -2964,6 +2964,8 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint ...@@ -2964,6 +2964,8 @@ int32 field::special_summon_step(uint16 step, group* targets, card* target, uint
int32 ct1 = get_tofield_count(target, playerid, LOCATION_MZONE, target->summon_player, LOCATION_REASON_TOFIELD, zone, &flag1); int32 ct1 = get_tofield_count(target, playerid, LOCATION_MZONE, target->summon_player, LOCATION_REASON_TOFIELD, zone, &flag1);
int32 ct2 = get_spsummonable_count_fromex(target, playerid, target->summon_player, zone, &flag2); int32 ct2 = get_spsummonable_count_fromex(target, playerid, target->summon_player, zone, &flag2);
for(auto& pcard : targets->container) { for(auto& pcard : targets->container) {
if(pcard->current.location == LOCATION_MZONE)
continue;
if(pcard->current.location != LOCATION_EXTRA) if(pcard->current.location != LOCATION_EXTRA)
ct1--; ct1--;
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