1
0

Reduced most mobs' constructors to oneliners by passing parameters to superclasses

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2012-12-22 09:39:13 +00:00
parent 48c00fdaee
commit aebe130299
38 changed files with 122 additions and 236 deletions

View File

@@ -7,12 +7,9 @@
cSkeleton::cSkeleton(void)
cSkeleton::cSkeleton(void) :
super("Skeleton", 51, "mob.skeleton.hurt", "mob.skeleton.death")
{
m_MobType = 51;
m_SoundHurt = "mob.skeleton.hurt";
m_SoundDeath = "mob.skeleton.death";
GetMonsterConfig("Skeleton");
}