Potions
Defined in: client/api.d.ts:4774
Client end of the potion-effect layer. Effect state itself is server-owned and replicated; this only carries the server’s duration config.
Methods
Section titled “Methods”setDurationOverrides()
Section titled “setDurationOverrides()”setDurationOverrides(
table):number
Defined in: client/api.d.ts:4779
Server-configured potion durations, applied when an effect first becomes active. Overrides the game’s own table AND its random duration doubling. Returns how many entries were accepted.
Parameters
Section titled “Parameters”object
{ abilityName: seconds } — absolute durations. Pass {} to clear.
Returns
Section titled “Returns”number