|
|
|
|
|
|
|
|
skl = util.ChoiceStr(celSkills) |
|
|
skl = util.ChoiceStr(celSkills) |
|
|
// fmt.Println("Selected Celestial skill: ", skl) |
|
|
// fmt.Println("Selected Celestial skill: ", skl) |
|
|
} |
|
|
} |
|
|
ply.Skills[skl] = ply.Skills[skl] + 1 |
|
|
|
|
|
|
|
|
if ply.Skills[skl] == 6 { |
|
|
|
|
|
i++ |
|
|
|
|
|
} else { |
|
|
|
|
|
ply.Skills[skl] = ply.Skills[skl] + 1 |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} else { // Songs |
|
|
} else { // Songs |
|
|
if rand.Intn(3) == 0 && len(ply.Songs) != 0 { |
|
|
if rand.Intn(3) == 0 && len(ply.Songs) != 0 { |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
skl := util.ChoiceStr(songList) |
|
|
skl := util.ChoiceStr(songList) |
|
|
// fmt.Println("Selected song: ", skl) |
|
|
// fmt.Println("Selected song: ", skl) |
|
|
ply.Songs[skl] = ply.Songs[skl] + 1 |
|
|
|
|
|
|
|
|
if ply.Songs[skl] == 6 { |
|
|
|
|
|
i++ |
|
|
|
|
|
} else { |
|
|
|
|
|
ply.Songs[skl] = ply.Songs[skl] + 1 |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |