PRC8_fork/nwn/trunk/scripts/poison_1d1_int.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

25 lines
683 B
Plaintext

//:://////////////////////////////////////////////
//:: Poison: 1d1 Intelligence damage
//:: poison_1d1_int
//:://////////////////////////////////////////////
/** @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 = 1;
int nAbility = ABILITY_INTELLIGENCE;
ApplyAbilityDamage(oTarget, nAbility, nDamage, DURATION_TYPE_TEMPORARY, TRUE, -1.0f);
}