Misc fixes

This commit is contained in:
hondacrx
2024-02-24 15:18:30 -05:00
parent 9d1589afd4
commit 6abd99260b
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -1422,6 +1422,7 @@ namespace Game.Spells
break; break;
case 71465: // Divine Surge case 71465: // Divine Surge
case 50241: // Evasive Charges case 50241: // Evasive Charges
case 81262: // Efflorescence
_auraState = AuraStateType.RaidEncounter; _auraState = AuraStateType.RaidEncounter;
break; break;
case 6950: // Faerie Fire case 6950: // Faerie Fire
+1 -3
View File
@@ -2279,7 +2279,7 @@ namespace Game
public string GetDBVersion() { return m_DBVersion; } public string GetDBVersion() { return m_DBVersion; }
public string LoadDBVersion() public void LoadDBVersion()
{ {
m_DBVersion = "Unknown world database."; m_DBVersion = "Unknown world database.";
@@ -2290,8 +2290,6 @@ namespace Game
// will be overwrite by config values if different and non-0 // will be overwrite by config values if different and non-0
WorldConfig.SetValue(WorldCfg.ClientCacheVersion, result.Read<uint>(1)); WorldConfig.SetValue(WorldCfg.ClientCacheVersion, result.Read<uint>(1));
} }
return m_DBVersion;
} }
void UpdateAreaDependentAuras() void UpdateAreaDependentAuras()
+3 -1
View File
@@ -149,7 +149,9 @@ namespace WorldServer
// Clean the database before starting // Clean the database before starting
ClearOnlineAccounts(); ClearOnlineAccounts();
Log.outInfo(LogFilter.Server, "Using World DB: {0}", Global.WorldMgr.LoadDBVersion()); Global.WorldMgr.LoadDBVersion();
Log.outInfo(LogFilter.Server, $"Using World DB: {Global.WorldMgr.GetDBVersion()}");
return true; return true;
} }