BBot - The best bot of the world
Macro - Equip/Unequip Ring of Healing - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Macro - Equip/Unequip Ring of Healing (/thread-12562.html)



Macro - Equip/Unequip Ring of Healing - eidner - 11-09-2013

Hi, I need a macro that will equip my ring of healing when at 65% mana, and unequip the ring at 95% mana. Im having a hard time trying to do this.

This is not working for me:

Self.Mana()<=275
Self.Equip.Ring(3098)
Self.Mana()=>315
Self.UnEquip.Ring(0)

Any help would be great. Thanks


RE: Macro - Equip/Unequip Ring of Healing - howcio - 11-09-2013

You must use 2 macros,
1.
Code:
Self.Mana%()<65
Self.Equip.Ring(3098)
end
2.
Code:
Self.Mana%()>90
Self.UnEquip.Ring(0)
end



RE: Macro - Equip/Unequip Ring of Healing - eidner - 11-09-2013

(11-09-2013, 09:53 PM)howcio Wrote: You must use 2 macros,
1.
Code:
Self.Mana%()<65
Self.Equip.Ring(3098)
end
2.
Code:
Self.Mana%()>90
Self.UnEquip.Ring(0)
end

Thanks, I will try it soon.


RE: Macro - Equip/Unequip Ring of Healing - erleo - 11-10-2013

+rep Big GrinDD
Code:
500 {Healing Ring} MPon:=65 MPoff:=90 Self.Mana%()<=!MPon! [OnHealth] Self.Inventory.Ring()<>3100 Misc.ItemCountEx(3098)>0 Status.ManaShield()==0 Self.Equip.Ring(3098) Exit() {OnHealth} Self.Mana%()>=!MPoff! Self.Inventory.Ring()==3100 Self.UnEquip.Ring(0) Exit()