diff --git a/Projects/Server/Mobiles/Mobile.cs b/Projects/Server/Mobiles/Mobile.cs index 33504bed9..39c8277bd 100644 --- a/Projects/Server/Mobiles/Mobile.cs +++ b/Projects/Server/Mobiles/Mobile.cs @@ -230,6 +230,13 @@ public class Mobile : IHued, IComparable, ISpawnable, IObjectPropertyLis " (Order)" }; + private static bool _disableCastParalyze = true; + + public static void Configure() + { + _disableCastParalyze = ServerConfiguration.GetSetting("spellCasting.disableCastParalyze", true); + } + private List _actions; private AccessLevel m_AccessLevel; @@ -6959,7 +6966,7 @@ public class Mobile : IHued, IComparable, ISpawnable, IObjectPropertyLis { var flags = 0x0; - if (m_Paralyzed || m_Frozen || m_Spell?.BlocksMovement == true) + if (m_Paralyzed || m_Frozen || _disableCastParalyze && m_Spell?.BlocksMovement == true) { flags |= 0x01; }