|
Rule_Examples
Example Rules
GeneralEnsure you have read Rule Functions before starting. Example Rulesitems with resistances on themtooltip( "%+%d+ %a+ resist" )
items that are part of a settooltip( "%sset:" )
note that this will match any item that is in a set, which is a bit pointless by itself, so you'll need to be more specific. tooltip( "%sset:" ) and tooltip( "garona's battlegear" ) if your set name is unique then you can just search on that by itself. gemsall gems type( "gem" ) all cut gems type( "gem" ) and tooltip( "socket" ) all uncut gems type( "gem" ) and not tooltip( "socket" ) all red or blue gems (both cut and uncut) type( "gem" ) and subtype( "blue", "red" ) equipment / armor / outfitsanything that can be worn by a character (ignoring restrictions) equip( ) soulbound equipment equip( ) and soulbound( ) boe's equip( ) and not soulbound( ) cloth armor type( "armor" ) and subtype( "cloth" ) equipment in an outfit outfit( "fishing" ) outfit( "healing" ) equipment that isn't in an outfit equip( ) and not outfit( ) |