Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum

Port From (https://github.com/TrinityCore/TrinityCore/commit/531afa6bcc485db7c115e5ab5d874bda2cbf642e)
This commit is contained in:
Hondacrx
2025-08-10 17:16:47 -04:00
parent 600b06856a
commit 5096795793
5 changed files with 33 additions and 13 deletions
+1 -1
View File
@@ -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;