Auto SSA

Fonte: Wot Wiki
Revisão em 22h00min de 16 de setembro de 2023 por Igorlabanca (discussão | contribs) (Criou a página com "<span style="font-size: 18px;">Voltar</span> <div class="mw-custom-box"> '''Script Lua:''' Sem Icon <pre> scriptSsa = macro(300, "- Auto SSA -", function() local amuletoSsa = 3081 if getNeck():getId() == amuletoSsa then return end if getNeck() ~= 0 or getNeck():getId() ~= amuletoSsa then moveToSlot(findItem(amuletoSsa), SlotNeck) return end end) </pre> </div> Com Icon <pre> scriptSsa = macro(300, function() local amuletoSsa = 3081 if...")
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Saltar para a navegação Saltar para a pesquisa

Voltar


Script Lua:

Sem Icon

scriptSsa = macro(300, "- Auto SSA -", function()
local amuletoSsa = 3081
  if getNeck():getId() == amuletoSsa then return end
  if getNeck() ~= 0 or getNeck():getId() ~= amuletoSsa then
    moveToSlot(findItem(amuletoSsa), SlotNeck)
    return
  end
end)

Com Icon

scriptSsa = macro(300, function()
local amuletoSsa = 3081
  if getNeck():getId() == amuletoSsa then return end
  if getNeck() ~= 0 or getNeck():getId() ~= amuletoSsa then
    moveToSlot(findItem(amuletoSsa), SlotNeck)
    return
  end
end)
addIcon("scriptSsa", {item=3081, text="SSA-ON"}, function(icon, isOn)
scriptSsa.setOn(isOn)
end)


Para que a macro funcione corretamente, será necessário:

Inserir a macro em Tolls > Ingame script editor (Caso possua outros scripts, você deverá rolar a barra até o final, saltar alguns espaços e colar o nome em seguida).

Aperte ou altere a tecla * para ativar ou desativar a macro, em seguida dê look em algum item.