diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-24 11:31:57 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-24 11:31:57 +0200 |
commit | 21b23ff1e74d6735801f5aaf7ae1659b8c787f7a (patch) | |
tree | d5d606cf69a6f3945bbb8e1c8a80821654a86998 /source/Mobs/Giant.cpp | |
parent | Merge pull request #1 from tigerw/bugfixes (diff) | |
parent | Removed some unneeded includes (diff) | |
download | cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar.gz cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar.bz2 cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar.lz cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar.xz cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.tar.zst cuberite-21b23ff1e74d6735801f5aaf7ae1659b8c787f7a.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Giant.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source/Mobs/Giant.cpp b/source/Mobs/Giant.cpp new file mode 100644 index 000000000..a02758a43 --- /dev/null +++ b/source/Mobs/Giant.cpp @@ -0,0 +1,27 @@ + +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + +#include "Giant.h" + + + + + +cGiant::cGiant(void) : + // TODO: The size is only a guesstimate, measure in vanilla and fix the size values here + super("Giant", 53, "mob.zombie.hurt", "mob.zombie.death", 2.0, 13.5) +{ +} + + + + + +void cGiant::GetDrops(cItems & a_Drops, cEntity * a_Killer) +{ + AddRandomDropItem(a_Drops, 10, 50, E_ITEM_ROTTEN_FLESH); +} + + + + |