Jump to content

[0.12] Don't allow enter in a instance in combat


Auntie Mangos

Recommended Posts

What bug does the patch fix? What features does the patch add?

The patch add a check before and after enter in a instance, if this instance isn't in combat.

TODO: Work on Boss add's after a wipe, some time they still in combat with corpse

For which repository revision was the patch created?

S00108

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/viewtopic.php?id=13298

Who has been writing this patch? Please include either forum user names or email addresses.

Me and Emme

https://gist.github.com/68b1d946384fcd1ce152

Link to comment
Share on other sites

  • 40 years later...
I also think this does not apply to 5 men instances, only raids.

Moreover, you cannot enter if a boss (level 3) is engaged but you can enter freely when the group fights with trash mobs only.

With the trash it's okay because IsEncounterInProgress() is more often use with boss and not trash (or maybe it's a special case)

And yes you're right I've fix this, now it's check is only apply for raid.

https://gist.github.com/68b1d946384fcd1ce152 (First link updated)

I've have also add a forgotten player->isGameMaster()

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use