diff options
| author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:47:13 +0000 |
|---|---|---|
| committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:47:13 +0000 |
| commit | 7e1011ccea542f4bc972c0a9c03eaca4a718566b (patch) | |
| tree | 4ebdde458b132ddb12c737a338e39711eed72534 /src/game-server/testing.cpp | |
| parent | 16faa1f2ead902fd5f883dab487fc4ef4762c45f (diff) | |
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.
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 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); |
