There’s something odd about the “staff” called Nightmare (Item ID 0xA5) (used by final boss)
which is typed as “Staff” (0x04) and Ability1 as “Staff” (0x04) again like all other staves.
However I can’t make it usable from the player side no matter the various parameters or classifications.
Even when given to a monster class or
a regular human class with the Ability3 to use 0x04 - Monster Weapons
or even to a player-controlled Demon King class unit
the “staff” cannot be used or triggered (despite being highlighted as usable in the menu screens).
What’s the deal with this item?
Is it possible to make it usable/triggerable by a player/ non-AI unit?
The nightmare staff has a large amount of hardcoded elements, so it’s not surprising that you can’t use it. Don’t know the details of not being able to use it, but there’s certainly a hardcoded range check.
Crazy’s correct, the usability routine always returns false. There’s a check in the ‘can use staff’ routine, iirc, specifically checking for Nightmare and the demon king’s class (not character) ID. EDIT: This is incorrect; it’s actually a check embedded in the function that returns range for mag/2 staves (why? who knows).
I tried changing the usability routine to point to Sleep, which makes the staff menu pop up, but the game hangs after selecting a weapon. I suspect it’s because Nightmare doesn’t have a proper target pointer, but I’m too lazy to repoint and the expand the table to confirm/deny this.