From 7e1011ccea542f4bc972c0a9c03eaca4a718566b Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 15 Mar 2007 23:47:13 +0000 Subject: Set the default map position of new characters to a value that makes more sense. Implemented new basic attribute system on account server. Removed attribute modifiers, unified basic and derived attributes, storing attributes in a vector, renamed some attribute identifiers, removed identifiers for derived attributes that aren't needed yet. --- src/game-server/testing.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/game-server/testing.cpp') diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp index e09f4fe..7243793 100644 --- a/src/game-server/testing.cpp +++ b/src/game-server/testing.cpp @@ -41,12 +41,9 @@ void testingMap(int id) being->setSize(8); // some bogus stats for testing - being->setCompoundAttribute(ATT_HP_MAXIMUM, 42); - being->setCompoundAttribute(ATT_PHYSICAL_ATTACK_MINIMUM, 1); - being->setCompoundAttribute(ATT_PHYSICAL_ATTACK_FLUCTUATION, 0); - being->setCompoundAttribute(ATT_PHYSICAL_DEFENCE, 5); + being->setAttribute(BASE_ATTR_VITALITY, 10); - being->setHitpoints(42); + being->fillHitpoints(); being->setMapId(1); Point pos(720, 900); -- cgit