Skip to content

Duel.IsPlayerCanDraw

Source Code | Usage Examples | Duel Functions

If (int count) is not provided, checks if the provided player (int player) can draw cards from the deck (i.e if it is not affected by EFFECT_CANNOT_DRAW). If (int count) is provided and it is not 0, additionally checks if the player has at least that many cards in the deck.

Signature

Duel.IsPlayerCanDraw(int player, [int count = 0]) → bool

lua
Duel.IsPlayerCanDraw(player,count)

Parameters

  • int player

    (To be added)

  • int count

    Optional. Defaults to 0.

    (To be added)

Returns


under-construction