Forgot a few spell method documentations

This commit is contained in:
Foereaper
2014-08-09 19:57:50 +02:00
parent 3e3cb68e48
commit fcdbd297ae

View File

@@ -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<bool>(L, 2);