Duel.AddCustomActivityCounter
Source Code | Usage Examples | Duel
Functions
Registers an activity counter for tracking activities of a specified type with an associated custom id, excluding actions that match a filter. The count can be retrieved with Duel.GetCustomActivityCount
, not Duel.GetActivityCount
.
Signature
Duel.AddCustomActivityCounter(int custom_id
, ActivityCode activity_code
, function exclusion_filter
) → nil
lua
Duel.AddCustomActivityCounter(custom_id,activity_code,exclusion_filter)