azerothcore / mod-autobalance

Module for AzerothCore(MaNGOS -> TrinityCore -> SunwellCore)
http://www.azerothcore.org
103 stars 109 forks source link

Solved a bug which caused part of the creature to not be properly sca… #188

Closed kewinrausch closed 2 months ago

kewinrausch commented 2 months ago

…led in case the group in the instance is formed by only one character, since the number of players before and after is always one

Changes Proposed:

Issues Addressed:

SOURCE:

Tests Performed:

How to Test the Changes:

  1. Compile the module with the master branch
  2. Enter a low level instance (Wailing Caverns) with a high level character (50+); part of the initial mobs will be around level 19. Enter manually, do not use LFG or similar tools.
  3. Compile the module with the fix and repeat after exiting and resetting the instance. The mobs and NPC at the start will be around the requested level.

BONUS: See the issue #176 to compile with log messages that allows tracing the issue

Helias commented 2 months ago

thanks for your investigation and for the fix!