UH + Exura Gran Ico: diferenças entre revisões
Saltar para a navegação
Saltar para a pesquisa
Sem resumo de edição |
Sem resumo de edição |
||
Linha 16: | Linha 16: | ||
UI.Separator() | UI.Separator() | ||
setDefaultTab("Macro") | setDefaultTab("Macro")local exuraGranIcoPercent = 70 | ||
local exuraGranIcoPercent = 70 | |||
local uhPercent = 50 | local uhPercent = 50 | ||
local manaPercent = 10 | |||
UI.Label("Porcentagem para usar Exura Gran Ico:") | UI.Label("Porcentagem de HP para usar Exura Gran Ico:") | ||
UI.TextEdit(exuraGranIcoPercent, function(widget, text) | UI.TextEdit(exuraGranIcoPercent, function(widget, text) | ||
exuraGranIcoPercent = tonumber(text) or exuraGranIcoPercent | exuraGranIcoPercent = tonumber(text) or exuraGranIcoPercent | ||
end) | end) | ||
UI.Label("Porcentagem para usar UH:") | UI.Label("Porcentagem de HP para usar UH:") | ||
UI.TextEdit(uhPercent, function(widget, text) | UI.TextEdit(uhPercent, function(widget, text) | ||
uhPercent = tonumber(text) or uhPercent | uhPercent = tonumber(text) or uhPercent | ||
end) | |||
UI.Label("Porcentagem de Mana para usar Exura Gran Ico (em relação à máxima):") | |||
UI.TextEdit(manaPercent, function(widget, text) | |||
manaPercent = tonumber(text) or manaPercent | |||
end) | end) | ||
Linha 36: | Linha 40: | ||
end | end | ||
if (hppercent() <= exuraGranIcoPercent) then | if (hppercent() <= exuraGranIcoPercent and manapercent() >= manaPercent) then | ||
say("exura gran ico") -- Lance a magia Exura Gran Ico | say("exura gran ico") -- Lance a magia Exura Gran Ico | ||
end | end | ||
end) | end) | ||
UI.Separator() |
Revisão das 03h34min 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 exuraGranIcoPercent = 70 local uhPercent = 50 local manaPercent = 10 UI.Label("Porcentagem de HP para usar Exura Gran Ico:") UI.TextEdit(exuraGranIcoPercent, function(widget, text) exuraGranIcoPercent = tonumber(text) or exuraGranIcoPercent end) UI.Label("Porcentagem de HP para usar UH:") UI.TextEdit(uhPercent, function(widget, text) uhPercent = tonumber(text) or uhPercent end) UI.Label("Porcentagem de Mana para usar Exura Gran Ico (em relação à máxima):") UI.TextEdit(manaPercent, function(widget, text) manaPercent = tonumber(text) or manaPercent end) macro(200, "AutoHeal", function() if (hppercent() <= uhPercent) then usewith(3160, player) -- Use a runa UH (3160) end if (hppercent() <= exuraGranIcoPercent and manapercent() >= manaPercent) then say("exura gran ico") -- Lance a magia Exura Gran Ico end end) UI.Separator()