mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 03:50:05 +00:00
CPunch
5b2a8b838e
- misc. cleanup - core/db/players.go: works with core.Player types, will also grab inventory table
24 lines
291 B
Go
24 lines
291 B
Go
package config
|
|
|
|
const (
|
|
AEQUIP_COUNT = 9
|
|
AINVEN_COUNT = 50
|
|
ABANK_COUNT = 119
|
|
|
|
NANO_COUNT = 37
|
|
)
|
|
|
|
var (
|
|
SPAWN_X = 632032
|
|
SPAWN_Y = 187177
|
|
SPAWN_Z = -5500
|
|
|
|
LOGIN_PORT = 23000
|
|
SHARD_PORT = 23001
|
|
SHARD_IP = "127.0.0.1"
|
|
)
|
|
|
|
func GetMaxHP(level int) int {
|
|
return (925 + 75*(level))
|
|
}
|