Duel.GetCustomActivityCount
Source Code | Usage Examples | Duel Functions
Returns the number of times a player has performed a specified custom activity that was registered through Duel.AddCustomActivityCounter.
Signature
Duel.GetCustomActivityCount(int custom_id, int player, ActivityCode activity_code) → int
lua
Duel.GetCustomActivityCount(custom_id,player,activity_code)Parameters
int
custom_idThe counter's custom id.
int
playerThe player to get the activities of.
ActivityCode
activity_codeThe type of activity to get the count of.