-----leczenie soldierkami------ local soldierId = 10285 addIcon("SoldierMana&&Hp", {item={id= 10285, count=1}, text="Sold"}, macro(500, function() if (hppercent() <= 60) then usewith(soldierId, player) end end)) -------leczenie specialkami------- local specialId = 5895 addIcon("SpHp", {item={id= 5895, count=1}, text="Adre"}, macro(500, function() if (hppercent() <= 60) then usewith(specialId, player) end end)) ------regeneration spell-------- local regeSpell = "Mutto Chiyo" addIcon("regen", {item={id= 3049, count=1}, text="Chiyo"}, macro(250, function() if(hppercent() <= 90) then say(regeSpell) end end)) ------leczenie herowater------ local hwId = 10283 addIcon("HwMana&&Hp", {item={id= 10283, count=1}, text="ChakPill"}, macro(500, function() if (manapercent() <= 50) then usewith(hwId, player) end end))