GetSpellCastSpontaneously()
From NWN Lexicon
Jump to navigationJump to searchReturns TRUE if the last spell was cast spontaneously.
Description
Returns TRUE if the last spell was cast spontaneously. eg; a Cleric casting SPELL_CURE_LIGHT_WOUNDS when it is not prepared, using another level 1 slot.
Remarks
You can apply bonuses or penalties when a spell is cast spontaneously, alternatively you can replenish the a spell slot that was used with this information (it'll be the first unreadied slot of the given spell level).
Version
This function was added in 1.87.8193.35 of NWN:EE.
Example
See Also
author: Shadguy