New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT #29946
Conversation
…ented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT
Are you sure this must be set for all bosses? Asking because I've been recently playing wotlk classic and on low level dungeons, for example, Deadmines, when engaging a boss, I wouldn't be dragged into combat if my team mates engaged it while I was drinking. And as far as I recall, engaging would break drinking and my drinking wasn't being broken either. Could this be a result of a bug from official servers in any case? |
It is. That static flag is set on pretty much every single boss. including Kologarns arms. And no, engaging does not break drinking. |
Flag was also added (at earliest) very late in Vanilla or very early TBC so there's a chance that earlier Vanilla bosses simply didn't have the flag until later. |
It applies primarily for raid bosses only. Dungeon bosses are not part of this mechanic for most of the part. |
I see then, thanks for the clarification! |
…andled by the static flag
…not on the same map as the aggressor
…hem to all creatures
Since you've removed DoZoneInCombat(), this means that, in raid encounters where there are creatures that engage the boss when players do, e.g., Archimonde in Hellfire Citadel or Sylvanas Windrunner in Sanctum of Domination, we're forced to find those creatures and call AttackStart on the bosses, is that it? |
@@ -3644,6 +3624,9 @@ void Creature::AtEngage(Unit* target) | |||
ai->JustEngagedWith(target); | |||
if (CreatureGroup* formation = GetFormation()) | |||
formation->MemberEngagingTarget(this, target); | |||
|
|||
// Creatures with CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT periodically force party members into combat | |||
ForcePartyMembersIntoCombat(); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
DoZoneInCombat only put all players (and their summons) on the map in combat with the target creature. So it was just making sure that when you engage the boss (e.g. Tank start attacking) that all players were put in combat which is only correct for raid bosses and this is now done via static flag and only for party members, not for all players on the map. |
Changes proposed:
Tests performed:
Todo