e ring - MARKUP 0.54 KB
                                
                                    -- E-Ring
macro(500, "E-Ring (40% HP)", function()
  local eRingId = 3049
  local protektorRingId = 6539
  local healthUnWear = 90
  local healthWear = 40

  if hppercent() >= healthUnWear then -- sciagnij e-ring i zaloz protektor ring gdy wiecej niz 90%
    g_game.move(findItem(protektorRingId), {x=65535, y=SlotFinger, z=0}, 1)
    delay(500)
  elseif hppercent() <= healthWear then -- zaloz e-ring gdy mniej niz 40%
    g_game.move(findItem(eRingId), {x=65535, y=SlotFinger, z=0}, 1)
    delay(500)
  end
end)
                                
                            

Paste Hosted With By Wklejamy.pl