summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-26 19:11:43 +0100
committerGitHub <noreply@github.com>2020-03-26 19:11:43 +0100
commit2b32bb0b1928704499aa187ed3bff7433264e742 (patch)
treea006bdd241531e99a20b085d2f94957bd3aa0222 /src/Mobs/Monster.cpp
parentImprovements to blaze and ghast (#4547) (diff)
downloadcuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar.gz
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar.bz2
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar.lz
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar.xz
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.tar.zst
cuberite-2b32bb0b1928704499aa187ed3bff7433264e742.zip
Diffstat (limited to 'src/Mobs/Monster.cpp')
-rw-r--r--src/Mobs/Monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 7c57e4f2d..233ca70b3 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -883,7 +883,7 @@ void cMonster::InStateEscaping(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
void cMonster::ResetAttackCooldown()
{
- m_AttackCoolDownTicksLeft = static_cast<int>(3 * 20 * m_AttackRate); // A second has 20 ticks, an attack rate of 1 means 1 hit every 3 seconds
+ m_AttackCoolDownTicksLeft = static_cast<int>(20 * m_AttackRate); // A second has 20 ticks, an attack rate of 1 means 1 hit every second
}