Duel.IsCanAddCounter
Source Code | Usage Examples | Duel Functions
If only (int player) is passed, it checks if that player is not affected by "EFFECT_CANNOT_PLACE_COUNTER" that doesn't have a specific target (and thus no extra checks). If all the other 3 parameters are provided, it checks if that player is affected by "EFFECT_CANNOT_PLACE_COUNTER" effects with those parameters as arguments.
Signature
Duel.IsCanAddCounter(int player, [int countertype, int count, Card c]) → bool
lua
Duel.IsCanAddCounter(player,countertype,count,c)Parameters
int
player(To be added)
int
countertypeOptional.
(To be added)
int
countOptional.
(To be added)
Card
cOptional.
(To be added)