1 Attachment(s)
isWeapon returning false unexpectedly
With 3.5E (and therefore those rulesets that inherit), I'm getting unexpected results with ItemManager2.isWeapon(). I am checking against an orcish axe defined in the basic rules:
Attachment 50842
When I call isWeapon
Code:
Debug.chat(item, ItemManager2.isWeapon(item))
the result is
Code:
databasenode = { charsheet.id-00001.inventorylist.id-00004 } | bFALSE | s'weapon' | s'exotic two-handed melee'
As you can see, isWeapon returns bFALSE. I compared to the 5E ItemManager, and the big different is that 3.5E first checks sClass before checking the item type. Is this a bug? Should I be using the manager in a different way?