PRC8/trunk/scripts/poison_1d1_str.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

25 lines
675 B
Plaintext

//:://////////////////////////////////////////////
//:: Poison: 1d1 Strength damage
//:: poison_1d1_str
//:://////////////////////////////////////////////
/** @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_STRENGTH;
ApplyAbilityDamage(oTarget, nAbility, nDamage, DURATION_TYPE_TEMPORARY, TRUE, -1.0f);
}