From ddc9f9f46b2efb4ffe750946500f7150ded042db Mon Sep 17 00:00:00 2001 From: Patman64 Date: Thu, 31 Jul 2014 20:26:41 -0400 Subject: [PATCH] Remove old documentation and reference to GetCharges. --- LuaFunctions.cpp | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/LuaFunctions.cpp b/LuaFunctions.cpp index a4e79e7..6f9997a 100644 --- a/LuaFunctions.cpp +++ b/LuaFunctions.cpp @@ -904,23 +904,22 @@ ElunaRegister ItemMethods[] = ElunaRegister AuraMethods[] = { // Getters - { "GetCaster", &LuaAura::GetCaster }, // :GetCaster() - Returns caster as object - { "GetCasterGUID", &LuaAura::GetCasterGUID }, // :GetCasterGUID() - Returns caster as GUID - { "GetCasterLevel", &LuaAura::GetCasterLevel }, // :GetCasterLevel() - Returns casters level - { "GetDuration", &LuaAura::GetDuration }, // :GetDuration() - Returns remaining duration - { "GetMaxDuration", &LuaAura::GetMaxDuration }, // :GetMaxDuration() - Returns maximum duration - { "GetCharges", &LuaAura::GetCharges }, // :GetCharges() - Returns remaining charges - { "GetAuraId", &LuaAura::GetAuraId }, // :GetAuraId() - Returns aura ID - { "GetStackAmount", &LuaAura::GetStackAmount }, // :GetStackAmount() - Returns current stack amount - { "GetOwner", &LuaAura::GetOwner }, // :GetOwner() - Gets the unit wearing the aura + { "GetCaster", &LuaAura::GetCaster }, + { "GetCasterGUID", &LuaAura::GetCasterGUID }, + { "GetCasterLevel", &LuaAura::GetCasterLevel }, + { "GetDuration", &LuaAura::GetDuration }, + { "GetMaxDuration", &LuaAura::GetMaxDuration }, + { "GetAuraId", &LuaAura::GetAuraId }, + { "GetStackAmount", &LuaAura::GetStackAmount }, + { "GetOwner", &LuaAura::GetOwner }, // Setters - { "SetDuration", &LuaAura::SetDuration }, // :SetDuration(duration) - Sets remaining duration - { "SetMaxDuration", &LuaAura::SetMaxDuration }, // :SetMaxDuration(duration) - Sets maximum duration - { "SetStackAmount", &LuaAura::SetStackAmount }, // :SetStackAmount(amount) - Sets current stack amount + { "SetDuration", &LuaAura::SetDuration }, + { "SetMaxDuration", &LuaAura::SetMaxDuration }, + { "SetStackAmount", &LuaAura::SetStackAmount }, // Other - { "Remove", &LuaAura::Remove }, // :Remove() - Removes the aura + { "Remove", &LuaAura::Remove }, { NULL, NULL }, };