-
January 8th, 2022, 00:40 #1
- Join Date
- Jan 2020
- Posts
- 280
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:
axe.jpg
When I call isWeapon
Code:Debug.chat(item, ItemManager2.isWeapon(item))
Code:databasenode = { charsheet.id-00001.inventorylist.id-00004 } | bFALSE | s'weapon' | s'exotic two-handed melee'
-
January 8th, 2022, 15:21 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,613
It looks like this function hasn't been working for awhile; and hasn't really been noticed, because it's only used in one not very obvious location. (weapon drop on Actions weapon list)
I'll push a fix for the next ruleset update.
Regards,
JPG
-
January 8th, 2022, 17:52 #3
- Join Date
- Jan 2020
- Posts
- 280
Thanks so much!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks