Quantcast

Introduce new spell priority feature ``wait=N''.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-09-02 15:41:09
Author local date 2013-09-02 15:41:09 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-09-02 15:41:09
Committer local date 2013-09-02 15:41:09 +0000
Commit 97a3865a65219c4ce2b6c8db8b308ce7a2bac6f6
Tree 1f9a793fdd19d2a12eb2cd06a2c3cf6881a86ba7
Parent 16e869ab13870b552a8282bc4fd56e8fe0439957
Introduce new spell priority feature ``wait=N''.

Setting wait=N in a Spell() or Item() action will cause that action to
have priority over later actions if the later actions start within N
seconds of that action's start time.

In the following example, Crusader Strike will be suggested over later
actions as long as it is within 0.2 seconds of the Crusader Strike
cooldown, otherwise Judgment will be suggested within 0.2 seconds of the
Judgment cooldown, followed by Templars Verdict or Holy Prism using normal
start time comparisons.

    Spell(crusader_strike wait=0.2)
    Spell(judgment wait=0.2)
    Spell(templars_verdict)
    Spell(holy_prism)

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