BBot - The best bot of the world

Full Version: Inmortal Macro [Energy Ring]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Guys, I Bring My First Macro For BBot. I Hope You Like It Smile

500
{Inmortal}
Self.Health%<=50 [jump]
Self.Equip.Ring(3051)
Exit()
Self.Health%<=90
{jump}
Self.UnEquip.Ring(0)
Exit()
Rep given
(12-07-2015, 01:28 PM)byko Wrote: [ -> ]Rep given

Thanks!
Hm... it wear ring whe i have 90% hp and less. It should wear when 50%?
Edit: better macro here:
Equip Energy ring or Might ring depending on Health



I made a better one macro for that some time ago.

It consideres if u have enough mana to be able to heal after u take off ur ring.
It also Puts back ring u want (ZM variable) to use beside energy

Code:
CurHP:=Self.Health%()
coR:=Self.inventory.Ring()

ZM:=3052
MinHP:=45
MaxHP:=95
MinMana:=300



!CurHP!<!MinHP!
[need]
      !coR!<>3088
        [zaklada]
        Self.Equip.Ring(3051)
    exit()
    
    {zaklada}
    exit()

{need}
!CurHP!>=!MaxHP!
Self.Mana>=!MinMana!
!coR!==3088

Misc.ItemCountEx(!ZM!)>=1    
        [zmiana]
        Self.Equip.Ring(!ZM!)
        exit()
        {zmiana}
        Self.UnEquip.Ring(0)
        exit()


exit()
To be clear I made it in Notepad, havent actually test it on any higher level MS/ED because i don't have any.
I was starting getting know BBOT macro language, and I made this when I was bored Smile
(12-13-2015, 04:04 PM)Fury Wrote: [ -> ]Hm... it wear ring whe i have 90% hp and less. It should wear when 50%?

wear ring on 50% hp and remove on 90%