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 <lokirautio@gmail.com>
This commit is contained in:
FriedMonkeyandLoki authored and GitHub committed 2026-03-06 18:45:22 -06:00
1 parent 2f614a52c2
commit a6699a2e6f
3 files changed
+15 -1

No files matched your search

+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();