2011-10-25 19:46:01 -04:00
|
|
|
#include "cSquid.h"
|
|
|
|
|
|
|
|
cSquid::cSquid()
|
|
|
|
{
|
|
|
|
m_MobType = 94;
|
|
|
|
GetMonsterConfig("Squid");
|
|
|
|
}
|
|
|
|
|
|
|
|
cSquid::~cSquid()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cSquid::IsA( const char* a_EntityType )
|
|
|
|
{
|
|
|
|
if( strcmp( a_EntityType, "cSquid" ) == 0 ) return true;
|
|
|
|
return cMonster::IsA( a_EntityType );
|
|
|
|
}
|
|
|
|
|
|
|
|
void cSquid::KilledBy( cEntity* a_Killer )
|
|
|
|
{
|
2011-12-21 15:42:34 -05:00
|
|
|
//Drops 0-3 Ink Sacs
|
|
|
|
cMonster::RandomDropItem(E_ITEM_DYE, 0, 3);
|
|
|
|
|
2011-10-25 19:46:01 -04:00
|
|
|
cMonster::KilledBy( a_Killer );
|
|
|
|
}
|