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.
24 lines
719 B
Plaintext
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);
|
|
}
|