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,23 @@
//::///////////////////////////////////////////////
//:: Sleep 2d6 Rounds
//:: AR_Slp_2d6_Min
//:: Copyright (c) 2012 Athas Reborn
//:://////////////////////////////////////////////
/*
Character is rendered unconscious for
2d6 rounds.
*/
//:://////////////////////////////////////////////
//:: Created By: DM Heatstroke
//:: Created On: January 12, 2012
//:://////////////////////////////////////////////
void main()
{
object oTarget = OBJECT_SELF;
effect eSleep = EffectSleep();
effect eVis = EffectVisualEffect(VFX_DUR_MIND_AFFECTING_DISABLED);
effect eLink = EffectLinkEffects(eSleep, eVis);
int iTime = (d6(2));
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(iTime));
}