Skip to content

Commit

Permalink
[KA] Added Captain Vrol's Fire Mage Meteors countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryDragon committed Nov 8, 2021
1 parent 35c25f2 commit 5b01899
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuffsDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ kynes_aegis.yandir_gargoyle_totem_spawn = 133514
kynes_aegis.yandir_chaurus_totem_spawn = 133516
-- Chaurus Bile, projectile from Chaurus Totem at Yandir the Butcher boss
kynes_aegis.yandir_chaurus_bile = 133559
-- Meteor casted by Vrolsworn Fire Mage during the Captain Vrol boss encounter
kynes_aegis.vrol_firemage_meteor = 134023
-- Effect which fires when Lord Falgravn starts his Ichor Eruption mechanic
kynes_aegis.falgravn_ichor_eruption_timer = 136548

Expand Down
8 changes: 8 additions & 0 deletions Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ do ------------------
bloodknight_blood_fountain = false,
yandir_totem_spawn = 0, -- "Off"
yandir_chaurus_bile = 0, -- "Off"
vrol_firemage_meteor = 0, -- "Off"
falgravn_ichor_eruption = false,
falgravn_ichor_eruption_time_before = 3,
},
Expand Down Expand Up @@ -555,6 +556,7 @@ function RaidNotifier:CreateSettingsMenu()
L.Settings_General_Choices_All,
},
yandir_chaurus_bile = off_self_all,
vrol_firemage_meteor = off_self_all,
},
rockgrove = {
sulxan_reaver_sundering_strike = off_self_all,
Expand Down Expand Up @@ -1625,6 +1627,12 @@ function RaidNotifier:CreateSettingsMenu()
tooltip = L.Settings_KynesAegis_Chaurus_Bile_TT,
choices = choices.kynesAegis.yandir_chaurus_bile,
}, "kynesAegis", "yandir_chaurus_bile")
MakeControlEntry({
type = "dropdown",
name = L.Settings_KynesAegis_Vrol_FireMage_Meteor,
tooltip = L.Settings_KynesAegis_Vrol_FireMage_Meteor_TT,
choices = choices.kynesAegis.vrol_firemage_meteor,
}, "kynesAegis", "vrol_firemage_meteor")
MakeControlEntry({
type = "checkbox",
name = L.Settings_KynesAegis_Ichor_Eruption,
Expand Down
11 changes: 11 additions & 0 deletions TrialKynesAegis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ function RaidNotifier.KA.OnCombatEvent(_, result, isError, aName, aGraphic, aAct
end
end
end
-- Vrolsworn Fire Mage's meteors (3 meteors at once)
if (abilityId == buffsDebuffs.vrol_firemage_meteor) then
-- hitValue = 1 for casting or 2250 as the duration of meteor's reaching the targets
if (settings.vrol_firemage_meteor >= 1 and hitValue > 1) then
if (tType == COMBAT_UNIT_TYPE_PLAYER) then
self:StartCountdown(hitValue, GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_VROL_FIREMAGE_METEOR), "kynesAegis", "vrol_firemage_meteor", true, 2)
elseif (settings.vrol_firemage_meteor == 2) then
self:StartCountdown(hitValue, GetString(RAIDNOTIFIER_ALERTS_KYNESAEGIS_VROL_FIREMAGE_METEOR_OTHER), "kynesAegis", "vrol_firemage_meteor", false, 2)
end
end
end
elseif (result == ACTION_RESULT_EFFECT_GAINED_DURATION) then
-- Lord Falgravn's timer before Ichor Eruption mechanic happens
if (abilityId == buffsDebuffs.falgravn_ichor_eruption_timer) then
Expand Down
4 changes: 4 additions & 0 deletions lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ L.Settings_KynesAegis_Totem = "Yandir: Totems spawn"
L.Settings_KynesAegis_Totem_TT = "Alerts you when certain totem appeared during the battle with Yandir the Butcher boss.\n\nDragon Totems: always two appears at the same time; each one blows out fire along a straight line in two opposite directions.\nHarpy Totem: spawns a lightning aura that will radiate out.\nGargoyle totem: encases random players into stone.\nChaurus Totem: poisons several people, and this poison should not be spread to others, that's why you should not stack at this phase."
L.Settings_KynesAegis_Chaurus_Bile = "Yandir: Chaurus Bile"
L.Settings_KynesAegis_Chaurus_Bile_TT = "Alerts you when Chaurus Totem launch Chaurus Bile projectiles towards random group members. This projectile can be dodged."
L.Settings_KynesAegis_Vrol_FireMage_Meteor = "Vrol: Meteors"
L.Settings_KynesAegis_Vrol_FireMage_Meteor_TT = "Alerts you when Vrolsworn Fire Mages from the boat will cast meteors on players."
L.Settings_KynesAegis_Ichor_Eruption = "Falgravn: Ichor Eruption"
L.Settings_KynesAegis_Ichor_Eruption_TT = "Shows countdown until Falgravn will release his Ichor Eruption."
L.Settings_KynesAegis_Ichor_Eruption_CD_Time = " - Countdown time"
Expand All @@ -578,6 +580,8 @@ L.Alerts_KynesAegis_Gargoyle_Totem = "|cf5f5dcGargoyle Totem|r
L.Alerts_KynesAegis_Chaurus_Totem = "|c39942eChaurus Totem|r spawned. Don't stack!"
L.Alerts_KynesAegis_Chaurus_Bile_Self = "|c39942eChaurus Bile|r incoming at you. Dodge!"
L.Alerts_KynesAegis_Chaurus_Bile_Common = "|c39942eChaurus Bile|r incoming!"
L.Alerts_KynesAegis_Vrol_FireMage_Meteor = "|cffa500Meteor|r on you in"
L.Alerts_KynesAegis_Vrol_FireMage_Meteor_Other = "Meteors in"
L.Alerts_KynesAegis_Ichor_Eruption = "|cb00000Ichor Eruption|r in"


Expand Down

0 comments on commit 5b01899

Please sign in to comment.