Added NWN Dark Sun module contents

Added NWN Dark Sun module contents.
This commit is contained in:
Jaysyn904
2021-07-12 21:24:46 -04:00
parent 556224a658
commit de24f81734
10609 changed files with 146652 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
//:://////////////////////////////////////////////
//:: Poison: 2d4 Constitution damage
//:: poison_2d4_con
//:://////////////////////////////////////////////
/** @file
This is one of the scripts that implement causing
poison ability damage using the ApplyAbilityDamage()
wrapper.
*/
//:://////////////////////////////////////////////
//:: Created By: DM Heatstroke
//:: Created On: 01.11.2012
//:://////////////////////////////////////////////
#include "inc_abil_damage"
void main()
{
object oTarget = OBJECT_SELF;
int nDamage = d4(2);
int nAbility = ABILITY_CONSTITUTION;
ApplyAbilityDamage(oTarget, nAbility, nDamage, DURATION_TYPE_TEMPORARY, TRUE, -1.0f);
}