arkinventory icon indicating copy to clipboard operation
arkinventory copied to clipboard

Is there a way to test rules?

Open Falcon2k1 opened this issue 2 years ago • 2 comments

What version number you are using? 3.10.12

What game client are you playing? Retail, Burning Crusade, Classic / Live, PTR, Beta Retail

What language is the game client set to? English

Ask your question I've been having an issue with a Rule setup but I'm not sure if I'm writing it wrong or if there's an actual ArkInventory issue - I assume the answer is it's on me, so I'd like to confirm that.

Is there a way to check concretely if a rule applies to a given item? Not just 'it matches or doesn't', but some sort of way to check if the underlying wow api game logic applies correctly?

For reference, the rule I'm working with is just type('armor' or 'weapon') and ilvl(1, 179) and a bunch of stuff doesn't get matched that I think should.

Falcon2k1 avatar Dec 14 '22 17:12 Falcon2k1

'armor' or 'weapon' is going to resolve to 'armor' as that lua logic.

the correct function would be type('armor', 'weapon') and ilvl(1, 179)

arkayenro avatar Dec 16 '22 08:12 arkayenro

Thanks! Although ultimately I'd still be interested in if there's a way to like, sandbox a rule check.

Falcon2k1 avatar Dec 20 '22 04:12 Falcon2k1