1
0

generation.qsrc 411 B

123456789101112131415161718192021222324
  1. # generation
  2. y = 0
  3. :markmonthfightx
  4. y += 1
  5. :markturnirotbory
  6. x = 0
  7. :markturnirotborz
  8. x += 1
  9. turnirFighter[x] = rand(2, NPCrost)
  10. if x < 2:jump 'markturnirotborz'
  11. if turnirFighter[1] = turnirFighter[2]:jump 'markturnirotbory'
  12. a = turnirFighter[1]
  13. i = turnirFighter[2]
  14. gs 'Autofight'
  15. turnirFighter[1] = 0
  16. turnirFighter[2] = 0
  17. if y < 20:jump 'markmonthfightx'
  18. --- generation ---------------------------------