From 4f46549b29234d7e7bc545cc6234880ee117a950 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 20 Apr 2013 22:26:24 +0200 Subject: [Abilities] Removed all except one ability Should allow easier modification without thinking of useful examples for each one --- example/abilities.xml | 16 ---------------- example/scripts/abilities.lua | 5 ----- 2 files changed, 21 deletions(-) (limited to 'example') 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" /> - - 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) -- cgit v1.2.3-70-g09d2