Core/DataStores: Convert SkillLineAbilityAcquireMethod to enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/531afa6bcc485db7c115e5ab5d874bda2cbf642e)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user