Commit 1b0913cd authored by DailyShana's avatar DailyShana

fix

parent 07760f84
......@@ -1256,6 +1256,9 @@ int32 card::replace_effect(uint32 code, uint32 reset, uint32 count) {
pduel->game_field->core.copy_reset = cr;
pduel->game_field->core.copy_reset_count = crc;
set_status(STATUS_EFFECT_REPLACED, TRUE);
for(auto eit = pduel->uncopy.begin(); eit != pduel->uncopy.end(); ++eit)
pduel->delete_effect(*eit);
pduel->uncopy.clear();
return pduel->game_field->infos.copy_id - 1;
}
// add EFFECT_SET_CONTROL
......
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