Browse Source

Cap Forces in a realm at 6

master
Noëlle Anthony 5 years ago
parent
commit
b02db287ee
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      main.go

+ 9
- 0
main.go View File

@@ -80,10 +80,19 @@ func main() {
for i > 0 {
r := rand.Intn(3)
if r == 0 {
if ply.CorporealForces == 6 {
continue
}
ply.CorporealForces = ply.CorporealForces + 1
} else if r == 1 {
if ply.EtherealForces == 6 {
continue
}
ply.EtherealForces = ply.EtherealForces + 1
} else {
if ply.CelestialForces == 6 {
continue
}
ply.CelestialForces = ply.CelestialForces + 1
}
i--

Loading…
Cancel
Save