Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EQUIP IMBUIE x % HP and UnEquip for NO IMBUIE ITEM in x % HP
11-22-2020, 12:24 AM (This post was last modified: 11-22-2020 12:36 AM by mostppl.)
Post: #1
Wink EQUIP IMBUIE x % HP and UnEquip for NO IMBUIE ITEM in x % HP
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 Sad ]
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%)
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
11-23-2020, 10:01 PM (This post was last modified: 11-23-2020 10:09 PM by doxmey.)
Post: #2
RE: EQUIP IMBUIE x % HP and UnEquip for NO IMBUIE ITEM in x % HP
(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 Sad ]
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
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
11-24-2020, 01:57 PM
Post: #3
RE: EQUIP IMBUIE x % HP and UnEquip for NO IMBUIE ITEM in x % HP
(11-23-2020 10:01 PM)doxmey Wrote:  
(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 Sad ]
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

Thank BRO! I Give Rep +
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)