12-09-2013, 02:08 AM
(This post was last modified: 12-09-2013, 02:10 AM by MegaNo0body.)
(12-09-2013, 12:30 AM)the angels Wrote: Why my macro when there are many people on the screen it takes to run?
Quote:1 {RING} ID:=Creature.Self() Creature.Health(!ID!)<=15 [else] Self.Equip.Ring(3051) Exit() {else} Creature.Health(!ID!)>=60 Self.UnEquip.Ring(0) Exit()
You don't need to use the Creature objects, to get the health percent you can use Self.Health%()
Also please use [ macro ] to post macros.
Result:
[macro]100 {Ring} Self.Health%()<=15 [HighHP] Self.Inventory.Ring()==0 Self.Equip.Ring(3051) Exit() {HighHP} Self.Health%()>=60 Self.Inventory.Ring()<>0 Self.UnEquip.Ring(0) Exit()[/macro]