Co-authored-by: Szyler <Szyler@Szyler.com>
This commit is contained in:
Szyler
2024-03-03 19:23:13 +01:00
committed by GitHub
parent 00255736e5
commit dc8afd6584
53 changed files with 2770 additions and 301 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ function mod:SPELL_AURA_APPLIED(args)
-- DBM:AddMsg("Fishing applied - Pull inc")
-- else
if args:IsSpellID(2137622) then
if args.destName == UnitName("player") then
if args:IsPlayer() then
warnFocusedYou:Show()
else
warnFocusedFire:Show(args.destName)
+11 -1
View File
@@ -61,7 +61,8 @@ local timerParasite = mod:NewNextTimer(45, 2138027)
local timerSiren = mod:NewNextTimer(17, 2138025)
local timerPhoenix = mod:NewNextTimer(16, 2138015)
local warnParasite = mod:NewTargetAnnounce(2138027, 3)
local warnParasite = mod:NewTargetAnnounce(2138027, 3)
local yellParasite = mod:NewFadesYell(2138027)
local warnSong = mod:NewTargetAnnounce(2138026, 3)
local specWarnSiren = mod:NewSpecialWarning("SpecWarnSiren")
@@ -74,6 +75,7 @@ mod:AddBoolOption(L.AimedIcon)
mod:AddBoolOption(L.ChargeYellOpt)
mod:AddBoolOption(L.AimedYellOpt)
mod:AddBoolOption(L.LootYellOpt)
mod:AddBoolOption(L.ParasiteYellOpt)
mod:AddBoolOption("AutoChangeLootToFFA", false)
mod.vb.phase = 1
@@ -208,6 +210,14 @@ function mod:SPELL_AURA_APPLIED(args)
elseif args:IsSpellID(2138027, 2138028, 2138029, 2138030) then
warnParasite:Show(args.destName)
timerParasite:Start()
if args:IsPlayer() and self.Options.ParasiteYellOpt then
yellParasite:Countdown(8,5)
end
elseif args:IsSpellID(2138031, 2138032, 2138033, 2138034) then
warnParasite:Show(args.destName)
if args:IsPlayer() and self.Options.ParasiteYellOpt then
yellParasite:Countdown(16,5)
end
elseif args.spellId == 2138026 then
warnSong:Show(args.destName)
specWarnSiren:Show()
+1
View File
@@ -230,6 +230,7 @@ L:SetOptionLocalization{
AimedYellOpt = "Yell when you are affected by $spell:351310",
LootIcon = "Set icon on the target carrying Tainted Core",
LootYellOpt = "Yell when you are carrying Tainted Core",
ParasiteYellOpt = "Coundown yell when you are infected by $spell:2138027",
AutoChangeLootToFFA = "Switch loot mode to Free for All in Phase 2",
SpecWarnSiren = "Show special warning for when Coilfang Siren spawns",
Discharge = "Show timer for when Shield Generator will deal its damage",