Core/Misc: Fixed player corpse looting, added player corpse loot and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/89f728cd5b6ae3041fdae3c853ac4b0ac5f0a848)
This commit is contained in:
@@ -4046,9 +4046,9 @@ namespace Game.Spells
|
||||
|
||||
SkillType skill = creature.GetCreatureTemplate().GetRequiredLootSkill();
|
||||
|
||||
m_caster.ToPlayer().SendLoot(creature.GetGUID(), LootType.Skinning);
|
||||
creature.RemoveUnitFlag(UnitFlags.Skinnable);
|
||||
creature.AddDynamicFlag(UnitDynFlags.Lootable);
|
||||
m_caster.ToPlayer().SendLoot(creature.GetGUID(), LootType.Skinning);
|
||||
|
||||
if (skill == SkillType.Skinning)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user