fix: Fixes casting by sending ParalyzeFlag to client while animating (#1397)

This commit is contained in:
mark1145 2023-04-28 16:12:07 +10:00 • committed by GitHub
parent ba4c4627c3
commit 55dc4a7da5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 17 deletions

View file

@ -54,7 +54,8 @@ namespace Server.Items
if (canSwing)
{
canSwing = attacker.Spell is not Spell sp || !sp.IsCasting || !sp.BlocksMovement;
// On OSI you can swing + hold a cast at the same time
canSwing = attacker.Spell is not Spell { IsCasting: true, BlocksMovement: true };
}
}