1
0

Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters

This commit is contained in:
TheJumper
2014-02-23 19:44:58 +01:00
parent 8716263238
commit 2cc597372a
29 changed files with 515 additions and 40 deletions

View File

@@ -19,7 +19,10 @@ cMagmaCube::cMagmaCube(int a_Size) :
void cMagmaCube::GetDrops(cItems & a_Drops, cEntity * a_Killer)
{
AddRandomDropItem(a_Drops, 0, 1, E_ITEM_MAGMA_CREAM);
if (GetSize() > 1)
{
AddRandomUncommonDropItem(a_Drops, 25.0f, E_ITEM_MAGMA_CREAM);
}
}