Files
PRC8/nwn/nwnprc/trunk/scripts/gen_sptouchice.nss
Jaysyn904 875f00c88f 2026/01/30 Update
Updated version number.
Fixed Touch of Golden Ice.
Removed Leadership related feats from Thrallherds feat list.
Necrocarnum Circlet should only fire the Detect Undead cone VFX once.
Desert Wind maneuvers should to the right amount of damage.
Blade Guide now takes less damage during combat.
FEAT_HOSPITALER_SPELLCASTING_PALADIN was missing from HospitalerMarkerFeats()
Frenzied Berzerker should now work with Vow of Poverty and Forsaker.
prc_wallbreathc now uses PRCEffectDamage().
Changed Mantle of Egregious Might back to Dodge AC.
Tweaked Mirror Image.
2026-01-30 18:11:38 -05:00

54 lines
1.3 KiB
Plaintext

//:://////////////////////////////////////////////
//: gen_sptouchice.nss
/*
Touch of Golden Ice
(Book of Exalted Deeds, p. 47)
[Exalted]
Your touch is poisonous to evil creatures.
Prerequisite: CON 13
Benefit: Any evil creature you touch with your
bare hand, fist, or natural weapon is ravaged
by golden ice (see Ravages and Afflictions in
Chapter 3: Exalted Equipment for effects).
This handles the activated feat.
*/
//:
//:://////////////////////////////////////////////
//::
//:: Created by: Jaysyn
//:: Created on: 2026-01-30 08:21:32
//::
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_spells"
#include "inc_poison"
#include "prc_inc_sp_tch"
void main()
{
object oTarget = PRCGetSpellTargetObject();
// Perform melee touch attack
int nTouchAttack = PRCDoMeleeTouchAttack(oTarget);
// Only apply ravage if the touch attack hits
if(nTouchAttack > 0)
{
effect ePoison = EffectPoison(POISON_RAVAGE_GOLDEN_ICE);
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, ePoison, oTarget, 0.0f, FALSE);
}
}
/* void main()
{
object oTarget = PRCGetSpellTargetObject();
effect ePoison = EffectPoison(POISON_RAVAGE_GOLDEN_ICE);
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, ePoison, oTarget, 0.0f, FALSE);
} */