forked from Jaysyn/PRC8
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.
13 lines
371 B
Plaintext
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);
|
|
}
|
|
} |