Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 1f83420

Browse files
committed
updates
1 parent 7ac0927 commit 1f83420

3 files changed

Lines changed: 1 addition & 16 deletions

File tree

UI/MultiBotIconos.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6028,10 +6028,8 @@ MultiBot.iconos.addIcons = function(pNow)
60286028
for i = tFrom, tTo do
60296029
local tIcon = tTable[i]
60306030
local tName = string.sub(tIcon, 17)
6031-
60326031
local tX = (tIndex%8) * 38
60336032
local tY = math.floor(tIndex/8) * -37.25
6034-
60356033
local tButton = tIcons.addButton(i, tX, tY, tIcon, tName .. "\n|cffffffff" .. tTable[i] .. "|r")
60366034
tIndex = tIndex + 1
60376035
end

UI/MultiBotItem.lua

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ MultiBot.addItem = function(pFrame, pInfo)
3333

3434
if(tAction == "s" and MultiBot.isTarget()) then
3535
if(pButton.item.id == "6948") then return SendChatMessage(MultiBot.info.itemsellalert, "SAY") end
36-
--if(MultiBot.isInside(pButton.item.info, "key")) then return SendChatMessage("I will not sell Keys.", "SAY") end
37-
--if(MultiBot.isInside(pButton.item.info, "Key")) then return SendChatMessage("I will not sell Keys.", "SAY") end
3836
if(MultiBot.isInside(pButton.item.info or "", "%f[%a][Kk]ey%f[%A]")) then
3937
return SendChatMessage(MultiBot.info.keydestroyalert, "SAY")
4038
end
@@ -48,20 +46,9 @@ MultiBot.addItem = function(pFrame, pInfo)
4846
return
4947
end
5048

51-
--[[if(tAction == "destroy") then
52-
if(pButton.item.id == "6948") then return SendChatMessage("I cant drop this Item.", "SAY") end
53-
if(MultiBot.isInside(pButton.item.info, "key")) then return SendChatMessage("I will not drop Keys.", "SAY") end
54-
if(MultiBot.isInside(pButton.item.info, "Key")) then return SendChatMessage("I will not drop Keys.", "SAY") end
55-
if(pButton.item.rare > 3) then return SendChatMessage("I will not drop that good Items.", "SAY") end
56-
SendChatMessage(tAction .. " " .. pButton.tip, "WHISPER", nil, tName)
57-
pButton:Hide()
58-
return
59-
end]]--
6049
if(tAction == "destroy") then
6150
local needsConfirm = false
6251
if(pButton.item.id == "6948") then needsConfirm = true end -- Hearthstone
63-
--if(MultiBot.isInside(pButton.item.info, "key")) then needsConfirm = true end
64-
--if(MultiBot.isInside(pButton.item.info, "Key")) then needsConfirm = true end
6552
if(MultiBot.isInside(pButton.item.info, "%f[%a][Kk]ey%f[%A]")) then needsConfirm = true end
6653
if(pButton.item.rare > 3) then needsConfirm = true end -- Épique ou mieux
6754
if needsConfirm then

UI/MultiBotOptions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function MultiBot.BuildOptionsPanel()
121121

122122
-- État initial
123123
chkMinimapHide:SetChecked(MultiBotSave.Minimap.hide and true or false)
124-
124+
125125
chkMinimapHide:SetScript("OnClick", function(btn)
126126
local hide = btn:GetChecked() and true or false
127127
MultiBotSave.Minimap = MultiBotSave.Minimap or {}

0 commit comments

Comments
 (0)