Lua API
On this page

Magic_CastTargetedSpell_C2S

Inherits from

Cast a spell on a target

Fields:

ObjectId number

The target of the spell

SpellId LayeredSpellId

The ID of the spell

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string