Skip to content

Commit

Permalink
Bastion/TwilightAscendants: Cleanup link implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Jul 28, 2024
1 parent 69e821e commit 02db5fe
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 38 deletions.
3 changes: 0 additions & 3 deletions Bastion/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,5 @@ if L then
L.thundershock_quake_spam = "%s in %d"

L.last_phase_trigger = "Beeindruckende Leistung…" -- what the heck Blizz??

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,5 @@ if L then
L.thundershock_quake_spam = "%s en %d"

L.last_phase_trigger = "Una exhibición impresionante..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,5 @@ if L then
L.thundershock_quake_spam = "%s en %d"

L.last_phase_trigger = "Una exhibición impresionante..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,5 @@ if L then
L.thundershock_quake_spam = "%s dans %d"

L.last_phase_trigger = "Quelle démonstration impressionnante" -- "CONTEMPLEZ VOTRE DESTIN !" -- à vérifier

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,5 @@ if L then
L.thundershock_quake_spam = "%s in %d"

L.last_phase_trigger = "Ecco la vostra rovina..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

4 changes: 0 additions & 4 deletions Bastion/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,4 @@ if L then
L.thundershock_quake_spam = "%2$d초 후 %1$s"

L.last_phase_trigger = "꽤나 인상적이었다만..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

4 changes: 0 additions & 4 deletions Bastion/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,4 @@ if L then
L.thundershock_quake_spam = "%s em %d"

L.last_phase_trigger = "Que apresentação incrível..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ if L then
L.thundershock_quake_spam = "%s через %d"

L.last_phase_trigger = "Ваше упорство..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

L = BigWigs:NewBossLocale("Sinestra", "ruRU")
Expand Down
3 changes: 0 additions & 3 deletions Bastion/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,5 @@ if L then
L.thundershock_quake_spam = ">%s< %d!"

L.last_phase_trigger = "令人印象深刻……"

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

3 changes: 0 additions & 3 deletions Bastion/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,5 @@ if L then
L.thundershock_quake_spam = ">%s< %d!"

L.last_phase_trigger = "令人印象深刻的表現..."

--L.custom_on_linked_spam = "Repeating 'Linked' say messages"
--L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
end

12 changes: 6 additions & 6 deletions Bastion/TwilightAscendants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ if L then

L.last_phase_trigger = "An impressive display..."

L.custom_on_linked_spam = "Repeating 'Linked' say messages"
L.custom_on_linked_spam_icon = "Interface\\AddOns\\BigWigs\\Media\\Icons\\Menus\\Say"
L.custom_on_linked_spam_desc = "Repeating say messages in chat stating who you are linked with."
L.custom_on_linked_spam = CL.link_say_option_name
L.custom_on_linked_spam_desc = CL.link_say_option_desc
L.custom_on_linked_spam_icon = mod:GetMenuIcon("SAY")
end

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -180,7 +180,7 @@ do
local function RepeatLinkSay()
if not mod:IsEngaged() or not mySaySpamTarget then return end
mod:SimpleTimer(RepeatLinkSay, 1.5)
mod:Say(false, CL.link_with_rticon:format(mySaySpamTarget[1], mySaySpamTarget[2]), true, ("Linked with {rt%d}%s"):format(mySaySpamTarget[1], mySaySpamTarget[2]))
mod:Say(false, CL.link_with_rticon:format(mySaySpamTarget[1], mySaySpamTarget[2]), true, ("{rt%d}Linked with %s"):format(mySaySpamTarget[1], mySaySpamTarget[2]))
end
function mod:StaticOverload(args)
staticOverloadTarget = args.destName
Expand Down Expand Up @@ -212,7 +212,7 @@ do
if self:Me(args.destGUID) then
gravityCoreOnMe = true
if staticOverloadTarget and self:GetOption("custom_on_linked_spam") then
mySaySpamTarget = {4, self:Ambiguate(staticOverloadTarget, "short")}
mySaySpamTarget = {5, self:Ambiguate(staticOverloadTarget, "short")}
self:SimpleTimer(RepeatLinkSay, 1.5)
end
self:Say(args.spellId, CL.count_rticon:format(CL.link, 2, 5), nil, "Link (2{rt5})")
Expand All @@ -222,7 +222,7 @@ do
self:Message(args.spellId, "yellow", CL.link_both_icon:format(4, self:ColorName(staticOverloadTarget), 5, self:ColorName(args.destName)))
end
if staticOverloadOnMe and self:GetOption("custom_on_linked_spam") then
mySaySpamTarget = {5, self:Ambiguate(args.destName, "short")}
mySaySpamTarget = {4, self:Ambiguate(args.destName, "short")}
RepeatLinkSay()
end
end
Expand Down

0 comments on commit 02db5fe

Please sign in to comment.