From 9d3b2d13351baf565ff0ee63767c1eaf6f66e04f Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Thu, 29 Dec 2011 22:55:25 +0000 Subject: - Animals burn now when moving into lava or fire - Monster health is now working properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@157 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cMonsterConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cMonsterConfig.cpp') diff --git a/source/cMonsterConfig.cpp b/source/cMonsterConfig.cpp index 1226c74e2..abb2ca2e7 100644 --- a/source/cMonsterConfig.cpp +++ b/source/cMonsterConfig.cpp @@ -87,7 +87,7 @@ void cMonsterConfig::AssignAttributes(cMonster *m, const char* n) m->SetAttackRange(itr->m_AttackRange); m->SetSightDistance(itr->m_SightDistance); m->SetAttackRate((int)itr->m_AttackRate); - m->SetMaxHealth((int)itr->m_AttackRate); + m->SetMaxHealth((int)itr->m_MaxHealth); } } } -- cgit v1.2.3