Suggestion Closed · Implemented

Adding MMOCore Party targeting

#1562 opened by Unknown 5 years ago

Unknownreported this suggestion

Summary

It would be useful if we had the option for more MMOCore compatibility with group buffing/healing others in certain scenarios.

Usage

In the target field it could resemble @playerparty or @mmocorepartymember for Players in the party for skills involving targeting party members instead of any player.

Value

It's pretty useful for programming group Buffs and skills to party members of the Caster. Otherwise in PvP scenarios the group Healer would be healing the opposing team.

Priority

Pretty mid-tier priority considering it would benefit everyone.

Implementation

I'm not entirely sure how it would go about it, I'm unfamiliar with the backend API myself.

Unknowncommented

This isn't likely to be added until MythicMMO comes out later this year.

Unknowncommented

If this can help

@NotNull PartyModule module = MMOCore.plugin.partyModule
@Nullable AbstractParty party = module.getParty(PlayerData.get(player instance));
party.getOnlineMembers(); // returns a list of online PlayerDatas

This works whatever party module the user has chosen

Sign in to join the discussion.