-----leczenie soldierkami------ local soldierId = 2992 addIcon("SoldierMana&&Hp", {item={id= 2992, count=1}, text="Sold"}, macro(500, function() if (hppercent() <= 70) 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() <= 35) 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 = 3042 addIcon("HwMana&&Hp", {item={id= 3042, count=1}, text="ChakPill"}, macro(500, function() if (manapercent() <= 1) then usewith(hwId, player) end end))