From 8418528bb0e48a09d65934a2c0cca0a237c40d25 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 1 Jul 2021 00:07:54 -0400 Subject: [PATCH] oops --- Source/Game/Spells/SpellManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index 7dc4d8785..507709b7c 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -1395,7 +1395,7 @@ namespace Game.Entities // validate data if (Convert.ToBoolean(procEntry.SchoolMask & ~SpellSchoolMask.All)) Log.outError(LogFilter.Sql, "`spell_proc` table entry for spellId {0} has wrong `SchoolMask` set: {1}", spellInfo.Id, procEntry.SchoolMask); - if (procEntry.SpellFamilyName != 0 && Global.DB2Mgr.IsValidSpellFamiliyName(procEntry.SpellFamilyName)) + if (procEntry.SpellFamilyName != 0 && !Global.DB2Mgr.IsValidSpellFamiliyName(procEntry.SpellFamilyName)) Log.outError(LogFilter.Sql, "`spell_proc` table entry for spellId {0} has wrong `SpellFamilyName` set: {1}", spellInfo.Id, procEntry.SpellFamilyName); if (procEntry.Chance < 0) {