Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
Added Mana-Symbols for Auto-Stats for Chinese-Clients.
Added Chiniese-Support for Loot-Bag-Button in the Inventory.
Fixed a Bug in "MultiBot.doRemove" which happens if you remove a Character to fast (before he could call himself active).
  • Loading branch information
Macx-Lio authored Nov 9, 2024
1 parent 926aac0 commit 1228876
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions MultiBotEngine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ MultiBot.doReplace = function(pString, pSearch, pReplace)
end

MultiBot.doRemove = function(pIndex, pName)
if(pIndex == nil) then return end
local tFound = 0

for i = 1, table.getn(pIndex) do
Expand Down
19 changes: 11 additions & 8 deletions MultiBotLanguage-zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -968,11 +968,14 @@ MultiBot.tips.summon.group =
-- 物品 --

MultiBot.tips.inventory.sell =
"Open-Items|cffffffff\n"..
"This Button will open the first findable Loot-Bag in your Inventory.\n"..
"The Content will be put automatically into the Inventory.|r\n\n"..
"|cffff0000Left-Click to open a Loot-Bag|r\n"..
"|cff999999(Execution-Order: Bot)|r";
"出售物品 |cffffffff\n"..
"此功能启用背包的出售模式。\n"..
"你必须将商人设置为目标。\n"..
"出于安全原因,你的机器人不会出售:\n"..
" - 名称中包含 '钥匙' 的任何物品\n"..
" - 炉石 |r\n\n"..
"|cffff0000左键单击出售物品|r\n"..
"|cff999999(执行命令: 机器人)|r";

MultiBot.tips.inventory.equip =
"装备物品 |cffffffff\n"..
Expand All @@ -998,9 +1001,9 @@ MultiBot.tips.inventory.drop =

MultiBot.tips.inventory.open =
"打开物品|cffffffff\n"..
"此按钮将打开每个背包、箱子或贝壳\n"..
"东西将被放入物品栏中。|r\n\n"..
"|cffff0000左键点击打开一个背包、箱子或贝壳|r\n"..
"此按钮将打开你物品栏中第一个能找到的拾取袋\n"..
"物品内容将自动放入物品栏中|r\n\n"..
"|cffff0000左键点击打开一个拾取袋|r\n"..
"|cff999999(执行命令: 机器人)|r";

-- 等级过滤器 --
Expand Down
2 changes: 1 addition & 1 deletion MultiBotStats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MultiBot.addStats = function(pFrame, pIndex, pX, pY, pSize, pWidth, pHeight)
tFrame.texts["Values"]:SetText("Player")

if(pLevel == 80) then
tAddon.texts["Percent"]:SetText(tFrame.setProgress(tFrame, tMana) .. "%\nMP")
tAddon.texts["Percent"]:SetText(tFrame.setProgress(tFrame, tMana) .. "%\n" .. MultiBot.IF(tChina, "法力值", "MP"))
else
tAddon.texts["Percent"]:SetText(tFrame.setProgress(tFrame, tXP) .. "%\n" .. MultiBot.IF(tChina, "经验值", "XP"))
end
Expand Down

0 comments on commit 1228876

Please sign in to comment.