isitLoVe / RaidSummon

A small World of Warcraft addon to help Warlocks manage summons
GNU General Public License v3.0
8 stars 17 forks source link

Added support for party #23

Closed BenoitGielly closed 9 months ago

BenoitGielly commented 4 years ago

I've added support for party summons. I didn't yet tested it properly, but with a small group of 2 people it seemed to be working.

I added a "RaidSummon:GetChatType" function to return either "RAID" or "PARTY" which will be used in the chat command, as obviously you can't send message to "RAID" when you're in a party.

I also changed the "RaidSummon:NameListButton_PreClick" function to use the name rather than the raidIndex, since you don't have that in a party. Using names seem to be working fine, but I am not a WoW/LUA expert so feel free to modify if you want to!

isitLoVe commented 4 years ago

Hi, thanks for the pull request, i will check the code.

BenoitGielly commented 4 years ago

No worries, feel free to merge it if you think its correct. I tested it last night during a raid and it worked fine.