1------------------------------------------------------------------------------[[
2-- Filename: support.lua
3--
4-- Description: This file contains the definitions of all support skills that
5-- exist in Hero of Allacrost. Each support skill has a unique integer identifier
6-- that is used as its key in the skills table below.
7------------------------------------------------------------------------------]]
8
9-- All support skills definitions are stored in this table
10if (skills == nil) then
11	skills = {}
12end
13
14
15--------------------------------------------------------------------------------
16-- IDs 20001-30000 are reserved for support skills
17--------------------------------------------------------------------------------
18
19skills[20001] = {
20	name = hoa_system.Translate("Refresh"),
21	description = hoa_system.Translate("Heals a party member by restoring a small amount of life force."),
22	sp_required = 2,
23	warmup_time = 1500,
24	cooldown_time = 200,
25	target_type = hoa_global.GameGlobal.GLOBAL_TARGET_ALLY,
26
27	BattleExecute = function(user, target)
28		target_actor = target:GetActor();
29		target_actor:AddHitPoints(hoa_utils.RandomBoundedInteger(30,50));
30		AudioManager:PlaySound("snd/heal.wav");
31	end,
32
33	FieldExecute = function(target, instigator)
34		target:AddHitPoints(hoa_utils.RandomBoundedInteger(30,50));
35		AudioManager:PlaySound("snd/heal_spell.wav");
36	end
37}
38