UH + Exura vita

Fonte: Wot Wiki
Saltar para a navegação Saltar para a pesquisa

Voltar

Cole em Tolls > Insect Script Editor

Volte em macros e ative


Obs: Caso esteja usando o healbot do cliente é necessário desativar para não dar conflito (Exceto mana potions).

Script Lua:


UI.Separator()
setDefaultTab("Macro")

local exuraVitaPercent = 70
local uhPercent = 50

UI.Label("Porcentagem de HP para usar Exura Vita:")
UI.TextEdit(exuraVitaPercent, function(widget, text)
  exuraVitaPercent = tonumber(text) or exuraVitaPercent
end)

UI.Label("Porcentagem de HP para usar UH:")
UI.TextEdit(uhPercent, function(widget, text)
  uhPercent = tonumber(text) or uhPercent
end)

macro(200, "AutoHeal", function()
  local player = g_game.getLocalPlayer()
  if not player then
    return
  end

  local hpPercent = player:getHealthPercent()
  local mana = player:getMana()

  if (hppercent() <= uhPercent) then
    usewith(3160, player) -- Use a runa UH (3160)
  end

  if (hppercent() <= exuraVitaPercent and mana >= 120) then
    say("exura vita") -- Lance a magia Exura Vita quando a mana for maior ou igual a 120
  end
end)
UI.Separator()