When I create a PC with five levels of Harper Scout, their Invisibility feat appears to work properly.
When I created an NPC with five levels of Harper Scout and the Invisibility feat, activating it and targeting the NPC (NPC possessed by the DM) seemed to produce no results. It appeared that in this case, a caster level of zero was being returned by GetCasterLevel().
I changed the
NW_S0_Invisib script
, and put in a line to separately look for Harper level and add that to the overall caster level, and then the same NPC could cast the spell successfully (again possessed by the DM).
At first I assumed that GetCasterLevel() was not looking for Harper levels, but a Harper PC was able to cast that spell successfully, so that theory seems unlikely to me.
Any ideas?