Jump to content

Join our Discord

Talk to other users and have a great time
Discord Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Sign in to follow this  
Delamonica

question about pickit file

Recommended Posts

When i want that the bot picks up chests with hp and 2 random res ( cold + fire , cold + lightning , lightning + fire ) would this work ?

 

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" && [base_cold_damage_resistance_%] >= "25" && [base_fire_damage_resistance_%] >= "25"

 

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" &&  [base_lightning_damage_resistance_%] >= "25" && [base_fire_damage_resistance_%] >= "25"

 

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" &&  [base_cold_damage_resistance_%] >= "25" && [base_lightning_damage_resistance_%] >= "25"

 

 

or will the bot sell cold+ lightning res because the  fire cold + res alrdy was not true ?

 

same with linked items , will the bot sell my 6 link because i told him to sell 3 links ?

 


[sockets] >= "5" && [Linked] >= "5" # [stashItem] == "true"  

 

[sockets] >= "3" && [Linked] >= "3" [sellUnid] == "true" 

 


thx for answers  :mrgreen:

Edited by Delamonica

Share this post


Link to post
Share on other sites

As I understand:

 

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" && [base_cold_damage_resistance_%] >= "25" && [base_fire_damage_resistance_%] >= "25"

 mean: Pick up Rare Chest, then identify and check if it has:

- at least +60 max life mod

AND

- at least 25 cold res

AND

- at leat 25 fire res.

So - if even one of this conditions is not true (for example if it is +70max life, 30% cold, 30 % lightning rare chest) bot will sell it.

 

Instead && use II (if it works correctly).

 

Your rule should look like:

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" && ( [base_cold_damage_resistance_%] >= "25" II [base_fire_damage_resistance_%] >= "25" )

 

This will change cold/fire conditions from AND to OR...

 

Can someone tell if this reasoning is true?

Share this post


Link to post
Share on other sites

As I understand:

 

 mean: Pick up Rare Chest, then identify and check if it has:

- at least +60 max life mod

AND

- at least 25 cold res

AND

- at leat 25 fire res.

So - if even one of this conditions is not true (for example if it is +70max life, 30% cold, 30 % lightning rare chest) bot will sell it.

 

Instead && use II (if it works correctly).

 

Your rule should look like:

[Category] == "Chest" && [Rarity] == "Rare" # [base_maximum_life] >= "60" && ( [base_cold_damage_resistance_%] >= "25" II [base_fire_damage_resistance_%] >= "25" )

 

This will change cold/fire conditions from AND to OR...

 

Can someone tell if this reasoning is true?

The op wrote more rules... The bot checks all rules, till one rule is true if none is true it will sell the item.

At op yea it works like you wrote it will stash it because of the 3. rule.

Edited by Subtract

Share this post


Link to post
Share on other sites

[Category] == "Chest" && [Rarity] == "Rare" #  [base_maximum_life] >= "60" && (([base_cold_damage_resistance_%] >= "25" && [base_fire_damage_resistance_%] >= "25") || ([base_lightning_damage_resistance_%] >= "25" && [base_fire_damage_resistance_%] >= "25") || ([base_cold_damage_resistance_%] >= "25" && [base_lightning_damage_resistance_%] >= "25")) && [stashItem] == "true"

Edited by rodin

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...