Open gitdalisar opened 7 months ago
Comment about spells from Issue #8 : Looking more into this, to cast spells on players of opposite faction outside of your group, this may cause a LOT of unintended behavior. Within the targets you can pick for a spell you do have TARGET_UNIT_TARGET_ALLY or TARGET_UNIT_TARGET_ENEMY typically for buffs/damage accordingly. There does NOT seem to be a TARGET_UNIT_TARGET_PLAYER so I think if we open up the ability to heal/buff/etc players outside the faction, it will result in also being able to accidently drop a heal on a boss mid fight... I'll look into it a bit more but do not think this one is going to be doable.
So I do think this is plausible but I still think there will be some conflicts and unintended behavior... It looks like it will need to be a combination of a few things:
Now for what this means:
Just not sure there is a clean way to do this.
Is your feature request related to a problem? Please describe. No, this is not related to a problem. The method that cross-faction operates in Azerothcore is through the worldserver.conf settings. This appears to override the allowance of being in a group or raid together and then that allows for cross-faction features to appear.
Describe the solution you'd like It would be good to have healing and buffing allowed for cross-faction play OUTSIDE of being in a group first to make those features work.
Describe alternatives you've considered There are not really any workarounds to this due to the limitations in place for factional game play. Will likely need to modify .dbc files to get this to occur, if it is even possible. Will need to research exactly what flags could be set to make this possible.
Additional context Initially reported by Ghost via DM in Discord.