mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 06:07:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
13
trunk/scripts/prc_swashheal.nss
Normal file
13
trunk/scripts/prc_swashheal.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user