Core.TickCount for some AI actions

Correction in NewAsyncSockets
This commit is contained in:
Mark Sturgill 2013-10-06 17:21:40 -07:00
parent 92aeef0297
commit be920e0c31
5 changed files with 19 additions and 17 deletions

View file

@ -49,7 +49,7 @@ namespace Server.Items
{
BaseWeapon.InDoubleStrike = true;
attacker.RevealingAction();
attacker.NextCombatTime = Core.TickCount + weapon.OnSwing(attacker, defender).TotalMilliseconds;
attacker.NextCombatTime = Core.TickCount + (int)weapon.OnSwing(attacker, defender).TotalMilliseconds;
BaseWeapon.InDoubleStrike = false;
}
}