diff options
author | madmaxoft <github@xoft.cz> | 2013-09-20 22:02:11 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-20 22:02:11 +0200 |
commit | 5cfc108e8379be84abaa28208e49804033893694 (patch) | |
tree | a907473fc536040a6656d08579a3d70f618f0532 /source/Mobs/SnowGolem.cpp | |
parent | Fixed rounding errors in cProtocol125::SendExplosion(). (diff) | |
parent | Fixed pickup block spawning (diff) | |
download | cuberite-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/SnowGolem.cpp')
-rw-r--r-- | source/Mobs/SnowGolem.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source/Mobs/SnowGolem.cpp b/source/Mobs/SnowGolem.cpp new file mode 100644 index 000000000..51125542d --- /dev/null +++ b/source/Mobs/SnowGolem.cpp @@ -0,0 +1,26 @@ + +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules + +#include "SnowGolem.h" + + + + + +cSnowGolem::cSnowGolem(void) : + super("SnowGolem", 97, "", "", 0.4, 1.8) +{ +} + + + + + +void cSnowGolem::GetDrops(cItems & a_Drops, cEntity * a_Killer) +{ + AddRandomDropItem(a_Drops, 0, 5, E_ITEM_SNOWBALL); +} + + + + |