diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-12 11:11:10 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-12 13:20:17 +0100 |
commit | 21df3cb0d8a194461bbcec5803c5d6243f254a95 (patch) | |
tree | 77a4d9c9b928c8bca051b5e09a4299ae189201a8 /src/Mobs/Monster.h | |
parent | Merge pull request #2857 from LogicParrot/wolf (diff) | |
download | cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar.gz cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar.bz2 cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar.lz cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar.xz cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.tar.zst cuberite-21df3cb0d8a194461bbcec5803c5d6243f254a95.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 43ea91471..1304863b5 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -101,6 +101,7 @@ public: void SetDropChanceLeggings(float a_DropChanceLeggings) { m_DropChanceLeggings = a_DropChanceLeggings; } void SetDropChanceBoots(float a_DropChanceBoots) { m_DropChanceBoots = a_DropChanceBoots; } void SetCanPickUpLoot(bool a_CanPickUpLoot) { m_CanPickUpLoot = a_CanPickUpLoot; } + void ResetAttackCooldown(); /** Sets whether the mob burns in daylight. Only evaluated at next burn-decision tick */ void SetBurnsInDaylight(bool a_BurnsInDaylight) { m_BurnsInDaylight = a_BurnsInDaylight; } @@ -220,7 +221,7 @@ protected: float m_AttackRate; int m_AttackDamage; int m_AttackRange; - float m_AttackInterval; + int m_AttackCoolDownTicksLeft; int m_SightDistance; float m_DropChanceWeapon; |