Core/Items: Implemented item effect trigger type 7 (On Looted)
Port From (https://github.com/TrinityCore/TrinityCore/commit/372c84e998a090185f822a228c407911cbc821f1)
This commit is contained in:
@@ -1746,7 +1746,7 @@ namespace Game.Spells
|
||||
{
|
||||
foreach (var itemEffect in m_CastItem.GetEffects())
|
||||
{
|
||||
if (itemEffect.TriggerType != ItemSpelltriggerType.LearnSpellId)
|
||||
if (itemEffect.TriggerType != ItemSpelltriggerType.OnLearn)
|
||||
continue;
|
||||
|
||||
bool dependent = false;
|
||||
|
||||
Reference in New Issue
Block a user