Update NUI spellbook notes. Magic staves are quarterstaves. Champion of Torm & Eldritch Knight were missing a fighter bonus feat. Added an entry for Risen Reunited in epicspells.2da. Fixed icon for ImpCrit Goad. Unseen Seen & Ult. Magus's spellcasting marker feats names were swapped. Added more sanity checking to Luminous Armor. Updated Warforged & Warforged Chargers descriptions. Enlightened Fist requires Arcane CL 2 not 2nd Circle spells. No such thing as Luck AC in NWN. Added sanity check for Blackguard's Aura. Updated NUI spellcasting menu.
33 lines
963 B
Plaintext
33 lines
963 B
Plaintext
#include "prc_feat_const"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetAreaOfEffectCreator();
|
|
object oTarget = GetEnteringObject();
|
|
|
|
// Apply the Aura of Despair penalties to hostiles only.
|
|
if (GetIsReactionTypeHostile(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);
|
|
}
|
|
}
|
|
|
|
|
|
/* 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);
|
|
}
|
|
} */ |