Addition of fist weapon attack end time.

This commit is contained in:
MobiusDevelopment 2020-01-02 15:27:59 +00:00
parent 19c5e6c552
commit 226879c791
2 changed files with 2 additions and 0 deletions

View File

@ -1022,6 +1022,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
{
if (!isPlayer())
{
_attackEndTime = System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeAtk, TimeUnit.MILLISECONDS);
hitted = doAttackHitSimple(attack, target, timeToHit);
break;
}

View File

@ -1023,6 +1023,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
{
if (!isPlayer())
{
_attackEndTime = System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeAtk, TimeUnit.MILLISECONDS);
hitted = doAttackHitSimple(attack, target, timeToHit);
break;
}