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

need to be spoonfed pls

Good2cu

New Member
Joined
Sep 12, 2012
Messages
12
Reaction score
0
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare" && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]

How should I change this to ignore Two Handed Weapons and just pick up One handed?

halp
 
add ignore rules like that at the top

[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
 
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare" && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]
//ignore rule
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]

Is this how it should look exactly?
Any chance you could copy/paste yours?
 
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "MightyBelt" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "VoodooMask" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Cloak" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Mojo" -> [IGNORE]

[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon"
//ignore rule
[QUALITY] == "Rare" && [LEVEL] <= 61 && [BASETYPE] == "Weapon" -> [IGNORE]


as well as the rest that are on the hard pickup.dis

http://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/91602-plugin-item-rules-2-file-based-scripting-language.html
start here to learn how to write more
 
in short, once it finds a rule that triggers, it exits the script. so since this:
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon"
includes 2-handed weapons, then it stops there and keeps them unless there's an ignore rule on a line above this. basically, you want to put all of your specific ignore rules first.
 
Back
Top