Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,29 @@
//::///////////////////////////////////////////////
//:: Troglodyte Stench
//:: race_stench.nss
//:://////////////////////////////////////////////
/*
Objects entering the aura must make a fortitude saving
throw or or be sickened for 10 rounds
*/
//:://////////////////////////////////////////////
//:: Created By: xwarren
//:: Created On: 2011-05-05
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
object oCaster = OBJECT_SELF;
if(GetHasSpellEffect(SPELL_TROGLODYTE_STENCH))
{
PRCRemoveEffectsFromSpell(oCaster, SPELL_TROGLODYTE_STENCH);
return;
}
effect eStench = EffectAreaOfEffect(AOE_MOB_TROGLODYTE_STENCH, "prc_TrogStenchA", "", "");
eStench = ExtraordinaryEffect(eStench);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eStench, oCaster);
}