瀏覽代碼

Cap Forces in a realm at 6

master
Noëlle Anthony 5 年之前
父節點
當前提交
b02db287ee
共有 1 個檔案被更改,包括 9 行新增0 行删除
  1. 9
    0
      main.go

+ 9
- 0
main.go 查看文件

@@ -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…
取消
儲存