diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-20 22:26:24 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:46 +0200 |
commit | 4f46549b29234d7e7bc545cc6234880ee117a950 (patch) | |
tree | 916de51f6ebce18e261f876f593b04b36423cd1f /example | |
parent | 1fdbc0af01b9e515a8610b20c4e0cb760a3635eb (diff) | |
download | manaserv-4f46549b29234d7e7bc545cc6234880ee117a950.tar.gz manaserv-4f46549b29234d7e7bc545cc6234880ee117a950.tar.bz2 manaserv-4f46549b29234d7e7bc545cc6234880ee117a950.tar.xz manaserv-4f46549b29234d7e7bc545cc6234880ee117a950.zip |
[Abilities] Removed all except one ability
Should allow easier modification without thinking of useful examples for
each one
Diffstat (limited to 'example')
-rw-r--r-- | example/abilities.xml | 16 | ||||
-rw-r--r-- | example/scripts/abilities.lua | 5 |
2 files changed, 0 insertions, 21 deletions
diff --git a/example/abilities.xml b/example/abilities.xml index 93a67c0b..6d1c3233 100644 --- a/example/abilities.xml +++ b/example/abilities.xml @@ -9,21 +9,5 @@ rechargeattribute="6" target="point" /> - <ability - id="2" - name="Test Spell 2" - rechargeable="true" - needed="1000" - rechargeattribute="6" - target="being" - /> - <ability - id="3" - name="Test Spell 3" - rechargeable="true" - needed="10000" - rechargeattribute="6" - target="point" - /> </ability-category> </abilities> diff --git a/example/scripts/abilities.lua b/example/scripts/abilities.lua index c5f2161e..d7449b0e 100644 --- a/example/scripts/abilities.lua +++ b/example/scripts/abilities.lua @@ -15,8 +15,3 @@ spell1:on_use(function(user, x, y, abilityId) user:set_ability_mana(abilityId, 0) end) spell1:on_recharged(function(ch) ch:say("Hoooooooo...") end) - -local spell2 = get_ability_info(2) -spell2:on_use(function(user) user:say("HAA-DOKEN!") end) - -get_ability_info(3):on_use(function(user) user:say("Sonic BOOM") end) |