// 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));
targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
targetTasks.addTask(2, new EntityAIHurtByTarget(this, true));
}