示例#1
0
  @Override
  protected void onIntentionActive() {
    if (_actor instanceof L2MerchantSummonInstance) return;

    if (_startFollow) setIntention(AI_INTENTION_FOLLOW, getActor().getOwner());
    else super.onIntentionActive();
  }
示例#2
0
  @Override
  protected void onEvtFinishCasting() {
    if (_actor instanceof L2MerchantSummonInstance) return;

    if (getIntention() != AI_INTENTION_ATTACK) getActor().setFollowStatus(_startFollow);

    super.onEvtFinishCasting();
  }