Addition of fist weapon attack end time.
This commit is contained in:
parent
19c5e6c552
commit
226879c791
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user