NWNDS/nwnds_module/ar_para_2d6_min.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

24 lines
727 B
Plaintext

//::///////////////////////////////////////////////
//:: Paralyze 2d6 Minutes (Turns)
//:: AR_Para_2d6_Min
//:: Copyright (c) 2012 Athas Reborn
//:://////////////////////////////////////////////
/*
Induces Paralysis for 2d6 minutes (turns).
*/
//:://////////////////////////////////////////////
//:: Created By: DM Heatstroke
//:: Created On: January 12, 2012
//:://////////////////////////////////////////////
void main()
{
object oTarget = OBJECT_SELF;
int iTime = d6(2);
effect eParal = EffectParalyze();
effect eVis = EffectVisualEffect(VFX_DUR_PARALYZED);
effect eLink = EffectLinkEffects(eParal, eLink);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, TurnsToSeconds(iTime));
}