diff options
Diffstat (limited to 'src/game-server/testing.cpp')
-rw-r--r-- | src/game-server/testing.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game-server/testing.cpp b/src/game-server/testing.cpp index e09f4feb..7243793a 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); |