RATDOG/_module/nss/ra_t1_yelmold.nss

27 lines
910 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: Yellow Mold
//:: RA_T1_YelMold.nss
//:: Copyright (c) 2021 Project RATDOG
//:://////////////////////////////////////////////
/*
Creates a 5m poison radius gas cloud that
lasts for 20 rounds and poisons all creatures
entering the area with Yellow Mold Spores
*/
//:://////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: Sept 27, 2021
//:://////////////////////////////////////////////
void main()
{
//Declare major variables including Area of Effect Object
effect eAOE = EffectAreaOfEffect(AOE_PER_FOGSTINK, "RA_T1_YelMold1", "****", "****");
location lTarget = GetLocation(GetEnteringObject());
int nDuration = 20;
//Create an instance of the AOE Object using the Apply Effect function
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAOE, lTarget, RoundsToSeconds(nDuration));
}