Duel.IsPlayerCanRelease
Source Code | Usage Examples | Duel
Functions
If c is not passed, only checks if the player is not affected by EFFECT_CANNOT_RELEASE, otherwise checks if the player can Tribute the passed card, with the passed reason.
Signature
Duel.IsPlayerCanRelease(int player
, [Card c
, int reason
= REASON_COST
]) → bool
lua
Duel.IsPlayerCanRelease(player,c,reason)
Parameters
int
player
(To be added)
Card
c
Optional.
(To be added)
int
reason
Optional. Defaults to
REASON_COST
.(To be added)