aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-02-20 13:51:31 +0100
committerShauren <shauren.trinity@gmail.com>2025-02-20 13:51:31 +0100
commit48baec04dfd3b654c945df9b4fc2e8feadad760a (patch)
tree120919e161e59c437fbbdbf827b953a1cb0168d4 /src/server/game/Spells/SpellMgr.cpp
parent375b43ee9e4bcfa6174939972884fbfca42e9b37 (diff)
Core/Players: Fixed wrong spell id of Seal of Righteousness being given to players who don't know Judgement of Light
Closes #30642
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 3dfd8dc16e4..a31d6fcbaab 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -1973,6 +1973,10 @@ void SpellMgr::LoadSkillLineAbilityMap()
++count;
}
+ // Don't autolearn secondary variant of Seal of Righteousness - it is learned together with Judgement of Light
+ if (SkillLineAbilityEntry* sealOfRighteousnessR2 = const_cast<SkillLineAbilityEntry*>(sSkillLineAbilityStore.LookupEntry(11957)))
+ sealOfRighteousnessR2->AcquireMethod = 0;
+
TC_LOG_INFO("server.loading", ">> Loaded {} SkillLineAbility MultiMap Data in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
}