summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Giant.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-18 23:17:43 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-18 23:17:43 +0200
commit3e698d7b72ad7f58a1a2ab787f49c82e096845f6 (patch)
treecb7ae4dec5750c6e0c5116c80493d2b9e5a4eb52 /source/Mobs/Giant.cpp
parentImplemented redstone comparators (diff)
downloadcuberite-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/Giant.cpp')
-rw-r--r--source/Mobs/Giant.cpp27
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);
+}
+
+
+
+