Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
//::///////////////////////////////////////////////
//:: Lesser Desecrate
//:: PRC_TN_DES_20
//:://////////////////////////////////////////////
/*
You create an aura that boosts the undead
around you.
*/
#include "prc_inc_spells"
void main()
{
object oPC = OBJECT_SELF;
string nMes = "";
if(!GetHasSpellEffect(SPELL_DES_20) )
{
effect eAOE = EffectAreaOfEffect(AOE_MOB_DES_20, "prc_tn_des_a", "", "prc_tn_des_b");
effect eVis = EffectVisualEffect(VFX_TN_DES_20);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(99));
//rather than a big flashy desecration effect, the alternative is a dark light effect
if(GetPRCSwitch(PRC_TRUE_NECROMANCER_ALTERNATE_VISUAL))
eVis = EffectVisualEffect(VFX_DUR_ANTI_LIGHT_10);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVis, OBJECT_SELF, HoursToSeconds(99));
nMes = "*Lesser Desecrate Activated*";
}
else
{
// Removes effects
PRCRemoveSpellEffects(SPELL_DES_20, oPC, oPC);
nMes = "*Lesser Desecrate Deactivated*";
}
FloatingTextStringOnCreature(nMes, oPC, FALSE);
}