* Some singleton renames for consistency:
accmgr -> AccountMgr objmgr -> ObjectMgr auctionmgr -> sAuctionMgr spellmgr -> sSpellMgr CreatureEAI_Mgr -> sEventAIMgr achievementmgr -> sAchievementMgr gameeventmgr -> sGameEventMgr sInstanceSaveManager -> sInstanceSaveMgr poolhandler -> sPoolMgr --HG-- branch : trunk
This commit is contained in:
1 parent
93fc24ece9
commit
9083271a2f
97 files changed
+1354
-1353
No files matched your search
@@ -117,7 +117,7 @@ void LoadSkillDiscoveryTable()
|
||||
}
|
||||
else if (reqSkillOrSpell == 0) // skill case
|
||||
{
|
||||
SkillLineAbilityMapBounds bounds = spellmgr.GetSkillLineAbilityMapBounds(spellId);
|
||||
SkillLineAbilityMapBounds bounds = sSpellMgr.GetSkillLineAbilityMapBounds(spellId);
|
||||
|
||||
if (bounds.first == bounds.second)
|
||||
{
|
||||
@@ -166,7 +166,7 @@ uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player)
|
||||
if (tab == SkillDiscoveryStore.end())
|
||||
return 0;
|
||||
|
||||
SkillLineAbilityMapBounds bounds = spellmgr.GetSkillLineAbilityMapBounds(spellId);
|
||||
SkillLineAbilityMapBounds bounds = sSpellMgr.GetSkillLineAbilityMapBounds(spellId);
|
||||
uint32 skillvalue = bounds.first != bounds.second ? player->GetSkillValue(bounds.first->second->skillId) : 0;
|
||||
|
||||
float full_chance = 0;
|
||||
|
||||
Reference in new issue
Block a user