Hello Guys, I Bring My First Macro For BBot. I Hope You Like It
500
{Inmortal}
Self.Health%<=50 [jump]
Self.Equip.Ring(3051)
Exit()
Self.Health%<=90
{jump}
Self.UnEquip.Ring(0)
Exit()
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
(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%