Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

35 lines
1.0 KiB
Plaintext

/*:://////////////////////////////////////////////
//:: Spell Name Darkness: On Enter
//:: Spell FileName PHS_S_DarknessA
//:://////////////////////////////////////////////
//:: Spell Effects Applied / Notes
//:://////////////////////////////////////////////
AOE mearly applies a 20% consealment bonus. Note that if they have Daylight
applied to them, then it cannot be consealed as the effects negate each
other.
//:://////////////////////////////////////////////
//:: Created By: Jasperre
//::////////////////////////////////////////////*/
#include "PHS_INC_SPELLS"
void main()
{
// Check AOE status
if(!PHS_CheckAOECreator()) return;
// Declare major variables
object oTarget = GetEnteringObject();
object oCreator = GetAreaOfEffectCreator();
//Declare major effects
effect eConseal = EffectConcealment(20);
//Fire cast spell at event for the target
PHS_SignalSpellCastAt(oTarget, PHS_SPELL_DARKNESS);
// Apply effects
// * Cosealment doesn't overlap.
PHS_ApplyPermanent(oTarget, eConseal);
}