summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Bat.cpp
blob: 317dc50dc5e483775c4ff41a4a7431ecbda308a5 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                                              

                     
                  
                                                                      
 

                          

                                                  
                                


 

#include "Globals.h"  // NOTE: MSVC stupidness requires this to be the same across all modules

#include "Bat.h"
#include "../Chunk.h"

cBat::cBat(void) :
	super(mtBat,  "entity.bat.hurt", "entity.bat.death", 0.5, 0.9)
{
	SetGravity(-2.0f);
	SetAirDrag(0.05f);
	m_EMPersonality = PASSIVE;
	m_BehaviorWanderer.AttachToMonster(*this);
	GetMonsterConfig("Bat");
}