From fcdbd297aee7197cba285b8fa8fca2ffb6cf26b5 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Sat, 9 Aug 2014 19:57:50 +0200 Subject: [PATCH] Forgot a few spell method documentations --- SpellMethods.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/SpellMethods.h b/SpellMethods.h index ab0ab1d..fac12e3 100644 --- a/SpellMethods.h +++ b/SpellMethods.h @@ -9,7 +9,11 @@ namespace LuaSpell { - /* BOOLEAN */ + /** + * Returns 'true' if the &Spell is automatically repeating, false otherwise. + * + * @return boolean isRepeatable + */ int IsAutoRepeat(lua_State* L, Spell* spell) { Eluna::Push(L, spell->IsAutoRepeat()); @@ -146,7 +150,11 @@ namespace LuaSpell return 0; } - /* OTHER */ + /** + * Casts the &Spell. + * + * May need further documentation. + */ int Cast(lua_State* L, Spell* spell) { bool skipCheck = Eluna::CHECKVAL(L, 2);