Restore the original follow range for Zombies and Withers (#510)
* Restore original follow range for Zombie * Restore original WitherBoss follow range
This commit is contained in:
@@ -535,7 +535,7 @@ void WitherBoss::registerAttributes()
|
||||
getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.6f);
|
||||
|
||||
// 4J Stu - Don't make it so far!
|
||||
//getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40);
|
||||
getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40);
|
||||
}
|
||||
|
||||
float WitherBoss::getHeadYRot(int i)
|
||||
@@ -581,4 +581,4 @@ MobType WitherBoss::getMobType()
|
||||
void WitherBoss::ride(shared_ptr<Entity> e)
|
||||
{
|
||||
riding = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ void Zombie::registerAttributes()
|
||||
Monster::registerAttributes();
|
||||
|
||||
// 4J Stu - Don't make it so far!
|
||||
//getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40);
|
||||
getAttribute(SharedMonsterAttributes::FOLLOW_RANGE)->setBaseValue(40);
|
||||
|
||||
getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.23f);
|
||||
getAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(3);
|
||||
@@ -490,4 +490,4 @@ Zombie::ZombieGroupData::ZombieGroupData(bool baby, bool villager)
|
||||
{
|
||||
isBaby = baby;
|
||||
isVillager = villager;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user