
Icon OTC
Aqui voce terá acesso a alguns icons para ajudar sua jornada no UnderWar.
Os Icons que aqui consiste são utilisaveis apenas por OTC Cliente PC e Mobile!
macro(5000, "Anti Attack Glitch", function()
local target = g_game.getAttackingCreature()
if target then
g_game.cancelAttack()
schedule(100, function()
g_game.attack(target)
end)
end
end)
local itemId = 15793 -- ID DO BOLT OU ARROW
local quiverSlot = 5 -- caso queira por para por o crossbow na mão troque para numero 6 usando o mesmo arquivo
macro(500, "Move Ammo to Quiver", function()
local player = g_game.getLocalPlayer()
if not player then return end
local quiver = player:getInventoryItem(quiverSlot)
if not quiver then return end
for _, container in pairs(g_game.getContainers()) do
for _, item in pairs(container:getItems()) do
if item:getId() == itemId then
-- posição virtual do slot
local toPos = {x = 65535, y = quiverSlot, z = 0}
g_game.move(item, toPos, item:getCount())
return
end
end
end
end)
