The patch does work - but it does not work as intended.
MaNGOS Revision: 10091
UDB Revision: 391
1. Divine Hymn
How it SHOULD work: Heals 3 targets with the lowest health in the party/raid every 2 sec for 8 sec, including the priest if he/she is one of the members with the lowest health. Also provides a buff of +10% healing received to all targets affected for 8 sec. (each tick of the channel refreshes the buff timer). It also switches targets to the lowest health party/raid members after each tick.
How it DOES work: If cast with 3 members in the party/raid including the priest, all three members are healed regardless of the party/raids' health. However when cast with 4+ members in the party/raid (including the the priest), 3 random members (at any health level) other than the priest will be healed, the priest is never healed, even if the priest has the lowest amount of health. Provides the buff +10% healing for all targets affected for 8 sec. After the 3 random members have been healed with the spell once, they will continue to be targeted for every new cast of the spell. Targets do not switch (includes not switching per tick obviously). The only way to reset the targets is to remove/add people from the party/raid. Once new members join/leave, on spell cast targets will be reset and the spell will continue to be cast on those targets until another change in the group is made.
2. Hymn of Hope
How it SHOULD work: Restores 3% mana to 3 low mana party/raid members (I assume it targets the 3 lowest) every 2 sec for 8 sec. Also provides a buff of +20% mana to all targets affected for 8 secs. (each tick of the channel refreshes the buff timer). I do not know if it targets a new member with the lowest mana per tick.
How it DOES work: If cast with 3 members in the party/raid including the priest, all three members' mana is restored regardless of the party/raids' mana. However when cast with 4+ members in the party/raid (including the the priest), 3 random members (at any mana level) other than the priest will be have their mana restored, the priest's mana is never restored, even if the priest has the lowest amount of mana. Provides the buff +20% mana for all targets affected for 8 sec. After the 3 random members have had their mana restored with the spell once, they will continue to be targeted for every new cast of the spell. Targets do not switch (includes not switching per tick obviously - if applies). The only way to reset the targets is to remove/add people from the party/raid. Once new members join/leave, on spell cast targets will be reset and the spell will continue to be cast on those targets until another change in the group is made.
Without this patch the priest is never healed at all/has mana restored at all. (Only difference)
I don't really know how to get the result we need as I have just started programming at University this year (we are doing C++), but I plan on learning more from MaNGOS and the community!
Please correct me where I am wrong anywhere in this post, it is a very confusing concept!