Skip to content

Effect.UseCountLimit

Source Code | Usage Examples | Effect Functions

Decreases the remaining usages of the effect by the player "p" by "count", if "oath_only" is true, the function will do nothing unless the effect is an OATH effect.

Signature

Effect.UseCountLimit(Effect e, int p, [int count = 1, bool oath_only = false]) → nil

lua
e:UseCountLimit(p,count,oath_only)

Parameters

  • Effect e

    (To be added)

  • int p

    (To be added)

  • int count

    Optional. Defaults to 1.

    (To be added)

  • bool oath_only

    Optional. Defaults to false.

    (To be added)


under-construction