summaryrefslogtreecommitdiff
path: root/src/account-server
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-10 00:58:39 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-10 13:36:59 +0200
commit045336a7a85322d7d07f372850802100dac75519 (patch)
tree1e5050d1786c65ecf0ba309aa9773499cf42081b /src/account-server
parent289c0874808d79c995a8bbbe12d19e7245b7fb81 (diff)
downloadmanaserv-045336a7a85322d7d07f372850802100dac75519.tar.gz
manaserv-045336a7a85322d7d07f372850802100dac75519.tar.bz2
manaserv-045336a7a85322d7d07f372850802100dac75519.tar.xz
manaserv-045336a7a85322d7d07f372850802100dac75519.zip
Initialize attribute base and cached modified values
Attributes that didn't get a value yet are not communicated from account to game server. This could leave some attributes with uninitialized (random) values, like the amount of gold or some uncalculated attack speed bonus. Defaulting the value to 0 seems to be appropriate for all current cases. When another default value should be used, it can be specified in attributes.xml and will be sent from the account server. Reviewed-by: Stefan Dombrowski
Diffstat (limited to 'src/account-server')
0 files changed, 0 insertions, 0 deletions