Skip to content

Commit

Permalink
More global cleanup, removal of redundancies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Jul 27, 2019
1 parent c615b6d commit 2b8f97d
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 20 deletions.
1 change: 0 additions & 1 deletion Classes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,6 @@ all:RegisterAuras( {
duration = 15,
alias = { "ferocity_of_the_frostwolf", "might_of_the_blackrock", "zeal_of_the_burning_blade", "rictus_of_the_laughing_skull" },
aliasMode = "first",
duration = 15,
},

arcane_pulse = {
Expand Down
2 changes: 0 additions & 2 deletions Classes/DemonHunterVengeance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,6 @@ if UnitClassBase( 'player' ) == 'DEMONHUNTER' then
cooldown = function () return ( pvptalent.sigil_mastery.enabled and 0.75 or 1 ) * 60 end,
gcd = "spell",

toggle = "cooldowns",

startsCombat = true,
texture = 1418288,

Expand Down
8 changes: 0 additions & 8 deletions Classes/HunterBeastMastery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,6 @@ if UnitClassBase( 'player' ) == 'HUNTER' then


-- PvP Talents
dire_beast_hawk = {
id = 208684,
duration = 3600,
max_stack = 1,
},

hiexplosive_trap = {
id = 236777,
duration = 0.1,
Expand Down Expand Up @@ -982,8 +976,6 @@ if UnitClassBase( 'player' ) == 'HUNTER' then
cooldown = 0,
gcd = "spell",

velocity = 50,

spend = 40,
spendType = "focus",

Expand Down
3 changes: 1 addition & 2 deletions Classes/HunterSurvival.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1058,9 +1058,8 @@ if UnitClassBase( 'player' ) == 'HUNTER' then
volatile_bomb = {
-- id = 271045,
known = 259495,
charges = function () return talent.guerrilla_tactics.enabled and 2 or nil end,
cast = 0,
charges = 2,
charges = function () return talent.guerrilla_tactics.enabled and 2 or nil end,
cooldown = 18,
recharge = 18,
hasteCD = true,
Expand Down
1 change: 0 additions & 1 deletion Classes/WarlockDemonology.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ if UnitClassBase( 'player' ) == 'WARLOCK' then

spec:RegisterStateFunction( "summon_demon", function( name, duration, count )
local db = other_demon_v
delay = delay or 0

if name == 'dreadstalkers' then db = dreadstalkers_v
elseif name == 'vilefiend' then db = vilefiend_v
Expand Down
2 changes: 0 additions & 2 deletions Classes/WarriorArms.lua
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,6 @@ if UnitClassBase( 'player' ) == 'WARRIOR' then
cooldown = 180,
gcd = "spell",

toggle = "cooldowns",

startsCombat = false,
texture = 132336,

Expand Down
2 changes: 1 addition & 1 deletion Classes/WarriorProtection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ if UnitClassBase( 'player' ) == 'WARRIOR' then
last_stand = {
id = 12975,
cast = 0,
cooldown = function () return talent.bolster.enabled and 120 and 180 end,
cooldown = function () return talent.bolster.enabled and 120 or 180 end,
gcd = "spell",

toggle = "defensives",
Expand Down
2 changes: 1 addition & 1 deletion Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7068,7 +7068,7 @@ do
append( "spec:RegisterAbilities( {" )
increaseIndent()

count = 1
local count = 1
for k, a in orderedPairs( abilities ) do
if count > 1 then append( "\n" ) end
count = count + 1
Expand Down
5 changes: 3 additions & 2 deletions UI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ local format = string.format

local HasVehicleActionBar, HasOverrideActionBar, IsInPetBattle, UnitHasVehicleUI, UnitOnTaxi = HasVehicleActionBar, HasOverrideActionBar, C_PetBattles.IsInBattle, UnitHasVehicleUI, UnitOnTaxi


local Masque, MasqueGroup
local _


function Hekili:GetScale()
Expand Down Expand Up @@ -162,7 +162,8 @@ function ns.StartConfiguration( external )
ns.UI.Notification.Mover:SetBackdropBorderColor( ccolor.r, ccolor.g, ccolor.b, 1 )
ns.UI.Notification.Mover:Show()

f = ns.UI.Notification.Mover
local f = ns.UI.Notification.Mover

if not f.Header then
f.Header = f:CreateFontString( "HekiliNotificationHeader", "OVERLAY", "GameFontNormal" )
local path, size = f.Header:GetFont()
Expand Down

0 comments on commit 2b8f97d

Please sign in to comment.