Open github-actions[bot] opened 4 weeks ago
https://github.com/trymnilsen/kingdomarchitect/blob/b709b7e6d1bb27f0fd76d52b2a77856c4e0e10d6/ts/src/game/component/actor/mob/aggroComponent.ts#L53
const hasAttackJob = jobRunner.activeJob instanceof AttackJob; // TODO: Expand logic to allow switching target if the aggro is larger if (!hasAttackJob) { jobRunner.assignJob( new AttackJob(event.causeEntity, this.damage),
https://github.com/trymnilsen/kingdomarchitect/blob/b709b7e6d1bb27f0fd76d52b2a77856c4e0e10d6/ts/src/game/component/actor/mob/aggroComponent.ts#L53