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.
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
/*:://////////////////////////////////////////////
|
|
//:: Spell Name Storm of Vengance On Exit
|
|
//:: Spell FileName PHS_S_StormVenB
|
|
//:://////////////////////////////////////////////
|
|
//:: In Game Spell desctiption
|
|
//:://////////////////////////////////////////////
|
|
On exit, we must remove the miss chances and consealment applied from this
|
|
spell.
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Jasperre
|
|
//::////////////////////////////////////////////*/
|
|
|
|
#include "PHS_INC_SPELLS"
|
|
|
|
void main()
|
|
{
|
|
// Declare major variables
|
|
object oExiter = GetExitingObject();
|
|
|
|
// Remove all miss chance and consealments from this spell.
|
|
effect eCheck = GetFirstEffect(oExiter);
|
|
while(GetIsEffectValid(eCheck))
|
|
{
|
|
// Check spell Id
|
|
if(GetEffectSpellId(eCheck) == PHS_SPELL_STORM_OF_VENGEANCE)
|
|
{
|
|
// Check effect type and remove the right ones
|
|
switch(GetEffectType(eCheck))
|
|
{
|
|
case EFFECT_TYPE_CONCEALMENT:
|
|
case EFFECT_TYPE_MISS_CHANCE:
|
|
{
|
|
RemoveEffect(oExiter, eCheck);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
eCheck = GetNextEffect(oExiter);
|
|
}
|
|
}
|