summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-03-15 23:57:01 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-03-15 23:57:01 +0000
commitc97b885b0306f29b3bf412b7d05752e40eb2c0d4 (patch)
tree554d5792ad0e5475883fa17ceec03f5e301123b8 /src/net
parent4062d2cd386ae67e6901d0f1de953e0a0aa58e68 (diff)
downloadmana-client-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.gz
mana-client-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.bz2
mana-client-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.tar.xz
mana-client-c97b885b0306f29b3bf412b7d05752e40eb2c0d4.zip
Implemented 7 atribute system in character creation.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/accountserver/account.cpp5
-rw-r--r--src/net/accountserver/account.h2
2 files changed, 4 insertions, 3 deletions
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);