CheckInventory is checking for durability
Ferocimo opened this issue ยท 2 comments
Hello,
I'm trying to create some spells and passives which require the player to have specific weapons equipped.
It seems the CheckInventory action is checking if the player has the weapon equipped, but it only returns positive result IF and ONLY IF the weapon is in pristine condition. If it has lost one point of durability, then CheckInventory doesn't recognize it as the required item anymore and the sub-actions do not run.
This is an issue because one of the main use of CheckInventory could have been to check for durability-based items. I think an option should allow the spell creator to ignore item durability for this action.
Thank you for your time.
Try adding material_only: true