diff options
author | madmaxoft <github@xoft.cz> | 2013-09-03 08:37:15 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-03 08:37:15 +0200 |
commit | 3a921955d94851b4f0148f69f3f0c35a227aa8f5 (patch) | |
tree | 7a19cc7ee486fc58f5f3a6739676d84b2878e27d /source/Entities/ProjectileEntity.h | |
parent | Projectiles slow down in water and lava. (diff) | |
download | cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.gz cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.bz2 cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.lz cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.xz cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.tar.zst cuberite-3a921955d94851b4f0148f69f3f0c35a227aa8f5.zip |
Diffstat (limited to 'source/Entities/ProjectileEntity.h')
-rw-r--r-- | source/Entities/ProjectileEntity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Entities/ProjectileEntity.h b/source/Entities/ProjectileEntity.h index da82c82ea..bd282d7e7 100644 --- a/source/Entities/ProjectileEntity.h +++ b/source/Entities/ProjectileEntity.h @@ -140,6 +140,9 @@ protected: /// The coefficient applied to the damage that the arrow will deal, based on the bow enchantment. 2.0 for normal arrow double m_DamageCoeff; + + /// If true, the arrow deals more damage + bool m_IsCritical; // cProjectileEntity overrides: virtual void SpawnOn(cClientHandle & a_Client) override; |