diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-13 12:32:22 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:45 +0200 |
commit | 9ff69160ea1c3c64ea7012cd70a3b50ff4373264 (patch) | |
tree | 05b11f2a1eb323c1809267a0a8fc08b5e2f279ac /example/scripts/special_actions.lua | |
parent | f162b9780fad3de2b5d85fbfceb6e4d4e22a2bfd (diff) | |
download | manaserv-9ff69160ea1c3c64ea7012cd70a3b50ff4373264.tar.gz manaserv-9ff69160ea1c3c64ea7012cd70a3b50ff4373264.tar.bz2 manaserv-9ff69160ea1c3c64ea7012cd70a3b50ff4373264.tar.xz manaserv-9ff69160ea1c3c64ea7012cd70a3b50ff4373264.zip |
[Abilities] Renamed specials to abilities
Diffstat (limited to 'example/scripts/special_actions.lua')
-rw-r--r-- | example/scripts/special_actions.lua | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/example/scripts/special_actions.lua b/example/scripts/special_actions.lua deleted file mode 100644 index e18299a2..00000000 --- a/example/scripts/special_actions.lua +++ /dev/null @@ -1,22 +0,0 @@ ---[[ - - Special action script file - - This file allows you to implement your special action system. The system can - for example implement magic, physical attack or also such mundane things as - showing emoticons over the characters heads. - ---]] - -local spell1 = get_special_info("Magic_Test Spell 1") -spell1:on_use(function(user, target, specialid) - target = target or user - target:say("Kaaame...Haaame... HAAAAAA!") - user:set_special_mana(specialid, 0) -end) -spell1:on_recharged(function(ch) ch:say("Hoooooooo...") end) - -local spell2 = get_special_info(2) -spell2:on_use(function(user) user:say("HAA-DOKEN!") end) - -get_special_info(3):on_use(function(user) user:say("Sonic BOOM") end) |