Use single-target partybot buffs when it makes more sense.#2590
Conversation
19b736b to
02f184d
Compare
|
No actual code changes in the force-push; I just updated this PR to be based on the latest |
|
I don't think mages should cast Arcane Brilliance unless there are multiple targets missing the buff. For a single target they should cast Arcane Intellect. |
|
True, that makes more sense. At the moment, other party-wide buffs like Prayer of Fortitude or Prayer of Spirit behave like that (= they get rebuffed once they drop off a single party member), only Arcane Brilliance behaves differently, so this PR would at least make it so the behavior is unified. But I can adjust it so it works like you describe. I assume you would want the following spells behave the same?
There is also the various Paladin Blessings bots can cast:
But I guess we can disregard those since their are more specific (Greater Blessings will only apply to members of the same class as the target). Did I miss anything else? |
220a54b to
ebb5078
Compare
|
I have adjusted the PR and marked it as Draft for now, since it's untested. Once I can confirm it's working as intended for me, I'll remove the Draft status. |
Choose the single-target variant when exactly one eligible party member is missing the buff, and only use the group variant when multiple members need it. This applies to: - Arcane Intellect / Arcane Brilliance - Power Word: Fortitude / Prayer of Fortitude - Divine Spirit / Prayer of Spirit - Shadow Protection / Prayer of Shadow Protection - Mark of the Wild / Gift of the Wild
07c0173 to
7885466
Compare
|
Tested locally and ready for review. A small video demonstration of a minimal test case I can think of (see How2Test section in the PR message): pr-2590.mp4@ShiyoKozuki: Maybe interesting for you if you are still using VMaNGOS. |
Choose the single-target variant when exactly one eligible party member is missing the buff, and only use the group variant when multiple members need it. This applies to: - Arcane Intellect / Arcane Brilliance - Power Word: Fortitude / Prayer of Fortitude - Divine Spirit / Prayer of Spirit - Shadow Protection / Prayer of Shadow Protection - Mark of the Wild / Gift of the Wild

🍰 Pullrequest
This fixes Mage partybots not reapplying Arcane Brilliance unless it has expired on themselves.
It also makes it so that partybots now choose either the single target or party-wide variant of the following buffs:
The selection process is:
Of course, this also depends on which spells the partybot actually knows, as well as the party members within buff range.
Proof
Issues
How2Test
Video demonstration:
pr-2590.mp4
Todo / Checklist