mirror of
https://github.com/CPunch/gopenfusion.git
synced 2025-10-04 08:40:07 +00:00
major refactoring; started DB
- 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
This commit is contained in:
15
config/config.go
Normal file
15
config/config.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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))
|
||||
}
|
Reference in New Issue
Block a user