Commit 5d11f91d authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-core

parents a4c305cf 0e880c58
......@@ -1850,6 +1850,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