--[[ Abilities script file This file allows you to implement your ability 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_ability_info("Magic_Test Spell 1") spell1:on_use(function(user, x, y, abilityId) target = target or user target:say("Kaaame...Haaame... HAAAAAA! " .. x .. " " .. y) end) spell1:on_recharged(function(ch) ch:say("Hoooooooo...") end)