RATDOG/_module/nss/ra_t1_yelmold1.nss

31 lines
870 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: Yellow Mold
//:: RA_T1_YelMold1.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()
{
object oTarget;
effect ePoison = EffectPoison(46); // Yellow Mold Spores
oTarget = GetFirstInPersistentObject();
while(GetIsObjectValid(oTarget))
{
if(!GetIsReactionTypeFriendly(oTarget))
{
ApplyEffectToObject(DURATION_TYPE_INSTANT, ePoison, oTarget);
}
oTarget = GetNextInPersistentObject();
}
}