mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-10 02:20:05 +00:00
CPunch
8569225ec7
- DB work has started in db. this will be a direct port of the OpenFusion DB format. - LoginServer is now less of a dummy. You can create and login to accounts, and create a character to go through the tutorial with. - config.go will host some commonly changed variables. - protocol: fixed a bug relating to arrays being ignored while encoding packets
16 lines
196 B
Go
16 lines
196 B
Go
package config
|
|
|
|
var (
|
|
SPAWN_X = 632032
|
|
SPAWN_Y = 187177
|
|
SPAWN_Z = -5500
|
|
|
|
AEQUIP_COUNT = 9
|
|
AINVEN_COUNT = 50
|
|
ABANK_COUNT = 119
|
|
)
|
|
|
|
func GetMaxHP(level int) int {
|
|
return (925 + 75*(level))
|
|
}
|