|
Post by Xan on Aug 23, 2012 14:40:15 GMT -5
Both Ward spells are bugged again. Increasing affinity doesn't appear to increase the duration. The EoT is only firing once.
|
|
|
Post by Xan on Aug 24, 2012 20:40:35 GMT -5
The recursive function call was missing several variables. Should be fixed next update. Going to leave this thread up as a reminder to check that the spells are working correctly. As a side note, this could have affected some DoTs as well.
|
|
|
Post by Xan on Aug 25, 2012 21:12:28 GMT -5
No noticeable change in the spell's behavior. This bug is still in effect.
|
|
|
Post by Xan on Sept 11, 2012 0:18:00 GMT -5
Added several debug messages to assist in the diagnosis of this bug.
|
|
|
Post by Xan on Sept 11, 2012 5:00:08 GMT -5
By the gods... it's fixed. One of three things I did (besides the debug messages) could have done it, but I don't really care to find out which one. Just glad it's over with....
It was either:
A: EoT effect duration needs to be less than EoT interval length, though not by much. 0.1 would be a big enough difference. Just enough time for the previous effect to end before attempting to apply the new one.
or
B: Removing the AssignCommand(oPC, ApplyEffect())... and just going straight to ApplyEffect(). Don't know why the AssignCommand was used.... must have been half asleep when I wrote it... sort of like I am now. Gotta stop doing that.
and lastly, though this should have been fixed either way
C: I had the no-save EoTs backwards, so that the switch-case statement which handles saves within EffectOverTimeSpells actually returned a successful save. After the switch-case, there is a check for whether or not the save was successful. If the target fails a save against a hostile effect, then that's the time to apply the effect, right? Well, I had that backwards too. It would only apply the effect on a successful save.
|
|