From ae2c3c18c80ea4bfca70ddf26a525b1bf653b75d Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 22 Feb 2024 16:17:38 -0500 Subject: [PATCH] Misc updates. --- Source/Framework/Database/DatabaseUpdater.cs | 4 ++-- Source/Game/Chat/Commands/MiscCommands.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Framework/Database/DatabaseUpdater.cs b/Source/Framework/Database/DatabaseUpdater.cs index 7e37619bb..341161d7c 100644 --- a/Source/Framework/Database/DatabaseUpdater.cs +++ b/Source/Framework/Database/DatabaseUpdater.cs @@ -37,10 +37,10 @@ namespace Framework.Database fileName = @"/sql/base/characters_database.sql"; break; case "WorldDatabase": - fileName = @"/sql/TDB_full_world_1020.23111_2023_11_15.sql"; + fileName = @"/sql/TDB_full_world_1025.24021_2024_02_08.sql"; break; case "HotfixDatabase": - fileName = @"/sql/TDB_full_hotfixes_1020.23111_2023_11_15.sql"; + fileName = @"/sql/TDB_full_hotfixes_1025.24021_2024_02_08.sql"; break; } diff --git a/Source/Game/Chat/Commands/MiscCommands.cs b/Source/Game/Chat/Commands/MiscCommands.cs index aa6ec683f..de5829183 100644 --- a/Source/Game/Chat/Commands/MiscCommands.cs +++ b/Source/Game/Chat/Commands/MiscCommands.cs @@ -232,7 +232,7 @@ namespace Game.Chat Player attacker = handler.GetSession().GetPlayer(); // flat melee damage without resistence/etc reduction - if (school.HasValue) + if (!school.HasValue) { Unit.DealDamage(attacker, target, damage, null, DamageEffectType.Direct, SpellSchoolMask.Normal, null, false); if (target != attacker)