diff SkeenCore3BeastMasteryHunter.lua @ 5:afd83bc06b1e v1.3.0

Updated to make use of library
author Emil Madsen <skeen@cs.au.dk>
date Sun, 31 Jul 2011 21:52:18 +0200
parents 629e6e84fd18
children a6e2ff3a8f61
line wrap: on
line diff
--- a/SkeenCore3BeastMasteryHunter.lua	Fri Jul 08 00:02:47 2011 +0200
+++ b/SkeenCore3BeastMasteryHunter.lua	Sun Jul 31 21:52:18 2011 +0200
@@ -1,6 +1,7 @@
 --
 -- SkeenCore3BeastMasteryHunter
 -- 
+local LibSkeenCore = LibStub("LibSkeenCore");
 
 local function Rotation()
 
@@ -22,15 +23,15 @@
 	local focus = UnitPower("player")
 
     --Cooldowns
-    local kill_command_cooldown = GetCooldown(34026) --"Kill Command"
-    local kill_shot_cooldown = GetCooldown(53351) --"Kill Shot"
-    local rapid_fire_cooldown = GetCooldown(3045) --"Rapid Fire"
-    local focus_fire_cooldown = GetCooldown(82692) --"Focus Fire"
-    local fervor_cooldown = GetCooldown(82726) --"Fervor"
-    local bestial_wrath_cooldown = GetCooldown(19574) --"Bestial Wrath"
+    local kill_command_cooldown = LibSkeenCore:GetCooldown(34026) --"Kill Command"
+    local kill_shot_cooldown = LibSkeenCore:GetCooldown(53351) --"Kill Shot"
+    local rapid_fire_cooldown = LibSkeenCore:GetCooldown(3045) --"Rapid Fire"
+    local focus_fire_cooldown = LibSkeenCore:GetCooldown(82692) --"Focus Fire"
+    local fervor_cooldown = LibSkeenCore:GetCooldown(82726) --"Fervor"
+    local bestial_wrath_cooldown = LibSkeenCore:GetCooldown(19574) --"Bestial Wrath"
     
     --Debuff
-    local serpent_sting_duration = GetDebuffDuration(1978) --"Serpent Sting"
+    local serpent_sting_duration = LibSkeenCore:GetDebuffDuration(1978) --"Serpent Sting"
 
     -- Get the target's health percentage
 	local TargetsPercentOfHealth = (UnitHealth("target") / UnitHealthMax("target") * 100);