RuleFunction_Expansion - arkayenro/arkinventory GitHub Wiki

Rule Functions > Expansion

expansion( arg1, ..., argN )
expansion( )

Checks if any of the supplied arguments match the expansion the item is from

Arguments

  • arg1..N (numeric or string) = expansion

Remarks

  • you can use either the numeric or text value as an argument

  • text values must be in the clients language

  • if no argument is passed it defaults to the current expansion

Notes

  • 0 or "Classic"

  • 1 or "The Burning Crusade"

  • 2 or "Wrath of the Lich King"

  • 3 or "Cataclysm"

  • 4 or "Mists of Pandaria"

  • 5 or "Warlords of Draenor"

  • 6 or "Legion"

  • 7 or "Battle for Azeroth"

  • 8 or "Shadowlands"

Blizzard haven't tagged a lot of the items so they may come back as 0 when they are actually from a later expansion

Examples

soulbound items you can equip that are not from the current expansion

sb( ) and equip( ) and not expansion( )

items you can equip that are from wrath or cata

equip( ) and expansion( 2, 3 )