1
0

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:
archshift 2014-06-07 00:40:01 -07:00
parent 87603eb280
commit b768e54ce8
3 changed files with 2 additions and 5 deletions

View File

@ -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)
{ {
} }

View File

@ -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)
{ {
} }

View File

@ -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;
} }