Further file organization
Further file organization
This commit is contained in:
25
nwn/nwnprc/trunk/scripts/poison_ungol2.nss
Normal file
25
nwn/nwnprc/trunk/scripts/poison_ungol2.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Ungol Dust On Hit
|
||||
//:: poison_ungol2
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
1 point permanent Charisma damage and
|
||||
1d6 points of temporary Charisma damage.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Ornedan
|
||||
//:: Created On: December 24, 2004
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "prc_alterations"
|
||||
#include "inc_abil_damage"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = OBJECT_SELF;
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_REDUCE_ABILITY_SCORE);
|
||||
|
||||
ApplyAbilityDamage(oTarget, ABILITY_CHARISMA, 1, DURATION_TYPE_PERMANENT, TRUE);
|
||||
ApplyAbilityDamage(oTarget, ABILITY_CHARISMA, d6(1), DURATION_TYPE_TEMPORARY, TRUE, -1.0f);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
|
||||
}
|
Reference in New Issue
Block a user