// tasks.addTask(2, new EntityAIOwnerHurtByTarget(this));
// tasks.addTask(2, new EntityAIOwnerHurtTarget(this));
// tasks.addTask(2, new EntityAIHurtByTarget(this, true));
// tasks.addTask(2, new EntityAIMagic(this, moveSpeed,
// Magic.staves.get(2).shiftedIndex, 60));
tasks.addTask(2, new EntityAILeapAtTarget(this, 0.4F));
// tasks.addTask(2, new EntityAIAttackOnCollide(this, moveSpeed, true));
tasks.addTask(2, new EntityAIMagic(this, moveSpeed, Magic.staves.get(2).shiftedIndex, 60));
tasks.addTask(4, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
tasks.addTask(6, new EntityAIWander(this, moveSpeed));
targetTasks.addTask(2, new EntityAIOwnerHurtByTarget(this));