Further file organization
Further file organization
This commit is contained in:
24
nwn/nwnprc/trunk/scripts/poison_3d6_dex.nss
Normal file
24
nwn/nwnprc/trunk/scripts/poison_3d6_dex.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Poison: 3d6 Dexterity damage
|
||||
//:: poison_3d6_dex
|
||||
//:://////////////////////////////////////////////
|
||||
/** @file
|
||||
This is one of the scripts that implement causing
|
||||
poison ability damage using the ApplyAbilityDamage()
|
||||
wrapper.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Ornedan
|
||||
//:: Created On: 01.08.2005
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "inc_abil_damage"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = OBJECT_SELF;
|
||||
int nDamage = d6(3);
|
||||
int nAbility = ABILITY_DEXTERITY;
|
||||
|
||||
ApplyAbilityDamage(oTarget, nAbility, nDamage, DURATION_TYPE_TEMPORARY, TRUE, -1.0f);
|
||||
}
|
Reference in New Issue
Block a user