diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-22 19:55:46 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-22 20:16:27 +0100 |
commit | 439b3304f4c82448b0e1585f8641503691212cac (patch) | |
tree | 706035da78a49c971f6d3bf3d812582581ce93a4 /src/Entities/Entity.h | |
parent | Merge pull request #2894 from LogicParrot/spider (diff) | |
download | cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar.gz cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar.bz2 cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar.lz cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar.xz cuberite-439b3304f4c82448b0e1585f8641503691212cac.tar.zst cuberite-439b3304f4c82448b0e1585f8641503691212cac.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index fdc5437b3..3715fb5c4 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -263,6 +263,9 @@ public: /** Makes this entity take the specified damage. The final damage is calculated using current armor, then DoTakeDamage() called */ void TakeDamage(eDamageType a_DamageType, cEntity * a_Attacker, int a_RawDamage, double a_KnockbackAmount); + /** Makes this entity take the specified damage. The final damage is calculated using current armor, then DoTakeDamage() called */ + void TakeDamage(eDamageType a_DamageType, UInt32 a_Attacker, int a_RawDamage, double a_KnockbackAmount); + /** Makes this entity take the specified damage. The values are packed into a TDI, knockback calculated, then sent through DoTakeDamage() */ void TakeDamage(eDamageType a_DamageType, cEntity * a_Attacker, int a_RawDamage, int a_FinalDamage, double a_KnockbackAmount); |