All pastes #40143 Raw Edit

Mine

public text v1 · immutable
#40143 ·published 2006-02-05 14:39 UTC
rendered paste body
--<< ================================================= >>--
-- Section I: Initialize the AddOn Object.               --
--<< ================================================= >>--

AceTimerWarrior = AceTimer:new({
	name          = "AceTimerWarrior",
	cmd           = AceChatCmd:new({})
})

function AceTimerWarrior:Initialize()
  AceTimer:AddModule(self)
end

function AceTimerWarrior:Enable()
  self:SetupWarriorTable()
end

function AceTimerWarrior:Disable()

end

function AceTimerWarrior:SetupWarriorTable()

  self:InsertSpell("Rend", "Rend", 21, self.TargetHostile, ACETIMER.COLOR_RED, nil)
  self:InsertSpell("Deep Wound", "Deep Wound", 12, self.TargetHostile, ACETIMER.COLOR_RED, nil)
  self:InsertSpell("Hamstring", "Hamstring", 15, self.TargetHostile, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Improved Hamstring", "Imp Hamstring", 5, self.TargetHostile, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Sweeping Strikes", "Sweeping", 20, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, nil)
  self:InsertSpell("Enrage", "Enrage", 12, self.TargetSelfOnly, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Death Wish", "Death Wish", 30, self.TargetSelfOnly, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Flurry", "Flurry", 12, self.TargetSelfOnly, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Berserker Rage", "Zerk Rage", 10, self.TargetSelfOnly, ACETIMER.COLOR_YELLOW, nil)
  self:InsertSpell("Bloodthirst", "Bloodthirst", 8, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, nil)
 
  self:InsertAreaSpell("Piercing Howl", "Howl", 0, ACETIMER.COLOR_BLUE, nil)
  self:InsertChatTrigger("Piercing Howl", "Howl", 6, 1, TRUE, "(.+) is afflicted by Piercing Howl.", ACETIMER.COLOR_BLUE, nil)
 



--<< ================================================= >>--
-- Section Omega: Register the AddOn Object.             --
--<< ================================================= >>--

AceTimerWarrior:RegisterForLoad()