(11-22-2020, 12:24 AM)mostppl Wrote: Example:
Total HP IS: 7000
lower HP 3500 <= UP Imbui Armor
above HP 6500 => UnEquip Imbui Armor and UP Normal Armor ( no imbui )
IS POSSIBLE?
Thank !!!!
I TEST:
[ IMBUI ITEM UP ]
200 {eq} HP:=Self.Health%() !HP!<=50 Self.Equip.Armor(3399) Exit()
[ IMBUI ITEM DOWN ]
200 {unq} HP:=Self.Health%() !HP!>=51 Self.UnEquip.Armor(3399) Exit()
[ NORMAL ITEM BUG]
200 {eq} HP:=Self.Health%() !HP!>=52 Self.Equip.Armor(16110) Exit() <----- THIS MACRO UP AND DOWN ITEM AUTOMATIC IN LOOP ( I NEED TO PUT ARMOR IN SLOT AND NO MOVE MORE IF HP IS ABOVE 52%)
Well you're missing the function to check if the item is already equipped.
Code:
200 {eq} Self.Health%()>=52 Self.Inventory.Armor<>16110 Self.Equip.Armor(16110) Exit()
Do the same for the rest of your macros, or else it will equip and unequip the item nonstop.
And yes it's possible.
Code:
200 {SwitchArmor By DOX} Self.Health()<=3500 [else] Self.Inventory.Armor()<>IMBUARMORID Self.Equip.Armor(IMBUARMORID) Exit() {else} Self.Health()>=6500 Self.Inventory.Armor()<>NOIMBUARMORID Self.Equip.Armor(NOIMBUARMORID) Exit()
REP UP IF THIS HELPED YOU