Cura Editavel

Descrição

Cura editavel facilmente

Autor:

                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
if type(storage.healing1) ~= "table" then storage.healing1 = {on=false, title="HP%", text="exura", min=51, max=90} end if type(storage.healing2) ~= "table" then storage.healing2 = {on=false, title="HP%", text="exura vita", min=0, max=50} end for _, healingInfo in ipairs({storage.healing1, storage.healing2}) do local healingmacro = macro(20, function() local hp = player:getHealthPercent() if healingInfo.max >= hp and hp >= healingInfo.min then if TargetBot then TargetBot.saySpell(healingInfo.text) else say(healingInfo.text) end end end) healingmacro.setOn(healingInfo.on) UI.DualScrollPanel(healingInfo, function(widget, newParams) healingInfo = newParams healingmacro.setOn(healingInfo.on) end) end UI.Separator()