All pastes #40144 Raw Edit

haste

public lua v1 · immutable
#40144 ·published 2006-02-05 14:40 UTC
rendered paste body
--<< ================================================= >>---- Section I: Initialize the AddOn Object.               ----<< ================================================= >>--AceTimerWarrior = AceTimer:new({	name          = "AceTimerWarrior",	cmd           = AceChatCmd:new({})})function AceTimerWarrior:Initialize()  AceTimer:AddModule(self)endfunction AceTimerWarrior:Enable()  self:SetupWarriorTable()endfunction AceTimerWarrior:Disable()endfunction 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)end--<< ================================================= >>---- Section Omega: Register the AddOn Object.             ----<< ================================================= >>--AceTimerWarrior:RegisterForLoad()