diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-12 21:59:28 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:47 +0200 |
commit | 7f79610cdcd5bd55de8d4e413f0679ef634b0a37 (patch) | |
tree | ab1dba698701c80e05eb1076a807f84edb8dd4af /src/scripting | |
parent | 3d03f5dee9c67fbbf60e1df940a91842bd8a7e4c (diff) | |
download | manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.gz manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.bz2 manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.xz manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.zip |
Removed ability categories
Diffstat (limited to 'src/scripting')
-rw-r--r-- | src/scripting/lua.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index c8c9e17c..759ae50b 100644 --- a/src/scripting/lua.cpp +++ b/src/scripting/lua.cpp @@ -2907,22 +2907,6 @@ static int abilityinfo_on_recharged(lua_State *s) return 0; } -/** LUA abilityinfo:category (abilityinfo) - * abilityinfo:category(function callback) - ** - * **Return value:** The set-name of the ability as defined in the - * [abilities.xml](abilities.xml.html) - * - * **Note:** See [get_ability_info](scripting.html#get_ability_info) for getting - * a abilityinfo object. - */ -static int abilitiyinfo_get_category(lua_State *s) -{ - auto *info = LuaAbilityInfo::check(s, 1); - push(s, info->categoryName); - return 1; -} - /** LUA_CATEGORY Status effect class (statuseffectclass) */ @@ -3439,7 +3423,6 @@ LuaScript::LuaScript(): { "name", abilityinfo_get_name }, { "on_use", abilityinfo_on_use }, { "on_recharged", abilityinfo_on_recharged }, - { "category", abilitiyinfo_get_category }, { nullptr, nullptr} }; |