From f4dcf871ccef84ff5db353e64141ad280307cadf Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 26 Dec 2017 15:11:23 -0500 Subject: [PATCH] Core/Spells: Fixed proc cooldown --- Source/Game/Spells/SpellManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index da59ac65a..420a9250e 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -1214,6 +1214,8 @@ namespace Game.Entities procEntry.Charges = spellInfo.ProcCharges; if (procEntry.Chance == 0 && procEntry.ProcsPerMinute == 0) procEntry.Chance = spellInfo.ProcChance; + if (procEntry.Cooldown == 0) + procEntry.Cooldown = spellInfo.ProcCooldown; // validate data if (Convert.ToBoolean(procEntry.SchoolMask & ~SpellSchoolMask.All)) @@ -1353,7 +1355,7 @@ namespace Game.Entities procEntry.ProcsPerMinute = 0; procEntry.Chance = spellInfo.ProcChance; - procEntry.Cooldown = 0; + procEntry.Cooldown = spellInfo.ProcCooldown; procEntry.Charges = spellInfo.ProcCharges; mSpellProcMap[spellInfo.Id] = procEntry;