From 92aeef0297c6c406f3f8d2e07fcdc6d3712b70c5 Mon Sep 17 00:00:00 2001 From: Mark Sturgill Date: Sun, 6 Oct 2013 15:10:51 -0700 Subject: [PATCH] cast disturb recovery fix --- Scripts/Spells/Base/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Spells/Base/Spell.cs b/Scripts/Spells/Base/Spell.cs index 7674b4e56..ddedd4f0e 100644 --- a/Scripts/Spells/Base/Spell.cs +++ b/Scripts/Spells/Base/Spell.cs @@ -633,7 +633,7 @@ namespace Server.Spells if ( Core.AOS ) return TimeSpan.Zero; - double delay = 1.0 - Math.Sqrt((Core.TickCount - m_StartCastTime) / 1000 / GetCastDelay().TotalSeconds); + double delay = 1.0 - Math.Sqrt((Core.TickCount - m_StartCastTime) / 1000.0 / GetCastDelay().TotalSeconds); if ( delay < 0.2 ) delay = 0.2;