Battledale_PRC8/_removed/nw_s0_1shadess.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

24 lines
719 B
Plaintext

///::///////////////////////////////////////////////
//:: Shadow Essence On Hit
//:: NW_S0_1ShadEss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
1 Point Permenent Strength Damage
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: April 11, 2002
//:://////////////////////////////////////////////
void main()
{
object oTarget = OBJECT_SELF;
effect eDrain = EffectAbilityDecrease(ABILITY_STRENGTH, -1);
effect eVis = EffectVisualEffect(VFX_IMP_REDUCE_ABILITY_SCORE);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDrain, oTarget);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oTarget);
}