Would it be possible to have the 'cast spell' opcodes (#146 and #148) take the flags from the resource into account while casting?
E.g., if you have a spell with the 'No LOS required' flag (BIT11 in the SPL header), casting it from a scroll enforces the normal restrictions (LOS is required). Another example is Clairvoyance, which has the 'Outdoors Only' flag set, but can still be cast indoors if you do it from a scroll.
Or, failing that, would it be possible to implement a 'No LOS required' flag for items, similar to the 'cannot target invisible' flag?
Edit: oh, sorry. Maybe this should have been in the Wishlist. I only looked at the pinned topics, I'm afraid.
Edited by Wisp, 23 July 2013 - 07:38 AM.