Sync with L2jServer HighFive Mar 1st 2015.
This commit is contained in:
@@ -94,11 +94,11 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
|
||||
|
||||
/**
|
||||
* Constructor of L2AttackableAI.
|
||||
* @param accessor The AI accessor of the L2Character
|
||||
* @param creature the creature
|
||||
*/
|
||||
public L2AttackableAI(L2Character.AIAccessor accessor)
|
||||
public L2AttackableAI(L2Attackable creature)
|
||||
{
|
||||
super(accessor);
|
||||
super(creature);
|
||||
_skillrender = NpcData.getInstance().getTemplate(getActiveChar().getTemplate().getId());
|
||||
_attackTimeout = Integer.MAX_VALUE;
|
||||
_globalAggro = -10; // 10 seconds timeout of ATTACK after respawn
|
||||
@@ -352,7 +352,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
|
||||
}
|
||||
|
||||
// Cancel the AI
|
||||
_accessor.detachAI();
|
||||
_actor.detachAI();
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -405,7 +405,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
|
||||
}
|
||||
clientStopMoving(null);
|
||||
setIntention(AI_INTENTION_ACTIVE);
|
||||
_accessor.doCast(_skill);
|
||||
_actor.doCast(_skill);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1280,7 +1280,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
|
||||
}
|
||||
}
|
||||
|
||||
_accessor.doAttack(getAttackTarget());
|
||||
_actor.doAttack(getAttackTarget());
|
||||
}
|
||||
|
||||
private boolean cast(Skill sk)
|
||||
|
Reference in New Issue
Block a user