Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when deciding if a creature counts as a "gives experience or honor" target.
Port From (https://github.com/TrinityCore/TrinityCore/commit/abc490f677607cbe488557ea859da970686c4c3d)
This commit is contained in:
@@ -5198,7 +5198,7 @@ namespace Game.Entities
|
||||
Creature creature = victim.ToCreature();
|
||||
if (creature != null)
|
||||
{
|
||||
if (!creature.CanGiveExperience())
|
||||
if (creature.IsCritter() || creature.IsTotem())
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user