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
AUTORING ON 400 MANA LEFT.
#1
ITS POSIBBLE UP LIFE RING WHEN 500 MANA LEFT ? 

IF IT POSSIBLE CAN HELP ME WITH CODE ?
Reply

#2
Hello.

Tools->Ring Equipper can do that, except that it works with mana % (0-100%) not mana values (0, 1, 500, 999, 9999, etc.).

This will only EQUIP the life ring when mana equal or lower than 500, but not unequip.
local ring_item = finger()
if mp() <= 500 then
    local ring_item = finger()
    if ring_item.id == 0 or ring_item.id ~= 3089 then
        moveitems(3052, 'finger', '')
        wait(500, 800)
    end
end

This script will equip if mana equal or lower to 500 and unequip if mana equal or higher than 900.
local MANA_EQUIP = 500 -- Mana to equip life ring.
local MANA_UNEQUIP = 900 -- 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
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016