Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4acae3992bfecf85d68c0860007f7c538ca45a90)
This commit is contained in:
@@ -42,7 +42,8 @@ namespace Framework.Constants
|
||||
public enum AbilityLearnType : byte
|
||||
{
|
||||
OnSkillValue = 1, // Spell state will update depending on skill value
|
||||
OnSkillLearn = 2 // Spell will be learned/removed together with entire skill
|
||||
OnSkillLearn = 2, // Spell will be learned/removed together with entire skill
|
||||
RewardedFromQuest = 4 // Learned as quest reward, also re-learned if missing
|
||||
}
|
||||
|
||||
public enum Anim
|
||||
|
||||
Reference in New Issue
Block a user