Core/Object: Range check vol. 2
Port From (https://github.com/TrinityCore/TrinityCore/commit/a13a765610d964a3aa1bab1b41331c05e24a1f78)
This commit is contained in:
@@ -6892,6 +6892,11 @@ namespace Game.Spells
|
||||
|
||||
return SpellCastResult.SpellCastOk;
|
||||
}
|
||||
case LockKeyType.Spell:
|
||||
if (m_spellInfo.Id == lockInfo.Index[j])
|
||||
return SpellCastResult.SpellCastOk;
|
||||
reqKey = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user