Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Life Ring & Ring of Healing
#1
Hello, I am looking for a script to equip RoH when low mana and when enough mana equip Life Ring. But if full mana then unequip. Something like I have below this, but not really working, I have to use 2 scripts but they bug up something :S


LIFE RING
local MANA_EQUIP = 301 -- Mana to equip life ring.
local MANA_UNEQUIP = 700 -- Mana to unequip life ring.

local ring_item = finger()
local player_mana = mp()
if player_mana >= MANA_EQUIP and (ring_item.id == 0 or ring_item.id ~= 3089) then
    moveitems(3052, 'finger', '')
    wait(500, 800)
elseif player_mana >= MANA_UNEQUIP and ring_item.id == 3089 then
    moveitems(3089, '0', 'finger')
    wait(500, 800)
end



RING OF HEALING


local MANA_EQUIP = 150 -- Mana to equip life ring.
local MANA_UNEQUIP = 300 -- Mana to unequip life ring.

local ring_item = finger()
local player_mana = mp()
if player_mana <= MANA_EQUIP then
    moveitems(3089, '0', 'finger')
    wait(500, 800)
end


I maybe found a solution, I was not able to work around with the between 150 - 300 and 301 - 700. I don't think I ever get up to that mana, but what ever. This code below is working for me.

local MANA_EQUIP_HIGH = 301                 -- Mana to equip life ring.
local MANA_EQUIP_LOW = 300              -- Mana to unequip life ring.

local ring_item = finger()
local player_mana = mp()
if player_mana < MANA_EQUIP_LOW and (ring_item.id == 0 or ring_item.id ~= 3100) then
    moveitems(3098, 'finger', '')
    wait(500, 800)
elseif player_mana >= MANA_EQUIP_HIGH and (ring_item.id == 0 or ring_item.id ~= 3089) then
    moveitems(3052, 'finger', '')
    wait(500, 800)
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016