Decrease attack cooldown for monsters (#4542)

* Decrease attack cooldown for monsters

* Nerf some mobs

* Decimal points
This commit is contained in:
Mat
2020-03-26 20:11:43 +02:00
committed by GitHub
parent 84f86a467e
commit 2b32bb0b19
2 changed files with 31 additions and 32 deletions
+1 -1
View File
@@ -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
}