Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//::///////////////////////////////////////////////
//:: Aura of Fear
//:: NW_S1_AuraFear.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Upon entering the aura of the creature the player
must make a will save or be struck with fear because
of the creatures presence.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: May 25, 2001
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
object oPC = OBJECT_SELF;
if(GetHasSpellEffect(SPELL_TOT_FRIGHTFUL_PRESENCE))
{
PRCRemoveEffectsFromSpell(oPC, SPELL_TOT_FRIGHTFUL_PRESENCE);
return;
}
int AOESize = GetAbilityModifier(ABILITY_CHARISMA, oPC) > 2 ? AOE_MOB_DRAGON_FEAR : AOE_MOB_FEAR;
SendMessageToPC(oPC," Size" +IntToString(AOESize));
//Set and apply AOE object
effect eAOE = ExtraordinaryEffect(EffectAreaOfEffect(AOESize, "taltia_aurafeara"));
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eAOE, oPC);
}