fix: Fixes casting by sending ParalyzeFlag to client while animating (#1397)
This commit is contained in:
parent
ba4c4627c3
commit
55dc4a7da5
4 changed files with 31 additions and 17 deletions
|
|
@ -33,6 +33,7 @@ public interface IHued
|
|||
|
||||
public interface ISpell
|
||||
{
|
||||
bool BlocksMovement { get; }
|
||||
bool IsCasting { get; }
|
||||
void OnCasterHurt();
|
||||
void OnCasterKilled();
|
||||
|
|
|
|||
|
|
@ -6959,7 +6959,7 @@ public class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPropertyLis
|
|||
{
|
||||
var flags = 0x0;
|
||||
|
||||
if (m_Paralyzed || m_Frozen)
|
||||
if (m_Paralyzed || m_Frozen || m_Spell?.BlocksMovement == true)
|
||||
{
|
||||
flags |= 0x01;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue