All pastes #36397 Raw Edit

Someone

public text v1 · immutable
#36397 ·published 2006-01-10 21:28 UTC
rendered paste body
--<< ================================================= >>--
-- Section I: Initialize the AddOn Object.               --
--<< ================================================= >>--

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

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

function AceTimerShaman:Enable()
  self:SetupShamanTable()
end

function AceTimerShaman:Disable()

end


function AceTimerShaman:SetupShamanTable()

  self:InsertSpell("Stoneskin Totem", "Stoneskin", 60, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, ACETIMER.SPELL_CLASS_TOTEM_EARTH)
  self:InsertSpell("Strength of Earth Totem", "Strength of Earth", 45, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, ACETIMER.SPELL_CLASS_TOTEM_EARTH)
  self:InsertSpell("Tremor Totem", "Tremor", 90, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, ACETIMER.SPELL_CLASS_TOTEM_EARTH)
  self:InsertSpell("Stoneclaw Totem", "Stoneclaw", 15, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, ACETIMER.SPELL_CLASS_TOTEM_EARTH)
  self:InsertSpell("Earthbind Totem", "Earthbind", 45, self.TargetSelfOnly, ACETIMER.COLOR_GREEN, ACETIMER.SPELL_CLASS_TOTEM_EARTH)
  
  self:InsertSpell("Searing Totem", "Searing", 55, self.TargetSelfOnly, ACETIMER.COLOR_RED, ACETIMER.SPELL_CLASS_TOTEM_FIRE)
  self:InsertSpell("Fire Nova Totem", "Fire Nova", 5, self.TargetSelfOnly, ACETIMER.COLOR_RED, ACETIMER.SPELL_CLASS_TOTEM_FIRE)
  self:InsertSpell("Flametongue Totem", "Flametongue", 90, self.TargetSelfOnly, ACETIMER.COLOR_RED, ACETIMER.SPELL_CLASS_TOTEM_FIRE)
  self:InsertSpell("Magma Totem", "Magma", 20, self.TargetSelfOnly, ACETIMER.COLOR_RED, ACETIMER.SPELL_CLASS_TOTEM_FIRE)
  self:InsertSpell("Frost Resistance Totem", "Frost Resistance", 60, self.TargetSelfOnly, ACETIMER.COLOR_RED, ACETIMER.SPELL_CLASS_TOTEM_FIRE)
  
  self:InsertSpell("Grace of Air Totem", "Grace of Air", 90, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Grounding Totem", "Grounding", 45, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Nature Resistance Totem", "Nature Resistance", 60, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Sentry Totem", "Sentry", 300, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Windfury Totem", "Windfury", 90, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Windwall Totem", "Windwall", 60, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  self:InsertSpell("Tranquil Air Totem","Tranquil Air",85, self.TargetSelfOnly, ACETIMER.COLOR_LIGHT_BLUE, ACETIMER.SPELL_CLASS_TOTEM_AIR)
  
  self:InsertSpell("Mana Spring Totem", "Mana Spring", 60, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  self:InsertSpell("Mana Tide Totem", "Mana Tide", 12, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  self:InsertSpell("Healing Stream Totem", "Healing Stream", 60, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  self:InsertSpell("Fire Resistance Totem", "Fire Resistance", 60, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  self:InsertSpell("Disease Cleansing Totem", "Disease Cleansing", 90, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  self:InsertSpell("Poison Cleansing Totem", "Poison Cleansing", 90, self.TargetSelfOnly, ACETIMER.COLOR_BLUE, ACETIMER.SPELL_CLASS_TOTEM_WATER)
  
  self:InsertSpell("Frost Shock", "Frost", 8, self.TargetHostile, ACETIMER.COLOR_BLUE, nil)
  self:InsertSpell("Flame Shock", "Flame", 12, self.TargetHostile, ACETIMER.COLOR_RED, nil)

  self:InsertRank("Strength of Earth Totem", 15)
  self:InsertRank("Searing Totem", 5)
  
  self:InsertTalent("Fire Nova Totem", "Improved Fire Nova Totem", FALSE, -1, -1)  
  self:InsertTalent("Mana Spring Totem", "Eventide", FALSE, 2, 2)
  self:InsertTalent("Healing Stream Totem", "Eventide", FALSE, 2, 2)
    
end


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

AceTimerShaman:RegisterForLoad()