--<< ====================================================================== >>--
-- Setup Timers                                                               --
--<< ====================================================================== >>--
local BS = AceLibrary("Babble-Spell-2.2")
local L = AceLibrary("AceLocale-2.2"):new("Chronometer")

function Chronometer:RacialSetup()

	local lr, race = UnitRace("player")
	
	if race == "Dwarf" then
		self:AddTimer(self.SPELL, BS["Stoneform"],              8, 0,1,1)
	elseif race == "Human" then
		self:AddTimer(self.SPELL, BS["Perception"],             20, 0,1,1)
	elseif race == "Orc" then
		self:AddTimer(self.SPELL, BS["Blood Fury"],             15, 0,1,1)
	elseif race == "Tauren" then
		self:AddTimer(self.SPELL, BS["War Stomp"],              2, 0,0,0)
	elseif race == "Troll" then
		self:AddTimer(self.SPELL, BS["Berserking"],             10, 0,1,1)
	elseif race == "Scourge" then
		self:AddTimer(self.SPELL, BS["Will of the Forsaken"],   5, 0,1,1)
	elseif race == "BloodElf" then
		self:AddTimer(self.SPELL, L["Arcane Torrent"],         2, 0,0,0)
	elseif race == "Draenei" then
		self:AddTimer(self.SPELL, L["Gift of the Naaru"],     15, 1,1,1)
	end
	
end

table.insert(Chronometer.dataSetup, Chronometer.RacialSetup)
