kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 334 forks source link

unclear comparison in lld.nip #3193

Closed Antiwarden closed 11 months ago

Antiwarden commented 1 year ago

Can someone explain why the comparison looks so weird in the given example from LLD.nip?

[name] == jewel && [quality] == rare # ([enhanceddamage] >= 18) + ([maxdamage] >= 9) * (([maxdamage] >= 16) + 1) + ([mindamage] >= 8) * (([mindamage] >= 10) + 1) + ([tohit] >= 40) >= 3 && [itemlevelreq] <= 30

Thanks in advance