1
0

Slime sizes are 1, 2 or 4 and not 1, 2 or 3.

This commit is contained in:
Howaner
2014-07-18 16:55:28 +02:00
parent fba93aac2a
commit 509d3d3b62
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,6 @@
/// Creates a slime of the specified size; size is 1 .. 3, with 1 being the smallest
cSlime::cSlime(int a_Size) :
super("Slime",
mtSlime,
@@ -36,7 +35,8 @@ void cSlime::GetDrops(cItems & a_Drops, cEntity * a_Killer)
LootingLevel = a_Killer->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchantments::enchLooting);
}
if (GetSize() == 1)
// Only slimes with the size 1 can drop slimeballs.
if (m_Size == 1)
{
AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SLIMEBALL);
}