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
+6 -4
View File
@@ -47,11 +47,13 @@ namespace Framework.Constants
RacialForThePurposeOfTemporaryRaceChange = 0x8000,
}
public enum AbilityLearnType : int
public enum SkillLineAbilityAcquireMethod : int
{
OnSkillValue = 1, // Spell state will update depending on skill value
OnSkillLearn = 2, // Spell will be learned/removed together with entire skill
RewardedFromQuest = 4 // Learned as quest reward, also re-learned if missing
Learned = 0,
AutomaticSkillRank = 1, // Spell state will update depending on skill value
AutomaticCharLevel = 2, // Spell will be learned/removed together with entire skill
NeverLearned = 3,
LearnedOrAutomaticCharLevel = 4,
}
[Flags]