Greetings builders!
BACKGROUND
A lot of AoE spells were modified on Richterm's Retreat - Land of Nordock 2008 by Qel in 2003 to "to overcome flaky nature of AoE heartbeats". A lot of servers have since based their modules of off Richterm's Retreat, ours included.
Qel has commented out the heartbeat script (NW_S0_XXXC) and created a pseudo heartbeat script inside the OnEnter script
For creeping doom that means that the OnHearbeat script: NW_S0_CrpDoomC has been commented out, and that a pseudo heartbeat script has been added to the OnEnter script: NW_S0_CrpDoomA.
A lot of what he/she's done seems all well and good, but I've discovered an issue with Creeping Doom in particular.
PROBLEM
I first noticed the issue when Creeping Doom for some reason stopped dealing damage beyond the 1d20 OnEnter damage. I narrowed down the issue to Freedom of Movement, granting this immunity as it were.
But the issue itself does not seem to arise from a script stating that freedom of movement should grant immunity, or that immunity to slow will stop the damage. It seems to be a bug of some sort where, when the movement speed decrease part of the script does not fire, the script stops.
I ran a test where I simply commented out the parts in the scripts that handles the movement speed decrease, and that also had the effect of completely stopping the damage from the spell.
That is, if a creature is slowed then the damage part of the script is working as intended. But when a creature isn't slowed (from immunity, or by having the slowing part commented out of the script) the damage part of the script stops dead.
SOLUTION
I'm not particularly script savvy, and I've done as much as I can in terms of trouble shooting the issue. Any thoughts on the matter will be greatly appreciated!