diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-18 23:17:43 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-18 23:17:43 +0200 |
commit | 3e698d7b72ad7f58a1a2ab787f49c82e096845f6 (patch) | |
tree | cb7ae4dec5750c6e0c5116c80493d2b9e5a4eb52 /source/Mobs/Horse.cpp | |
parent | Implemented redstone comparators (diff) | |
download | cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar.gz cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar.bz2 cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar.lz cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar.xz cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.tar.zst cuberite-3e698d7b72ad7f58a1a2ab787f49c82e096845f6.zip |
Diffstat (limited to 'source/Mobs/Horse.cpp')
-rw-r--r-- | source/Mobs/Horse.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Mobs/Horse.cpp b/source/Mobs/Horse.cpp new file mode 100644 index 000000000..05ac73c15 --- /dev/null +++ b/source/Mobs/Horse.cpp @@ -0,0 +1,26 @@ + +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + +#include "Horse.h" + + + + + +cHorse::cHorse(void) : + super("Horse", 100, "mob.horse.hit", "mob.horse.death", 1.4, 1.6) +{ +} + + + + + +void cHorse::GetDrops(cItems & a_Drops, cEntity * a_Killer) +{ + AddRandomDropItem(a_Drops, 0, 2, E_ITEM_LEATHER); +} + + + + |