Core/Loot: Implemented dungeon encounter personal loot

Port From (https://github.com/TrinityCore/TrinityCore/commit/010e6f7f49744b16e3ecececb7d9605f8b8db4d5)
This commit is contained in:
hondacrx
2022-10-26 01:36:15 -04:00
parent 32960df381
commit 744e9c1c19
9 changed files with 314 additions and 115 deletions
@@ -335,6 +335,8 @@ namespace Game.Entities
public bool IsWeapon() { return GetClass() == ItemClass.Weapon; }
public bool IsArmor() { return GetClass() == ItemClass.Armor; }
public bool IsRangedWeapon()
{
return IsWeapon() && (GetSubClass() == (uint)ItemSubClassWeapon.Bow ||