summaryrefslogtreecommitdiffstats
path: root/source/BlockID.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-01 20:06:49 +0200
committermadmaxoft <github@xoft.cz>2013-09-01 20:06:49 +0200
commit0dec48d4969bc1973b228c09f6d38d4d63a0a005 (patch)
tree349d5ec9467a6099e32c9572d435dcf85563e9bf /source/BlockID.h
parentAdded line collision calculation to cBoundingBox. (diff)
downloadcuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar.gz
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar.bz2
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar.lz
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar.xz
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.tar.zst
cuberite-0dec48d4969bc1973b228c09f6d38d4d63a0a005.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/BlockID.h b/source/BlockID.h
index b7e9f3779..00aeff4d6 100644
--- a/source/BlockID.h
+++ b/source/BlockID.h
@@ -647,6 +647,7 @@ enum eDamageType
{
// Canonical names for the types (as documented in the plugin wiki):
dtAttack, // Being attacked by a mob
+ dtRangedAttack, // Being attacked by a projectile, possibly from a mob
dtLightning, // Hit by a lightning strike
dtFalling, // Falling down; dealt when hitting the ground
dtDrowning, // Drowning in water / lava
@@ -667,6 +668,9 @@ enum eDamageType
dtEntityAttack = dtAttack,
dtMob = dtAttack,
dtMobAttack = dtAttack,
+ dtArrowAttack = dtRangedAttack,
+ dtArrow = dtRangedAttack,
+ dtProjectile = dtRangedAttack,
dtFall = dtFalling,
dtDrown = dtDrowning,
dtSuffocation = dtSuffocating,