Commit 0e880c58 authored by mercury233's avatar mercury233 Committed by GitHub

fix first turn Duel.GetDrawCount (#433)

parent 1d36640e
......@@ -1824,6 +1824,9 @@ int32 field::get_summon_count_limit(uint8 playerid) {
return count;
}
int32 field::get_draw_count(uint8 playerid) {
if ((core.duel_rule >= 3) && (infos.turn_id == 1) && (infos.turn_player == playerid)) {
return 0;
}
effect_set eset;
filter_player_effect(playerid, EFFECT_DRAW_COUNT, &eset);
int32 count = player[playerid].draw_count;
......
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