Scripts/Commands: .learn adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/2319a99d875cd17a1c26ccc756bae73e2faef327)
This commit is contained in:
@@ -91,6 +91,12 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsSpellValid(uint spellId, Player player = null, bool msg = true)
|
||||
{
|
||||
SpellInfo spellInfo = GetSpellInfo(spellId, Difficulty.None);
|
||||
return IsSpellValid(spellInfo, player, msg);
|
||||
}
|
||||
|
||||
public bool IsSpellValid(SpellInfo spellInfo, Player player = null, bool msg = true)
|
||||
{
|
||||
// not exist
|
||||
|
||||
Reference in New Issue
Block a user