Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/531afa6bcc485db7c115e5ab5d874bda2cbf642e)
This commit is contained in:
@@ -125,7 +125,7 @@ namespace Game.Entities
|
||||
var skills = Global.SpellMgr.GetSkillLineAbilityMapBounds(learned_0);
|
||||
foreach (var skillLine in skills)
|
||||
{
|
||||
if (skillLine.AcquireMethod == AbilityLearnType.RewardedFromQuest)
|
||||
if (skillLine.AcquireMethod == SkillLineAbilityAcquireMethod.LearnedOrAutomaticCharLevel)
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user