Fixes OnUse Items

This commit is contained in:
hondacrx
2022-06-22 16:21:56 -04:00
parent 86d7394010
commit 968190584d
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1498,7 +1498,7 @@ namespace Game.Entities
foreach (ItemEffectRecord effectData in item.GetEffects())
{
// wrong triggering type
if (effectData.TriggerType != ItemSpelltriggerType.OnProc)
if (effectData.TriggerType != ItemSpelltriggerType.OnUse)
continue;
SpellInfo spellInfo = Global.SpellMgr.GetSpellInfo((uint)effectData.SpellID, Difficulty.None);