summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Wither.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-24 11:31:57 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-24 11:31:57 +0200
commit21b23ff1e74d6735801f5aaf7ae1659b8c787f7a (patch)
treed5d606cf69a6f3945bbb8e1c8a80821654a86998 /source/Mobs/Wither.cpp
parentMerge pull request #1 from tigerw/bugfixes (diff)
parentRemoved some unneeded includes (diff)
downloadcuberite-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 'source/Mobs/Wither.cpp')
-rw-r--r--source/Mobs/Wither.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Mobs/Wither.cpp b/source/Mobs/Wither.cpp
new file mode 100644
index 000000000..8b77284c8
--- /dev/null
+++ b/source/Mobs/Wither.cpp
@@ -0,0 +1,26 @@
+
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+#include "Wither.h"
+
+
+
+
+
+cWither::cWither(void) :
+ super("Wither", 64, "mob.wither.hurt", "mob.wither.death", 0.9, 4.0)
+{
+}
+
+
+
+
+
+void cWither::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+{
+ AddRandomDropItem(a_Drops, 1, 1, E_ITEM_NETHER_STAR);
+}
+
+
+
+