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

Can someone take a quick look at this line? (item rule)

TouchMeGently

Member
Joined
Feb 17, 2010
Messages
320
Reaction score
0
The rule I am trying to set is to keep an item if one of the two conditions is met, otherwise trash it.

1) Gear requires level 50 or less to equip
2) Ancient

Here's what I have

[QUALITY] == "Legendary" && [NAME] == "Deathseer's Cowl" && [LEVEL] >= 50 || [ANCIENT] == 0 -> [TRASH]
 
PHP:
[QUALITY] == "Legendary" && [NAME] == "Deathseer's Cowl" # [REQLEVEL] < 50
[QUALITY] == "Legendary" && [NAME] == "Deathseer's Cowl" # [ANCIENT] == 1

or

PHP:
[QUALITY] == "Legendary" && [NAME] == "Deathseer's Cowl" # [REQLEVEL] < 50 || [ANCIENT] == 1

Default action is [KEEP], so just add stats you need on items and then at the bottom of Armors add cleanup rule:

[QUALITY] == "Legendary" && [BASETYPE] == "Armor" -> [TRASH]

No need to write down all possible trash items :)
 
Last edited:
Back
Top