mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Remove old documentation and reference to GetCharges.
This commit is contained in:
@@ -904,23 +904,22 @@ ElunaRegister<Item> ItemMethods[] =
|
|||||||
ElunaRegister<Aura> AuraMethods[] =
|
ElunaRegister<Aura> AuraMethods[] =
|
||||||
{
|
{
|
||||||
// Getters
|
// Getters
|
||||||
{ "GetCaster", &LuaAura::GetCaster }, // :GetCaster() - Returns caster as object
|
{ "GetCaster", &LuaAura::GetCaster },
|
||||||
{ "GetCasterGUID", &LuaAura::GetCasterGUID }, // :GetCasterGUID() - Returns caster as GUID
|
{ "GetCasterGUID", &LuaAura::GetCasterGUID },
|
||||||
{ "GetCasterLevel", &LuaAura::GetCasterLevel }, // :GetCasterLevel() - Returns casters level
|
{ "GetCasterLevel", &LuaAura::GetCasterLevel },
|
||||||
{ "GetDuration", &LuaAura::GetDuration }, // :GetDuration() - Returns remaining duration
|
{ "GetDuration", &LuaAura::GetDuration },
|
||||||
{ "GetMaxDuration", &LuaAura::GetMaxDuration }, // :GetMaxDuration() - Returns maximum duration
|
{ "GetMaxDuration", &LuaAura::GetMaxDuration },
|
||||||
{ "GetCharges", &LuaAura::GetCharges }, // :GetCharges() - Returns remaining charges
|
{ "GetAuraId", &LuaAura::GetAuraId },
|
||||||
{ "GetAuraId", &LuaAura::GetAuraId }, // :GetAuraId() - Returns aura ID
|
{ "GetStackAmount", &LuaAura::GetStackAmount },
|
||||||
{ "GetStackAmount", &LuaAura::GetStackAmount }, // :GetStackAmount() - Returns current stack amount
|
{ "GetOwner", &LuaAura::GetOwner },
|
||||||
{ "GetOwner", &LuaAura::GetOwner }, // :GetOwner() - Gets the unit wearing the aura
|
|
||||||
|
|
||||||
// Setters
|
// Setters
|
||||||
{ "SetDuration", &LuaAura::SetDuration }, // :SetDuration(duration) - Sets remaining duration
|
{ "SetDuration", &LuaAura::SetDuration },
|
||||||
{ "SetMaxDuration", &LuaAura::SetMaxDuration }, // :SetMaxDuration(duration) - Sets maximum duration
|
{ "SetMaxDuration", &LuaAura::SetMaxDuration },
|
||||||
{ "SetStackAmount", &LuaAura::SetStackAmount }, // :SetStackAmount(amount) - Sets current stack amount
|
{ "SetStackAmount", &LuaAura::SetStackAmount },
|
||||||
|
|
||||||
// Other
|
// Other
|
||||||
{ "Remove", &LuaAura::Remove }, // :Remove() - Removes the aura
|
{ "Remove", &LuaAura::Remove },
|
||||||
|
|
||||||
{ NULL, NULL },
|
{ NULL, NULL },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user