mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-12-26 05:47:11 +01:00
Version 1.3 - auto reconnect, better bot (with sound), animated mounts, bug fixes
This commit is contained in:
@@ -27,7 +27,7 @@ Panels.AttackLeaderTarget = function(parent)
|
||||
end
|
||||
end)
|
||||
context.macro(50, "Attack leader's target", nil, function()
|
||||
if toAttack and context.storage.attackLeader:len() > 0 then
|
||||
if toAttack and context.storage.attackLeader:len() > 0 and toAttack ~= g_game.getAttackingCreature() then
|
||||
g_game.attack(toAttack)
|
||||
toAttack = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user