azerothcore / mod-autobalance

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

Bug: Instant 80 after killing summoned creature/pet #149

Closed duncrafter closed 1 year ago

duncrafter commented 1 year ago

Current Behaviour

After killing a creature summoned by mobs or a mob pet, the player gains a huge amount of experience - enough to reach level 80 regardless of current level.

Expected Behaviour

The player should gain the normal amount of experience as determined by the creature's level in relation to the player level and ExperienceModifier in creature_template.

Steps to reproduce the problem

  1. Kill a summoned creature/pet (eg. Razormane Wolf in Barrens or Voidwalkers in Durotar)
  2. Observe

Extra Notes

No response

AC rev. hash/commit

AzerothCore rev. bdba972ffc81 2023-08-01 19:13:49 +0000 (master branch) (Win64, RelWithDebInfo, Static)

Operating system

Windows 7 x64

Custom changes or Modules

mod-ah-bot mod-aoe-loot mod-arac mod-autobalance mod-learn-spells mod-solo-lfg mod-transmog

lewpar commented 1 year ago

Can you share your config as well.

duncrafter commented 1 year ago

AutoBalance.txt

kjack9 commented 1 year ago

I'm unable to replicate this. Do you also see this issue when mod-autobalance is the only mod enabled? What does .ab mapstat say when you're in the area? What about .ab creaturestat when you're targeting the Razormane Wolf?

Razormane Wolf Kill

mapstat and creaturestat

kjack9 commented 1 year ago

Marking as invalid for now, please re-open if you're able to reproduce this on the latest commit using only mod-autobalance.