summaryrefslogtreecommitdiff
path: root/example/scripts
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-08-12 21:59:28 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-08-26 22:56:47 +0200
commit7f79610cdcd5bd55de8d4e413f0679ef634b0a37 (patch)
treeab1dba698701c80e05eb1076a807f84edb8dd4af /example/scripts
parent3d03f5dee9c67fbbf60e1df940a91842bd8a7e4c (diff)
downloadmanaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.gz
manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.bz2
manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.tar.xz
manaserv-7f79610cdcd5bd55de8d4e413f0679ef634b0a37.zip
Removed ability categories
Diffstat (limited to 'example/scripts')
-rw-r--r--example/scripts/abilities.lua4
-rw-r--r--example/scripts/monster/basic_ai.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/example/scripts/abilities.lua b/example/scripts/abilities.lua
index 3878815a..cbdc22d3 100644
--- a/example/scripts/abilities.lua
+++ b/example/scripts/abilities.lua
@@ -8,7 +8,7 @@
--]]
-local spell1 = get_ability_info("Magic_Test Spell 1")
+local spell1 = get_ability_info("Magic/Test Spell 1")
spell1:on_use(function(user, x, y, abilityId)
target = target or user
local s_x, s_y = user:position()
@@ -38,7 +38,7 @@ spell1:on_use(function(user, x, y, abilityId)
end)
--spell1:on_recharged(function(ch) ch:say("Hoooooooo...") end)
-local debugspell = get_ability_info("debug_debug")
+local debugspell = get_ability_info("debug")
debugspell:on_use(function(user)
WARN("USED")
user:give_experience(10)
diff --git a/example/scripts/monster/basic_ai.lua b/example/scripts/monster/basic_ai.lua
index b1dba32c..18d81640 100644
--- a/example/scripts/monster/basic_ai.lua
+++ b/example/scripts/monster/basic_ai.lua
@@ -172,7 +172,7 @@ local function mob_recharged(mob, ability_id)
end
local mob_attack_ability =
- get_ability_info("Monster attack_Basic Monster strike")
+ get_ability_info("Monster attack/Basic Monster strike")
mob_attack_ability:on_use(mob_attack)
mob_attack_ability:on_recharged(mob_recharged)