Quantcast

Make TickTime() return the tick length of a new DoT if one isn't present.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-05-06 14:22:01
Author local date 2014-05-06 14:22:01 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-05-06 14:22:01
Committer local date 2014-05-06 14:22:01 +0000
Commit 7be4ac1fedf9f6e00a356e6717019febf3e9982d
Tree c24538c15013d9cb75640bcbdeebf441264d7c8f
Parent 54d58747eb21471f2721730edb3b50c197526f54
Make TickTime() return the tick length of a new DoT if one isn't present.

This matches SimC semantics where if a DoT is present, then "tick_time" is
the actual tick length of the DoT, but if the DoT is not present, then it
is the tick length of a new DoT with a current stat snapshot.

This fixes mage scripts not suggesting mage bombs.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1390 d5049fe3-3747-40f7-a4b5-f36d6801af5f