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);
|
getAttribute(SharedMonsterAttributes::MOVEMENT_SPEED)->setBaseValue(0.6f);
|
||||||
|
|
||||||
// 4J Stu - Don't make it so far!
|
// 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)
|
float WitherBoss::getHeadYRot(int i)
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ void Zombie::registerAttributes()
|
|||||||
Monster::registerAttributes();
|
Monster::registerAttributes();
|
||||||
|
|
||||||
// 4J Stu - Don't make it so far!
|
// 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::MOVEMENT_SPEED)->setBaseValue(0.23f);
|
||||||
getAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(3);
|
getAttribute(SharedMonsterAttributes::ATTACK_DAMAGE)->setBaseValue(3);
|
||||||
|
|||||||
Reference in New Issue
Block a user