New solution for attack movement issue.
This commit is contained in:
@ -262,6 +262,7 @@ public class L2PlayerAI extends L2PlayableAI
|
||||
return;
|
||||
}
|
||||
|
||||
clientStopMoving(null);
|
||||
_actor.doAutoAttack((L2Character) target);
|
||||
}
|
||||
|
||||
|
@ -3167,13 +3167,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
*/
|
||||
public void moveToLocation(int x, int y, int z, int offset)
|
||||
{
|
||||
// Do not move while character is attacking or casting.
|
||||
// Fixes player attack glitch while target is moving.
|
||||
if (isAttackingNow() || isCastingNow())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the Move Speed of the L2Charcater
|
||||
final double speed = getMoveSpeed();
|
||||
if ((speed <= 0) || isMovementDisabled())
|
||||
|
Reference in New Issue
Block a user