Mercurial > wow > skeencore3beastmasteryhunter
comparison SkeenCore3BeastMasteryHunter.lua @ 3:629e6e84fd18 v1.2.0
Ready 4 multi lang
| author | Emil Madsen <skeen@cs.au.dk> |
|---|---|
| date | Fri, 08 Jul 2011 00:02:44 +0200 |
| parents | 4dbfbe163c49 |
| children | afd83bc06b1e |
comparison
equal
deleted
inserted
replaced
| 2:1350c4dc9631 | 3:629e6e84fd18 |
|---|---|
| 20 spell.cd4 = nil | 20 spell.cd4 = nil |
| 21 | 21 |
| 22 local focus = UnitPower("player") | 22 local focus = UnitPower("player") |
| 23 | 23 |
| 24 --Cooldowns | 24 --Cooldowns |
| 25 local kill_command_cooldown = GetCooldown("Kill Command") | 25 local kill_command_cooldown = GetCooldown(34026) --"Kill Command" |
| 26 local kill_shot_cooldown = GetCooldown("Kill Shot") | 26 local kill_shot_cooldown = GetCooldown(53351) --"Kill Shot" |
| 27 local rapid_fire_cooldown = GetCooldown("Rapid Fire") | 27 local rapid_fire_cooldown = GetCooldown(3045) --"Rapid Fire" |
| 28 local focus_fire_cooldown = GetCooldown("Focus Fire") | 28 local focus_fire_cooldown = GetCooldown(82692) --"Focus Fire" |
| 29 local fervor_cooldown = GetCooldown("Fervor") | 29 local fervor_cooldown = GetCooldown(82726) --"Fervor" |
| 30 local bestial_wrath_cooldown = GetCooldown("Bestial Wrath") | 30 local bestial_wrath_cooldown = GetCooldown(19574) --"Bestial Wrath" |
| 31 | 31 |
| 32 --Debuff | 32 --Debuff |
| 33 local serpent_sting_duration = GetDebuffDuration("Serpent Sting") | 33 local serpent_sting_duration = GetDebuffDuration(1978) --"Serpent Sting" |
| 34 | 34 |
| 35 -- Get the target's health percentage | 35 -- Get the target's health percentage |
| 36 local TargetsPercentOfHealth = (UnitHealth("target") / UnitHealthMax("target") * 100); | 36 local TargetsPercentOfHealth = (UnitHealth("target") / UnitHealthMax("target") * 100); |
| 37 | 37 |
| 38 if (kill_command_cooldown < 1) then | 38 if (kill_command_cooldown < 1) then |
