azerothcore / mod-autobalance

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

Bug: setting `AutoBalance.LevelScaling` to 0 causes all instance creatures to appear dead #135

Closed kjack9 closed 1 year ago

kjack9 commented 1 year ago

Current Behaviour

If AutoBalance.LevelScaling is set to 0, all instance creatures appear dead with a maximum health of 1. Creatures are still active and will attack if approached. Switching AutoBalance.LevelScaling to 1 resolves the issue.

Expected Behaviour

Setting AutoBalance.LevelScaling to 0 should skip level scaling for all creatures, but should still apply stat scaling.

Steps to reproduce the problem

  1. Set AutoBalance.LevelScaling in the config to 0
  2. .reload config
  3. Enter any instance
  4. Observe creatures that appear dead but will still attack.

Extra Notes

No response

AC rev. hash/commit

Latest AC and mod-autobalance

Operating system

Ubuntu 22.04 and others

Custom changes or Modules

No response

kjack9 commented 1 year ago

To workaround the issue (if you don't want level scaling to happen), set AutoBalance.LevelScaling to 1 and then set AutoBalance.LevelScaling.SkipHigherLevels to 80 and AutoBalance.LevelScaling.SkipLowerLevels to 80. That should disable level scaling entirely without hitting the bug.

I am actively working on a fix.