Skip to content

Commit

Permalink
Firelands/Shannox: Add Face Rage cooldown timer (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
stako authored Nov 17, 2024
1 parent 25b9f8b commit 4101671
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Firelands/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if L then
L.immolationyou_message = "Brandfalle"
L.crystal = "Kristallgefängnisfalle"
L.crystal_desc = "Warnt, unter wen Shannox die Kristallgefängnisfalle ablegt."
L.facerage_trigger = "An die Gurgel!"
end

L = BigWigs:NewBossLocale("Baleroc", "deDE")
Expand Down
1 change: 1 addition & 0 deletions Firelands/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if L then
L.immolationyou_message = "Piège d'immolation"
L.crystal = "Piège de cristal"
L.crystal_desc = "Prévient en dessous de qui Shannox incante un piège de cristal."
L.facerage_trigger = "À la gorge !"
end

L = BigWigs:NewBossLocale("Baleroc", "frFR")
Expand Down
1 change: 1 addition & 0 deletions Firelands/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if L then
L.immolationyou_message = "Обжигающая ловушка"
L.crystal = "Кристаллическая ловушка"
L.crystal_desc = "Объявлять, когда Шэннокс бросает кристаллическую ловушку."
L.facerage_trigger = "Хватай за горло!"
end

L = BigWigs:NewBossLocale("Baleroc", "ruRU")
Expand Down
6 changes: 6 additions & 0 deletions Firelands/Shannox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if L then
L.crystal = "Crystal Trap"
L.crystal_desc = "Warn whom Shannox casts a Crystal Trap under."
L.crystal_icon = 99836
L.facerage_trigger = "Go for the throat!"
end
L = mod:GetLocale()

Expand Down Expand Up @@ -56,10 +57,12 @@ function mod:OnBossEnable()
self:Log("SPELL_AURA_REMOVED", "FaceRageRemoved", 99945, 99947)
self:Log("SPELL_CAST_SUCCESS", "HurlSpear", 99978, 100002) -- Retail?, Cataclysm Classic
self:Log("SPELL_SUMMON", "Traps", 99836, 99839) -- Throw Crystal Prison Trap, Throw Immolation Trap
self:BossYell("FaceRageTrigger", L["facerage_trigger"]) -- BossYell is more accurate than SPELL_CAST_SUCCESS for Face Rage cooldown
end

function mod:OnEngage()
self:Bar(100002, 23) -- Hurl Spear
self:CDBar(100129, 15) -- Face Rage
self:Berserk(600)
end

Expand Down Expand Up @@ -130,3 +133,6 @@ function mod:FaceRageRemoved(args)
self:PrimaryIcon(100129)
end

function mod:FaceRageTrigger()
self:CDBar(100129, 30)
end

0 comments on commit 4101671

Please sign in to comment.