Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

LocalPlayerWand

Defined in: client/api.d.ts:4138

The local player’s wand. Equip state and style are replicated, so remote players see both. Every mutator returns a status code: “OK”, or WAND_UNKNOWN_STYLE / WAND_NONE / WAND_UNAVAILABLE / WAND_FAILED.

equip(): string

Defined in: client/api.d.ts:4147

Draws the wand, and holds it drawn: the request is pinned above the idle that would otherwise stow it, but below casting and cutscenes, so those still take the arm and the wand returns afterwards.

string


isEquipped(): boolean | null

Defined in: client/api.d.ts:4142

Whether the wand is drawn, read from the right-arm state the body is actually playing. null without a pawn.

boolean | null


setStyle(style): string

Defined in: client/api.d.ts:4173

Changes which wand the player carries and persists the choice. Refused for a row the table doesn’t have, because the game writes the saved style before it validates anything.

string

A row key from styles(); matched case-insensitively.

string


style(): string

Defined in: client/api.d.ts:4157

The DT_CustomWandStyle row the wand actually renders (e.g. “T003_M01_H007_M02”). Empty only before the pawn is up, or on a character that has never been given one.

string


styles(): string[]

Defined in: client/api.d.ts:4162

Every wand style the game’s own table offers — 1034 rows in the stock game, plus anything a UGC mod added. Empty until the player’s wand exists, since the table is reached through it.

string[]


unequip(): string

Defined in: client/api.d.ts:4152

Stows the wand, and holds it stowed. Same priority rules as equip, so a cast still draws it: setCastingEnabled and setAimEnabled hold casting and aim off.

string