Hi folks, I'm confused on this one. In a spell script how does the level from the item property get used?
For example there's IP_CONST_CASTSPELL_CONFUSION_5 and _10. The confusion script nw_s0_confusion uses
int nDuration = GetCasterLevel(OBJECT_SELF);
But the lexicon says that only works the get the casting level of PCs and creatures. Presumably the duration of confusion from an item reflects the level of item property. Does the engine set the item using creature's level temporarily under the covers or am I missing something?
Thanks,
meaglyn