Files
PRC8/nwn/nwnprc/trunk/psionics/psi_pow_frmdment.nss
Jaysyn904 5e9986829f 2025/10/30 Update
Improved Trip / Disarm should be Champion of Corellon bonus feats.
Crinti Shadow Marauders don't get weapon proficiencies.
Epic Dragon Shaman is 21st level.
JPM was missing epic arcane bonus feats.
Karsites & Silverbrows can enter Crinti Shadow Maarauder.
Drunken Rage can allow entry into Frostrager.
Knight of the Sacred Seal was missing FEATOR prereq for Weapon Focus: Shortsword.
Two-Weapon Defense is a general feat.
Tweaked Echoblade enchantment cost.
Added base class equpiment packages more inline with PnP & the actual package descriptions (@Cypher).
Added a modified packages.2da to support the above.
Updated Dynamic Conversation tokens as to greatly lessen the chance of conflicting with module dialogues.
Added weapon proficiencies to FeatToIprop().
Added pnp essentia scaling support for meldshaper levels over 40.
Added GetProficiencyFeatOfWeaponType().
Added GetHasSwashbucklerWeapon().
Added GetHasCorellonWeapon().
Fixed spelling for IP_CONST_FEAT_WEAPON_PROFICIENCY_NUNCHAKU.
Fixed PsyRogue's Enhanced Sneak Attack scaling.
Eldrtich Doom shouldn't target non-hostiles.
Fixed Hellfire Warlock fire resistance to work with other sources of fire resistance.
Fixed text feedback for Island in Time.
Added some DEBUG for Shadow Blade.
prc_2da_cache creature should no longer be accidently targetable, causing faction issues.
Added a PnP cat creature, for the hell of it.  Tibitz is Dragon Magizine, unfortunately.
Updated text tokens for Astral Construct convos.
Updated text tokens for soulknife's mindblade convos.
If you save vs certain fear effects, they fail to work on you for 24 hours, from that source.  (Form of Doom, Dragon Fear)
Fixed Prismatic Sphere VFX bug (@Syrophir)
Fixed Banishment bug on all Prismatic spells.
Bralani Eldarin were missing Low-Light Vision.
Fixed Lips of Rapture bug.
Prelimiary work to making Favoured Soul's Deity's Weapon closer to PnP.
Fixed Firey Burst bug.  I think.

Updated notes.
Updated PRC8 Manual.
2025-10-30 19:04:58 -04:00

123 lines
4.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
----------------
Form of Doom - Frightful presence OnEnter
psi_pow_frmdment
----------------
13/12/05 by Stratovarius
*/ /** @file
Form of Doom - Frightful presence OnEnter
Psychometabolism
Level: Psychic warrior 6
Manifesting Time: 1 standard action
Range: Personal; see text
Target: You
Duration: 1 round/level
Power Points: 11
Metapsionics: Extend
You wrench from your subconscious a terrifying visage of deadly hunger and
become one with it. You are transformed into a nightmarish version of
yourself, complete with an ooze-sleek skin coating, lashing tentacles, and a
fright-inducing countenance. You retain your basic shape and can continue to
use your equipment. This power cannot be used to impersonate someone; while
horrible, your form is recognizably your own.
You gain the frightful presence extraordinary ability, which takes effect
automatically. Opponents within 30 feet of you that have fewer Hit Dice or
levels than you become shaken for 5d6 rounds if they fail a Will save
(DC 16 + your Cha modifier). An opponent that succeeds on the saving throw
is immune to your frightful presence for 24 hours. Frightful presence is a
mind-affecting fear effect.
Your horrific form grants you a natural armor bonus of +5, damage reduction
5/-, and a +4 bonus to your Strength score. In addition, you gain +33% to
your land speed as well as a +10 bonus on Jump checks.
A nest of violently flailing black tentacles sprout from your hair and back.
You can make up to four additional attacks with these tentacles in addition
to your regular melee attacks. You can make tentacle attacks within the
space you normally threaten. Each tentacle attacks at your highest base
attack bonus with a -5 penalty. These tentacles deal 2d8 points of damage
plus one-half your Strength bonus on each successful strike.
This power functions only while you inhabit your base form (for instance,
you cant be metamorphed or polymorphed into another form, though you can
use, claws of the beast, and bite of the wolf in conjunction with this power
for your regular attacks), and while your mind resides within your own body.
Augment: For every additional power point you spend, this powers duration
increases by 2 rounds.
*/
#include "prc_inc_spells"
void main()
{
object oTarget = GetEnteringObject();
object oCreator = GetAreaOfEffectCreator();
string sCreatorID = GetObjectUUID(oCreator);
string sVar = "FoD_FEAR_IMMUNE_" + sCreatorID;
// Skip if target already immune to this manifester's frightful presence
if (GetLocalInt(oTarget, sVar))
return;
effect eLink = EffectShaken();
eLink = EffectLinkEffects(eLink, EffectVisualEffect(VFX_DUR_MIND_AFFECTING_FEAR));
eLink = EffectLinkEffects(eLink, EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE));
effect eVis = EffectVisualEffect(VFX_IMP_FEAR_S);
int nDC = 16 + GetAbilityModifier(ABILITY_CHARISMA, oCreator);
int nDuration = d6(5);
if (GetIsEnemy(oTarget, oCreator))
{
SignalEvent(oTarget, EventSpellCastAt(oCreator, SPELLABILITY_AURA_FEAR));
if (!PRCMySavingThrow(SAVING_THROW_WILL, oTarget, nDC, SAVING_THROW_TYPE_FEAR))
{
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(nDuration));
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}
else
{
// Successful save grants 24-hour immunity to this manifesters aura
SetLocalInt(oTarget, sVar, TRUE);
DelayCommand(HoursToSeconds(24), DeleteLocalInt(oTarget, sVar));
}
}
}
/* #include "prc_inc_spells"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
effect eLink = EffectShaken();
eLink = EffectLinkEffects(eLink, EffectVisualEffect(VFX_DUR_MIND_AFFECTING_FEAR));
eLink = EffectLinkEffects(eLink, EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE));
effect eVis = EffectVisualEffect(VFX_IMP_FEAR_S);
int nDC = 16 + GetAbilityModifier(ABILITY_CHARISMA, GetAreaOfEffectCreator());
int nDuration = d6(5);
if(GetIsEnemy(oTarget, GetAreaOfEffectCreator()))
{
//Fire cast spell at event for the specified target
SignalEvent(oTarget, EventSpellCastAt(GetAreaOfEffectCreator(), SPELLABILITY_AURA_FEAR));
//Make a saving throw check
if(!PRCMySavingThrow(SAVING_THROW_WILL, oTarget, nDC, SAVING_THROW_TYPE_FEAR))
{
//Apply the VFX impact and effects
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(nDuration));
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}
}
} */