Fixin' Fungus
Made the Violet Fungus, Shrieker & Yellow Mold more like PnP.
This commit is contained in:
30
_module/nss/ra_t1_yelmold1.nss
Normal file
30
_module/nss/ra_t1_yelmold1.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user