Originally Posted by songster
Why do you need a persistent memory for a DP tick timer? You don't need to remember when the DP was first applied, you already know is that each tick comes 3 seconds after the previous one. Surely all you need to do is trigger a 3 second timer every time you see DP tick?
|
Indeed, this is a memory of sorts. As opposed to a buff watcher which makes all of its decisions based on a single number (time left on a buff/debuff), a tick timer has to remember when the three second ticks started (or at the least when the last tick was), regardless of when the debuff was refreshed.
A very simple and effective example of this is found in the bottom of the lua of the mod Aldrianna posted.
This is probably unnecessary semantics, however, so I'll leave it there.