Commit b38f40bc authored by VanillaSalt's avatar VanillaSalt

fix

parent 58385ed2
......@@ -1859,6 +1859,15 @@ int32 field::is_player_can_spsummon(effect * peffect, uint32 sumtype, uint8 sump
if (pduel->lua->check_condition(eset[i]->target, 7))
return FALSE;
}
eset.clear();
filter_player_effect(playerid, EFFECT_SPSUMMON_COUNT_LIMIT, &eset);
for(int32 i = 0; i < eset.count; ++i) {
pduel->lua->add_param(core.reason_effect, PARAM_TYPE_EFFECT);
pduel->lua->add_param(playerid, PARAM_TYPE_INT);
int32 v = eset[i]->get_value(2);
if(v <= 0)
return FALSE;
}
return TRUE;
}
int32 field::is_player_can_flipsummon(uint8 playerid, card * pcard) {
......
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