From aaafcbbad4bca55f1cb27fb91d103ebcd64e666e Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Mon, 15 Apr 2013 19:03:08 +0200 Subject: [Abilities] Turned special 1 into a point target for easier testing --- example/scripts/abilities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/scripts') diff --git a/example/scripts/abilities.lua b/example/scripts/abilities.lua index 35cc1d25..c5f2161e 100644 --- a/example/scripts/abilities.lua +++ b/example/scripts/abilities.lua @@ -11,7 +11,7 @@ local spell1 = get_ability_info("Magic_Test Spell 1") spell1:on_use(function(user, x, y, abilityId) target = target or user - target:say("Kaaame...Haaame... HAAAAAA!") + target:say("Kaaame...Haaame... HAAAAAA! " .. x .. " " .. y) user:set_ability_mana(abilityId, 0) end) spell1:on_recharged(function(ch) ch:say("Hoooooooo...") end) -- cgit v1.2.3-70-g09d2