Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LuaSpell Namespace Reference

Functions

int cancel (lua_State *L, Spell *spell)
int Cast (lua_State *L, Spell *spell)
int Finish (lua_State *L, Spell *spell)
int GetCaster (lua_State *L, Spell *spell)
int GetCastTime (lua_State *L, Spell *spell)
int GetDuration (lua_State *L, Spell *spell)
int GetId (lua_State *L, Spell *spell)
int GetPowerCost (lua_State *L, Spell *spell)
int GetTargetDest (lua_State *L, Spell *spell)
int IsAutoRepeat (lua_State *L, Spell *spell)
int SetAutoRepeat (lua_State *L, Spell *spell)

Function Documentation

◆ cancel()

int LuaSpell::cancel ( lua_State * L,
Spell * spell )

Definition at line 62 of file SpellMethods.cpp.

References Spell::cancel().

◆ Cast()

int LuaSpell::Cast ( lua_State * L,
Spell * spell )

Definition at line 42 of file SpellMethods.cpp.

References Spell::cast().

◆ Finish()

int LuaSpell::Finish ( lua_State * L,
Spell * spell )

Definition at line 69 of file SpellMethods.cpp.

References Spell::finish().

◆ GetCaster()

int LuaSpell::GetCaster ( lua_State * L,
Spell * spell )

Definition at line 12 of file SpellMethods.cpp.

References Spell::GetCaster(), and sEluna.

◆ GetCastTime()

int LuaSpell::GetCastTime ( lua_State * L,
Spell * spell )

Definition at line 18 of file SpellMethods.cpp.

References Spell::GetCastTime(), and sEluna.

◆ GetDuration()

int LuaSpell::GetDuration ( lua_State * L,
Spell * spell )

Definition at line 36 of file SpellMethods.cpp.

References SpellInfo::GetDuration(), Spell::GetSpellInfo(), and sEluna.

◆ GetId()

int LuaSpell::GetId ( lua_State * L,
Spell * spell )

Definition at line 24 of file SpellMethods.cpp.

References SpellInfo::Id, Spell::m_spellInfo, and sEluna.

◆ GetPowerCost()

int LuaSpell::GetPowerCost ( lua_State * L,
Spell * spell )

Definition at line 30 of file SpellMethods.cpp.

References Spell::GetPowerCost(), and sEluna.

◆ GetTargetDest()

int LuaSpell::GetTargetDest ( lua_State * L,
Spell * spell )

◆ IsAutoRepeat()

int LuaSpell::IsAutoRepeat ( lua_State * L,
Spell * spell )

Definition at line 49 of file SpellMethods.cpp.

References Spell::IsAutoRepeat(), and sEluna.

◆ SetAutoRepeat()

int LuaSpell::SetAutoRepeat ( lua_State * L,
Spell * spell )

Definition at line 55 of file SpellMethods.cpp.

References Spell::SetAutoRepeat().