Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help in Rules keyword
07-30-2013, 03:02 PM (This post was last modified: 07-30-2013 03:05 PM by ar4style.)
Post: #1
Need help in Rules keyword
I need to change item rare that can save at stash. I dont get a few keyword. For example.

[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [ONEHAND] == True # [DPS] > 1000 && ([CRITDMG%] > 0 || [LOH] > 700) && [SOCKETS] > 0 -> [KEEP]

[QUALITY] == "Rare" && [TYPE] == "Amulet" # ([CRIT%] == 10 && [CRITDMG%] == 100) || ([CRIT%] == 10 && [AS%] == 9) || (([AS%] == 9 && [CRITDMG%] == 100) && [MAXSTAT] > 0) -> [KEEP]

1 ) What the different [BASETYPE] and [TYPE]
2) This symbol && is refer to ?
3) This symbol || is refer to ?
4) Can explain above 2 item in words so i easy to understand ?

Thx for helping me out.
Find all posts by this user
Quote this message in a reply
07-30-2013, 04:50 PM
Post: #2
RE: Need help in Rules keyword
1) [BASETYPE] is the main category of the item, its values can only be Weapon, Armor, Jewelry, Socketable, CraftingReagent, Utility.
[TYPE] is a more specific category of the item, e.g. Axe, Wand, FistWeapon, Shoulder, Chest, Cloak. (You can refer to the existing rules for more examples)

2) && means "and".
3) || means "or".
4)
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [ONEHAND] == True # [DPS] > 1000 && ([CRITDMG%] > 0 || [LOH] > 700) && [SOCKETS] > 0 -> [KEEP]

means the bot will look at the item. If its quality is RARE, and it is weapon, and it is one hand, then the bot will further look at its detail stats.
Its DPS must be above 1000. Either its critical damage % is greater than 0 or its Life on hit is greater than 700. It should have at at least 1 socket. If the item matches all these criteria then the bot will keep the item in stash.
Find all posts by this user
Quote this message in a reply
07-30-2013, 04:59 PM (This post was last modified: 07-30-2013 05:06 PM by ar4style.)
Post: #3
RE: Need help in Rules keyword
thx for the answer. now i know what to do. appriciate is so much

eh i notice 1 more, what means by [SCORE].
Find all posts by this user
Quote this message in a reply
07-31-2013, 02:56 AM
Post: #4
RE: Need help in Rules keyword
[SCORE] is a deprecated keyword, meaning it's not used anymore. The lines with the [SCORE] keyword are ignored by the bot now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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