Skip to content

Effect.GetCountLimit

Source Code | Usage Examples | Effect Functions

Returns information related to an effect's count limit.

Signature

Effect.GetCountLimit(Effect e) → int, int, int, CountLimitFlag, int

lua
e:GetCountLimit()

Parameters

  • Effect e

    The effect to get the count limit information of.

Returns

  • int

    The remaining number of times the effect can still be used.

  • int

    The count limit, i.e., the maximum number of times the effect can be used.

  • int

    The code used to specify globally shared count limits.

  • CountLimitFlag

    Additional modifiers for the use limit behavior.

  • int

    The additional "index" used to distinguish between globally shared count limits.


See Also