diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index e05264f9f..788d1b66f 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -45,6 +45,7 @@ static const struct {mtCow, "cow", "Cow", "cow"}, {mtCreeper, "creeper", "Creeper", "creeper"}, {mtEnderman, "enderman", "Enderman", "enderman"}, + {mtEndermite, "endermite", "Endermite", "endermite"}, {mtEnderDragon, "enderdragon", "EnderDragon", "ender_dragon"}, {mtGhast, "ghast", "Ghast", "ghast"}, {mtGiant, "giant", "Giant", "giant"}, @@ -653,6 +654,11 @@ void cMonster::KilledBy(TakeDamageInfo & a_TDI) Reward = GetRandomProvider().RandInt(6, 8); break; } + case mtEndermite: + { + Reward = 3; + break; + } case mtBlaze: { Reward = 10; @@ -1286,6 +1292,7 @@ std::unique_ptr<cMonster> cMonster::NewMonsterFromType(eMonsterType a_MobType) case mtCow: return std::make_unique<cCow>(); case mtCreeper: return std::make_unique<cCreeper>(); case mtEnderDragon: return std::make_unique<cEnderDragon>(); + case mtEndermite: return std::make_unique<cEndermite>(); case mtEnderman: return std::make_unique<cEnderman>(); case mtGhast: return std::make_unique<cGhast>(); case mtGiant: return std::make_unique<cGiant>(); |