Kitzunu

Results 228 comments of Kitzunu

So this is somehow due to DeathState being changed from Corpse to Alive ``` Creature::LowerPlayerDamageReq first _playerDamageReq 6 Creature::LowerPlayerDamageReq second _playerDamageReq 0 Creature::LowerPlayerDamageReq first _playerDamageReq 0 CREATURE ENTRY 23979 ....

![image](https://github.com/azerothcore/azerothcore-wotlk/assets/24550914/3905d84d-af9c-44ef-ac29-f64a24e1e7d9) But let me tell you. The frog is very much dead. So this is probably not an issue of loot, but an issue of DeathState being changed incorrectly

``` CREATURE ENTRY 23979 . _playerDamageReq 0 . IS DAMAGE ENOUGH? true Creature::IsDamageEnoughForLootingAndReward DeathState 0 Unit::Kill isRewardAllowed TRUE CreatureAI::_EnterEvadeMode DeathState 0 Creature::ResetPlayerDamageReq _playerDamageReq 1 DamageReq has been increased to ONE...

``` Creature::Update ALIVE Creature::Update ALIVE Creature::Update ALIVE Creature::LowerPlayerDamageReq first _playerDamageReq 6 Creature::LowerPlayerDamageReq second _playerDamageReq 0 Creature::IsDamageEnoughForLootingAndReward CREATURE ENTRY 23979 . _playerDamageReq 0 . IS DAMAGE ENOUGH? true Creature::IsDamageEnoughForLootingAndReward DeathState 0...

How do we know it is melee-related? Spell hit: 18 -> Get Loot Melee hit: 20 -> No Loot

If someone want to replicate my beautiful logs to debug, here they are https://gist.github.com/Kitzunu/5946a9d78c2bd7358ff04c4ab45246ef

Is it just out of the calender? Because it shouldnt stop as the end time is 2030-01-01 06:00:00

in this case your title should be `fix(DB/Creature)` We use the "base" class, such as Creature/Instance/GameObject/Spell etc. in the second part, never table names 👌