diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:57:01 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:57:01 +0000 |
commit | c97b885b0306f29b3bf412b7d05752e40eb2c0d4 (patch) | |
tree | 554d5792ad0e5475883fa17ceec03f5e301123b8 /src | |
parent | 4062d2cd386ae67e6901d0f1de953e0a0aa58e68 (diff) | |
download | mana-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.gz mana-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.bz2 mana-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.xz mana-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.zip |
Implemented 7 atribute system in character creation.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/char_select.cpp | 3 | ||||
-rw-r--r-- | src/net/accountserver/account.cpp | 5 | ||||
-rw-r--r-- | src/net/accountserver/account.h | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index d5a28bec..2e994448 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -332,7 +332,8 @@ void CharCreateDialog::action(const gcn::ActionEvent &event) 10, // VIT 10, // INT 10, // DEX - 10); // LUK + 10, // WILL + 10); // CHAR scheduleDelete(); } else { diff --git a/src/net/accountserver/account.cpp b/src/net/accountserver/account.cpp index 16f81f44..a90f75b8 100644 --- a/src/net/accountserver/account.cpp +++ b/src/net/accountserver/account.cpp @@ -32,7 +32,7 @@ void Net::AccountServer::Account::createCharacter( const std::string &name, char hairStyle, char hairColor, char gender, short strength, short agility, short vitality, - short intelligence, short dexterity, short luck) + short intelligence, short dexterity, short willpower, short charisma) { MessageOut msg(PAMSG_CHAR_CREATE); @@ -45,7 +45,8 @@ void Net::AccountServer::Account::createCharacter( msg.writeShort(vitality); msg.writeShort(intelligence); msg.writeShort(dexterity); - msg.writeShort(luck); + msg.writeShort(willpower); + msg.writeShort(charisma); Net::AccountServer::connection->send(msg); } diff --git a/src/net/accountserver/account.h b/src/net/accountserver/account.h index d3c84a15..8af75eb9 100644 --- a/src/net/accountserver/account.h +++ b/src/net/accountserver/account.h @@ -35,7 +35,7 @@ namespace Net void createCharacter(const std::string &name, char hairStyle, char hairColor, char gender, short strength, short agility, short vitality, - short intelligence, short dexterity, short luck); + short intelligence, short dexterity, short willpower, short charisma); void deleteCharacter(char slot); |