Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

SpellDefinitionInfo

Defined in: server/api.d.ts:6043

A defined spell as the server holds it.

readonly base: string

Defined in: server/api.d.ts:6052

The base spell, spelled as the game does.


readonly description: string

Defined in: server/api.d.ts:6082

Its description, or empty.


readonly icon: string | null

Defined in: server/api.d.ts:6067

Its PNG, or null for the base spell’s symbol.


readonly id: string

Defined in: server/api.d.ts:6047

Its id, the name it is slotted and granted by.


readonly incantation: string | null

Defined in: server/api.d.ts:6092

The spell whose line it speaks, “none”, or null for the base spell’s.


readonly lock: string

Defined in: server/api.d.ts:6057

Its lock, Spell_: grant it like any spell lock.


readonly name: string

Defined in: server/api.d.ts:6077

Its title, the id when none was given.


readonly parts: SpellParts

Defined in: server/api.d.ts:6072

The parts it takes from other spells.


readonly record: string | null

Defined in: server/api.d.ts:6087

The mod record it runs, or null for the base spell’s.


readonly stats: SpellStats

Defined in: server/api.d.ts:6062

The numbers it overrides.