UH + Exura vita: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
(Criou a página com "<span style="font-size: 18px;">Voltar</span> Cole em Tolls > Insect Script Editor arquivo:insetc.png Volte em macros e ative arquivo:uh.png Obs: Caso esteja usando o healbot do cliente é necessário desativar para não dar conflito (Exceto mana potions). <div class="mw-custom-box"> '''Script Lua:''' <pre> UI.Separator() setDefaultTab("Macro") local exuraVitaPercent = 70 local uhPercent = 50 UI.Label("Porcentagem de HP para usar Exura Vi...") |
(Sem diferenças)
|
Edição atual desde as 03h39min de 26 de setembro de 2023
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()