Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

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.

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.

object

{ abilityName: seconds } — absolute durations. Pass {} to clear.

number