Core/Items: Classify wands as ranged weapons (fixes wand shooting)

Port From (https://github.com/TrinityCore/TrinityCore/commit/bd87381eab32f0e136675ade503fe70285590803)
This commit is contained in:
Hondacrx
2025-08-17 23:05:05 -04:00
parent 6abf251446
commit 590b5ce1c5
2 changed files with 15 additions and 3 deletions
-1
View File
@@ -2718,7 +2718,6 @@ namespace Game.Entities
public bool IsPotion() { return GetTemplate().IsPotion(); }
public bool IsVellum() { return GetTemplate().IsVellum(); }
public bool IsConjuredConsumable() { return GetTemplate().IsConjuredConsumable(); }
public bool IsRangedWeapon() { return GetTemplate().IsRangedWeapon(); }
public ItemQuality GetQuality() { return _bonusData.Quality; }
public int GetItemStatType(uint index)
{