Fixed baby zombie hitbox size (#765)

* Added scaling to zombie

i added scaling to zombie based on if its a baby or not

just setting the size does not work you have to set it in the tick (look at the tick for slimes which is a scalable monster)

* add output dir to gitignore

the build output folder is now added to the git ignore

---------

Co-authored-by: Loki <[email protected]>
This commit is contained in:
FriedMonkey
2026-03-06 18:45:22 -06:00
committed by GitHub
co-authored by Loki
parent 2f614a52c2
commit a6699a2e6f
3 changed files with 15 additions and 1 deletions
+1
View File
@@ -60,6 +60,7 @@ public:
virtual bool hurt(DamageSource *source, float dmg);
virtual void tick();
virtual bool doHurtTarget(shared_ptr<Entity> target);
virtual void updateSize(bool isBaby);
protected:
virtual int getAmbientSound();