1
0
Fork 0

Big Magma Cube can now spawn

Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4.
This commit is contained in:
Tri125 2015-05-06 23:29:36 -04:00 committed by Tristan
parent 63af47832d
commit 9f6192687f
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public:
protected:
/// Size of the MagmaCube, 1 .. 3, with 1 being the smallest
/// Size of the MagmaCube, 1, 2 and 4, with 1 being the smallest
int m_Size;
} ;

View File

@ -886,7 +886,7 @@ cMonster * cMonster::NewMonsterFromType(eMonsterType a_MobType)
{
case mtMagmaCube:
{
toReturn = new cMagmaCube(Random.NextInt(2) + 1);
toReturn = new cMagmaCube(1 << Random.NextInt(3)); // Size 1, 2 or 4
break;
}
case mtSlime: