...
 
Commits (1)
...@@ -194,6 +194,14 @@ func runHackTrace(user string, target string, initializedActors []libs.ActorS) s ...@@ -194,6 +194,14 @@ func runHackTrace(user string, target string, initializedActors []libs.ActorS) s
// return "NO" // return "NO"
return "OK" return "OK"
} }
func battleTrace() {
//TODO battle system
seed := time.Now().UnixNano()
rand.Seed(seed)
//This is seeded at the start of every battle,
//Though another option is seeding it at server boot
//A wizcommand to re-seed will help with randomization
}
func runBattleTrace(user string, target string, initializedActors []libs.ActorS) string { func runBattleTrace(user string, target string, initializedActors []libs.ActorS) string {
userList := strings.Split(user, ":") userList := strings.Split(user, ":")
......