PRC8_fork/nwn/trunk/scripts/prc_swashheal.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

13 lines
371 B
Plaintext

#include "prc_alterations"
#include "prc_feat_const"
void main()
{
object oTarget = PRCGetSpellTargetObject();
if(GetIsImmune(oTarget, IMMUNITY_TYPE_CRITICAL_HIT)
|| GetIsImmune(oTarget, IMMUNITY_TYPE_SNEAK_ATTACK))
{
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectHeal(GetAbilityModifier(ABILITY_INTELLIGENCE, OBJECT_SELF)), oTarget);
}
}