summaryrefslogtreecommitdiffstats
path: root/source/Mobs/IronGolem.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-20 22:02:11 +0200
committermadmaxoft <github@xoft.cz>2013-09-20 22:02:11 +0200
commit5cfc108e8379be84abaa28208e49804033893694 (patch)
treea907473fc536040a6656d08579a3d70f618f0532 /source/Mobs/IronGolem.cpp
parentFixed rounding errors in cProtocol125::SendExplosion(). (diff)
parentFixed pickup block spawning (diff)
downloadcuberite-5cfc108e8379be84abaa28208e49804033893694.tar
cuberite-5cfc108e8379be84abaa28208e49804033893694.tar.gz
cuberite-5cfc108e8379be84abaa28208e49804033893694.tar.bz2
cuberite-5cfc108e8379be84abaa28208e49804033893694.tar.lz
cuberite-5cfc108e8379be84abaa28208e49804033893694.tar.xz
cuberite-5cfc108e8379be84abaa28208e49804033893694.tar.zst
cuberite-5cfc108e8379be84abaa28208e49804033893694.zip
Diffstat (limited to 'source/Mobs/IronGolem.cpp')
-rw-r--r--source/Mobs/IronGolem.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Mobs/IronGolem.cpp b/source/Mobs/IronGolem.cpp
new file mode 100644
index 000000000..42d312c23
--- /dev/null
+++ b/source/Mobs/IronGolem.cpp
@@ -0,0 +1,26 @@
+
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+#include "IronGolem.h"
+
+
+
+
+
+cIronGolem::cIronGolem(void) :
+ super("IronGolem", 99, "mob.IronGolem.hit", "mob.IronGolem.death", 1.4, 2.9)
+{
+}
+
+
+
+
+
+void cIronGolem::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+{
+ AddRandomDropItem(a_Drops, 0, 5, E_ITEM_IRON);
+}
+
+
+
+