mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
libpredict: convert strings into locale tables
This commit is contained in:
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["deDE"]["class"] = {
|
||||
["Schurke"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["deDE"]["healduration"] = {
|
||||
["Rejuvenation"] = "Erhöht die Dauer Eures Zaubers 'Verjüngung' um 3 Sek.",
|
||||
["Renew"] = "Erhöht die Wirkungsdauer von 'Erneuerung' um 3 Sek.",
|
||||
}
|
||||
|
||||
pfUI_locale["deDE"]["bagtypes"] = {
|
||||
["Köcher"] = "QUIVER",
|
||||
["Seelentasche"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["enUS"]["class"] = {
|
||||
["Rogue"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["enUS"]["healduration"] = {
|
||||
["Rejuvenation"] = "Increases the duration of your Rejuvenation spell by 3 sec.",
|
||||
["Renew"] = "Increases the duration of your Renew spell by 3 sec.",
|
||||
}
|
||||
|
||||
pfUI_locale["enUS"]["bagtypes"] = {
|
||||
["Quiver"] = "QUIVER",
|
||||
["Soul Bag"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["esES"]["class"] = {
|
||||
["Pícaro"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["esES"]["healduration"] = {
|
||||
["Rejuvenation"] = "Aumenta 3 s la duración de tu hechizo Rejuvenecimiento.",
|
||||
["Renew"] = "Aumenta en 3 s la duración de tu hechizo Renovar.",
|
||||
}
|
||||
|
||||
pfUI_locale["esES"]["bagtypes"] = {
|
||||
["Carcaj"] = "QUIVER",
|
||||
["Bolsa de almas"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["frFR"]["class"] = {
|
||||
["Voleur"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["frFR"]["healduration"] = {
|
||||
["Rejuvenation"] = "Augmente la durée de votre sort Récupération de 3 sec.",
|
||||
["Renew"] = "Augmente la durée de votre sort Rénovation de 3 sec.",
|
||||
}
|
||||
|
||||
pfUI_locale["frFR"]["bagtypes"] = {
|
||||
["Carquois"] = "QUIVER",
|
||||
["Sac d'âme"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["koKR"]["class"] = {
|
||||
["도적"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["koKR"]["healduration"] = {
|
||||
["Rejuvenation"] = "회복의 지속시간이 3초만큼 증가합니다.",
|
||||
["Renew"] = "소생의 지속시간이 3초만큼 증가합니다.",
|
||||
}
|
||||
|
||||
pfUI_locale["koKR"]["bagtypes"] = {
|
||||
["화살통"] = "QUIVER",
|
||||
["영혼의 가방"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["ruRU"]["class"] = {
|
||||
["Разбойник"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["ruRU"]["healduration"] = {
|
||||
["Rejuvenation"] = "Увеличивает время действия "Омоложения" на 3 сек.",
|
||||
["Renew"] = "Продлевает действие "Обновления" на 3 сек.",
|
||||
}
|
||||
|
||||
pfUI_locale["ruRU"]["bagtypes"] = {
|
||||
["Колчан"] = "QUIVER",
|
||||
["Сумка душ"] = "SOULBAG",
|
||||
|
||||
Vendored
+5
@@ -12,6 +12,11 @@ pfUI_locale["zhCN"]["class"] = {
|
||||
["盗贼"] = "ROGUE",
|
||||
}
|
||||
|
||||
pfUI_locale["zhCN"]["healduration"] = {
|
||||
["Rejuvenation"] = "使你的回春术的持续时间延长3秒。",
|
||||
["Renew"] = "使你的恢复术的持续时间延长3秒。",
|
||||
}
|
||||
|
||||
pfUI_locale["zhCN"]["bagtypes"] = {
|
||||
["箭袋"] = "QUIVER",
|
||||
["灵魂袋"] = "SOULBAG",
|
||||
|
||||
+5
-10
@@ -386,14 +386,7 @@ libpredict.sender:RegisterEvent("SPELLCAST_DELAYED")
|
||||
libpredict.sender:RegisterEvent("UNIT_INVENTORY_CHANGED")
|
||||
libpredict.sender:RegisterEvent("SKILL_LINES_CHANGED")
|
||||
|
||||
local hotBonusScanner = libtipscan:GetScanner("hotsetbonus")
|
||||
local function getSetBonus()
|
||||
hotBonusScanner:SetInventoryItem("player", 1)
|
||||
if hotBonusScanner:Find(T["Set: Increases the duration of your Rejuvenation spell by 3 sec."]) then return true end
|
||||
if hotBonusScanner:Find(T["Set: Increases the duration of your Renew spell by 3 sec."]) then return true end
|
||||
return false
|
||||
end
|
||||
|
||||
local hotsetbonus = libtipscan:GetScanner("hotsetbonus")
|
||||
local regrowthCancel = false
|
||||
|
||||
function libpredict.triggerRegrowth(target, duration)
|
||||
@@ -509,10 +502,12 @@ libpredict.sender:SetScript("OnEvent", function()
|
||||
libpredict:HealStop(player)
|
||||
if pfUI.client < 20000 then -- vanilla
|
||||
if spell_queue[1] == "Rejuvenation" then
|
||||
local duration = getSetBonus() and 15 or 12
|
||||
hotsetbonus:SetInventoryItem("player", 1)
|
||||
local duration = hotsetbonus:Find(L["healduration"]["Rejuvenation"]) and 15 or 12
|
||||
libpredict.sender:SendHealCommMsg("Reju/"..spell_queue[3].."/"..duration.."/")
|
||||
elseif spell_queue[1] == "Renew" then
|
||||
local duration = getSetBonus() and 15 or 12
|
||||
hotsetbonus:SetInventoryItem("player", 1)
|
||||
local duration = hotsetbonus:Find(L["healduration"]["Renew"]) and 15 or 12
|
||||
libpredict.sender:SendHealCommMsg("Renew/"..spell_queue[3].."/"..duration.."/")
|
||||
elseif spell_queue[1] == "Regrowth" then
|
||||
local duration = 21 --Made this a variable even tho it is static in case future items mess with it
|
||||
|
||||
Reference in New Issue
Block a user