From 5d00247cce71aae67660623799b66f51bce2b88a Mon Sep 17 00:00:00 2001 From: DarkoGNU <42816979+DarkoGNU@users.noreply.github.com> Date: Sat, 7 May 2022 01:24:50 +0200 Subject: Implement ranged attack for snow golems. Fix failed assertion (#5417) * Implement ranged attack for snow golemas. Fix failed assertion when stopping the server * Decrease snowball speed * Adjust accuracy for snow golems * Use a getter instead of m_World --- src/Mobs/SnowGolem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Mobs/SnowGolem.h') diff --git a/src/Mobs/SnowGolem.h b/src/Mobs/SnowGolem.h index 8504965cb..6c6e88868 100644 --- a/src/Mobs/SnowGolem.h +++ b/src/Mobs/SnowGolem.h @@ -20,6 +20,7 @@ public: virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; + virtual bool Attack(std::chrono::milliseconds a_Dt) override; } ; -- cgit v1.2.3