Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,17 @@
#include "prc_feat_const"
void main()
{
object oPC = GetAreaOfEffectCreator();
object oTarget = GetEnteringObject();
// Apply the Aura of Despair penalties.
// Doesn't affect allies
if(!GetIsFriend(oTarget, oPC))
{
int nPen = 2;
if (GetHasFeat(FEAT_IMPROVED_AURA_OF_DESPAIR, oPC)) nPen += 2;
effect eLink = EffectSavingThrowDecrease(SAVING_THROW_ALL, nPen);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, 6.0);
}
}