What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Item Rules question on respecting order.

Code:
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Armor" && [TYPE] == "Shoulder"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Armor" && [TYPE] == "Bracer"
[QUALITY] == "Rare"  && [LEVEL] > 61  && [BASETYPE] == "Armor" && [TYPE] == "Legs"
[QUALITY] == "Rare"  && [LEVEL] > 57  && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
//ignore rule
[QUALITY] == "Rare" && [BASETYPE] == "Armor"  -> [IGNORE]

Yes ... Item Rules work from top to bottom ...

as soon they found a matching rule the action is ... executed ...

in this case PICKUP is executed on all shoulder bracer legs and gloves that match the level ... before any thing gets ignored

Code:
// |      +-------------------------+
// |      |         EVENT           |
// |      |       Item Drop         |
// |      | FileBasedScriptingRules |
// |      +-----------+-------------+
// |                  |
// |                  V
// |           +--------------+
// |           |  pickup.dis  +--> <matching rule>
// |           +------+-------+          |
// |                  |                  +-> PICKUP
// |                  V                  +-> IGNORE
// |          <no matching rule>
// |                  |
// |                  |
// |                  |
// |                  V
// |         +--------+---------+
// |         | trinity setting  |
// |         | decide if item   |
// |         |     pickup       |
 
Back
Top