Fixed mob hitbox sizes, removed TODOs
Measured bat and blaze in vanilla, updated values. Cavespiders are, in fact, passive in the day.
This commit is contained in:
parent
87603eb280
commit
b768e54ce8
@ -7,8 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
cBat::cBat(void) :
|
cBat::cBat(void) :
|
||||||
// TODO: The size is only a guesstimate, measure in vanilla and fix the size values here
|
super("Bat", mtBat, "mob.bat.hurt", "mob.bat.death", 0.5, 0.9)
|
||||||
super("Bat", mtBat, "mob.bat.hurt", "mob.bat.death", 0.7, 0.7)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
|
|
||||||
|
|
||||||
cBlaze::cBlaze(void) :
|
cBlaze::cBlaze(void) :
|
||||||
// TODO: The size is only a guesstimate, measure in vanilla and fix the size values here
|
super("Blaze", mtBlaze, "mob.blaze.hit", "mob.blaze.death", 0.6, 1.8)
|
||||||
super("Blaze", mtBlaze, "mob.blaze.hit", "mob.blaze.death", 0.7, 1.8)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ void cCaveSpider::Tick(float a_Dt, cChunk & a_Chunk)
|
|||||||
{
|
{
|
||||||
super::Tick(a_Dt, a_Chunk);
|
super::Tick(a_Dt, a_Chunk);
|
||||||
|
|
||||||
// TODO: Check vanilla if cavespiders really get passive during the day / in daylight
|
|
||||||
m_EMPersonality = (GetWorld()->GetTimeOfDay() < (12000 + 1000)) ? PASSIVE : AGGRESSIVE;
|
m_EMPersonality = (GetWorld()->GetTimeOfDay() < (12000 + 1000)) ? PASSIVE : AGGRESSIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user