L2SummonAI should set follow status to true when target is set to null.
This commit is contained in:
parent
0484d405ee
commit
acfcb8260d
@ -99,6 +99,7 @@ public class L2SummonAI extends L2PlayableAI implements Runnable
|
||||
if (checkTargetLostOrDead(attackTarget))
|
||||
{
|
||||
setTarget(null);
|
||||
((L2Summon) _actor).setFollowStatus(true);
|
||||
return;
|
||||
}
|
||||
if (maybeMoveToPawn(attackTarget, _actor.getPhysicalAttackRange()))
|
||||
@ -121,6 +122,7 @@ public class L2SummonAI extends L2PlayableAI implements Runnable
|
||||
if (checkTargetLost(target))
|
||||
{
|
||||
setTarget(null);
|
||||
summon.setFollowStatus(true);
|
||||
return;
|
||||
}
|
||||
final boolean val = _startFollow;
|
||||
|
Loading…
Reference in New Issue
Block a user