Fixin' Fungus

Made the Violet Fungus, Shrieker & Yellow Mold more like PnP.
This commit is contained in:
Jaysyn904
2021-09-27 16:47:05 -04:00
parent 3b573e0bcf
commit a7b2d66126
17 changed files with 1267 additions and 43459 deletions

View File

@@ -0,0 +1,26 @@
//::///////////////////////////////////////////////
//:: 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));
}

View 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();
}
}