diff --git a/WarWithin/CityOfThreads/Locales/deDE.lua b/WarWithin/CityOfThreads/Locales/deDE.lua index de37b7fe0..d9a420907 100644 --- a/WarWithin/CityOfThreads/Locales/deDE.lua +++ b/WarWithin/CityOfThreads/Locales/deDE.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "deDE") if not L then return end if L then L.herald_of_ansurek = "Herold von Ansurek" + L.sureki_venomblade = "Giftklinge der Sureki" L.sureki_silkbinder = "Seidenbinder der Sureki" L.royal_swarmguard = "Königliche Schwarmwache" L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Locales/esES.lua b/WarWithin/CityOfThreads/Locales/esES.lua index 91d22ff22..6369d12ee 100644 --- a/WarWithin/CityOfThreads/Locales/esES.lua +++ b/WarWithin/CityOfThreads/Locales/esES.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "esES") or BigWigs:NewB if not L then return end if L then L.herald_of_ansurek = "Heraldo de Ansurek" + L.sureki_venomblade = "Hojaveneno sureki" L.sureki_silkbinder = "Vinculasedas sureki" L.royal_swarmguard = "Guardaenjambre real" L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Locales/frFR.lua b/WarWithin/CityOfThreads/Locales/frFR.lua index dd8ccb9f0..9ab562a45 100644 --- a/WarWithin/CityOfThreads/Locales/frFR.lua +++ b/WarWithin/CityOfThreads/Locales/frFR.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "frFR") if not L then return end if L then L.herald_of_ansurek = "Héraut / Héraldesse d'Ansurek" + L.sureki_venomblade = "Lamevenin sureki" L.sureki_silkbinder = "Tissesoie sureki" L.royal_swarmguard = "Garde-essaim royal" L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Locales/itIT.lua b/WarWithin/CityOfThreads/Locales/itIT.lua index 5e0728499..e4e4ecc1a 100644 --- a/WarWithin/CityOfThreads/Locales/itIT.lua +++ b/WarWithin/CityOfThreads/Locales/itIT.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "itIT") if not L then return end if L then L.herald_of_ansurek = "Alfiere di Ansurek" + L.sureki_venomblade = "Lama Venefica Sureki" L.sureki_silkbinder = "Vincolaseta Sureki" L.royal_swarmguard = "Guardia dello Sciame Reale" L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Locales/koKR.lua b/WarWithin/CityOfThreads/Locales/koKR.lua index 9d4887b60..f1fbfff03 100644 --- a/WarWithin/CityOfThreads/Locales/koKR.lua +++ b/WarWithin/CityOfThreads/Locales/koKR.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "koKR") if not L then return end if L then L.herald_of_ansurek = "안수레크의 전령" + L.sureki_venomblade = "수레키 맹독칼날" L.sureki_silkbinder = "수레키 비단결속사" L.royal_swarmguard = "왕실 무리수호병" L.xephitik = "제프이티크" diff --git a/WarWithin/CityOfThreads/Locales/ptBR.lua b/WarWithin/CityOfThreads/Locales/ptBR.lua index 11112fb56..d161177f0 100644 --- a/WarWithin/CityOfThreads/Locales/ptBR.lua +++ b/WarWithin/CityOfThreads/Locales/ptBR.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "ptBR") if not L then return end if L then L.herald_of_ansurek = "Arauto de Ansurek" + L.sureki_venomblade = "Venelâmina Sureki" L.sureki_silkbinder = "Atasseda Sureki" L.royal_swarmguard = "Zanguarda Régio" L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Locales/ruRU.lua b/WarWithin/CityOfThreads/Locales/ruRU.lua index 40fa72339..ad7741cdf 100644 --- a/WarWithin/CityOfThreads/Locales/ruRU.lua +++ b/WarWithin/CityOfThreads/Locales/ruRU.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "ruRU") if not L then return end if L then L.herald_of_ansurek = "Глашатай Ансурек" + L.sureki_venomblade = "Суреки-ядошип" L.sureki_silkbinder = "Суреки – повелитель шелка" L.royal_swarmguard = "Королевский страж роя" L.xephitik = "Ксеф'итик" diff --git a/WarWithin/CityOfThreads/Locales/zhCN.lua b/WarWithin/CityOfThreads/Locales/zhCN.lua index 1046e11ba..c3cfd244c 100644 --- a/WarWithin/CityOfThreads/Locales/zhCN.lua +++ b/WarWithin/CityOfThreads/Locales/zhCN.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "zhCN") if not L then return end if L then L.herald_of_ansurek = "安苏雷克的传令官" + L.sureki_venomblade = "苏雷吉剧毒之刃" L.sureki_silkbinder = "苏雷吉缚丝者" L.royal_swarmguard = "皇家虫群卫士" L.xephitik = "谢非提克" diff --git a/WarWithin/CityOfThreads/Locales/zhTW.lua b/WarWithin/CityOfThreads/Locales/zhTW.lua index de74880ff..1d22cf33e 100644 --- a/WarWithin/CityOfThreads/Locales/zhTW.lua +++ b/WarWithin/CityOfThreads/Locales/zhTW.lua @@ -2,6 +2,7 @@ local L = BigWigs:NewBossLocale("City of Threads Trash", "zhTW") if not L then return end if L then --L.herald_of_ansurek = "Herald of Ansurek" + --L.sureki_venomblade = "Sureki Venomblade" --L.sureki_silkbinder = "Sureki Silkbinder" --L.royal_swarmguard = "Royal Swarmguard" --L.xephitik = "Xeph'itik" diff --git a/WarWithin/CityOfThreads/Options/Colors.lua b/WarWithin/CityOfThreads/Options/Colors.lua index a5e177208..d8d2240a5 100644 --- a/WarWithin/CityOfThreads/Options/Colors.lua +++ b/WarWithin/CityOfThreads/Options/Colors.lua @@ -37,6 +37,7 @@ BigWigs:AddColors("City of Threads Trash", { [434137] = "yellow", [436205] = "yellow", [441795] = "green", + [443397] = {"blue","purple"}, [443430] = "red", [443433] = {"blue","red"}, [443437] = {"blue","yellow"}, diff --git a/WarWithin/CityOfThreads/Options/Sounds.lua b/WarWithin/CityOfThreads/Options/Sounds.lua index 206aedb08..3fb30e6d6 100644 --- a/WarWithin/CityOfThreads/Options/Sounds.lua +++ b/WarWithin/CityOfThreads/Options/Sounds.lua @@ -37,6 +37,7 @@ BigWigs:AddSounds("City of Threads Trash", { [434137] = "long", [436205] = "info", [441795] = "info", + [443397] = "alert", [443430] = "alert", [443433] = {"alert","underyou"}, [443437] = "alarm", diff --git a/WarWithin/CityOfThreads/Trash.lua b/WarWithin/CityOfThreads/Trash.lua index 8bdfa9767..ea842fc10 100644 --- a/WarWithin/CityOfThreads/Trash.lua +++ b/WarWithin/CityOfThreads/Trash.lua @@ -8,6 +8,7 @@ mod.displayName = CL.trash mod:RegisterEnableMob( 223254, -- Queen Ansurek / The Vizier (gossip NPC) 220196, -- Herald of Ansurek + 220193, -- Sureki Venomblade 220195, -- Sureki Silkbinder 220197, -- Royal Swarmguard 219984, -- Xeph'itik @@ -34,6 +35,7 @@ mod:RegisterEnableMob( local L = mod:GetLocale() if L then L.herald_of_ansurek = "Herald of Ansurek" + L.sureki_venomblade = "Sureki Venomblade" L.sureki_silkbinder = "Sureki Silkbinder" L.royal_swarmguard = "Royal Swarmguard" L.xephitik = "Xeph'itik" @@ -66,6 +68,8 @@ function mod:GetOptions() -- Herald of Ansurek {443437, "SAY", "SAY_COUNTDOWN", "NAMEPLATE"}, -- Shadows of Doubt 443433, -- Twist Thoughts + -- Sureki Venomblade + {443397, "DISPEL", "NAMEPLATE"}, -- Venom Strike -- Sureki Silkbinder {443430, "NAMEPLATE"}, -- Silk Binding -- Royal Swarmguard @@ -97,6 +101,7 @@ function mod:GetOptions() {447271, "NAMEPLATE"}, -- Tremor Slam }, { [443437] = L.herald_of_ansurek, + [443397] = L.sureki_venomblade, [443430] = L.sureki_silkbinder, [443500] = L.royal_swarmguard, [450784] = L.xephitik, @@ -131,6 +136,12 @@ function mod:OnBossEnable() self:Log("SPELL_PERIODIC_MISSED", "TwistThoughtsDamage", 443435) self:Death("HeraldOfAnsurekDeath", 220196) + -- Sureki Venomblade + self:RegisterEngageMob("SurekiVenombladeEngaged", 220193) + self:Log("SPELL_CAST_SUCCESS", "VenomStrikeSuccess", 443397) + self:Log("SPELL_AURA_APPLIED", "VenomStrikeApplied", 443401) + self:Death("SurekiVenombladeDeath", 220193) + -- Sureki Silkbinder self:RegisterEngageMob("SurekiSilkbinderEngaged", 220195) self:Log("SPELL_CAST_START", "SilkBinding", 443430) @@ -309,6 +320,36 @@ function mod:HeraldOfAnsurekDeath(args) self:ClearNameplate(args.destGUID) end +-- Sureki Venomblade + +function mod:SurekiVenombladeEngaged(guid) + if self:Tank() or self:Dispeller("poison", nil, 443397) then + self:Nameplate(443397, 2.6, guid) -- Silk Binding + end +end + +function mod:VenomStrikeSuccess(args) + if self:Tank() or self:Dispeller("poison", nil, args.spellId) then + self:Nameplate(args.spellId, 11.1, args.sourceGUID) + end +end + +do + local prev = 0 + function mod:VenomStrikeApplied(args) + -- throttle because separate debuffs can be applied by multiple mobs at once + if (self:Me(args.destGUID) or (self:Dispeller("poison", nil, 443397) and self:Friendly(args.destFlags))) and args.time - prev > 2.5 then + prev = args.time + self:TargetMessage(443397, "purple", args.destName) + self:PlaySound(443397, "alert", nil, args.destName) + end + end +end + +function mod:SurekiVenombladeDeath(args) + self:ClearNameplate(args.destGUID) +end + -- Sureki Silkbinder function mod:SurekiSilkbinderEngaged(guid)