Active intention for monsters on spawn.

Contributed by sinsegi001.
This commit is contained in:
MobiusDevelopment
2019-10-16 09:38:49 +00:00
parent 2b350687b5
commit 917f6a7b9b
17 changed files with 55 additions and 0 deletions

View File

@ -1394,6 +1394,9 @@ public class Attackable extends Npc
// Clear all aggro list and overhit
clearAggroList();
// Set the intention of the Attackable to AI_INTENTION_ACTIVE
getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE);
// Clear Harvester reward
_harvestItem.set(null);
_sweepItems.set(null);