047_before 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # before
  2. !Просчет событий на начало раунда.
  3. !У кого защиты, клоны и так далее
  4. set knife = 0
  5. set knifeV = 0
  6. set BonusAtak = 0
  7. set BonusDef = 0
  8. set BonusAtakV = 0
  9. set BonusDefV = 0
  10. !set stunner = 0
  11. !set stunnerV = 0
  12. kisamePro = 0
  13. set round += 1
  14. if tuman > 0: '<font color = green>The battlefield covers your fog. Apparently, he still hold <<tuman>> moves.</font>'
  15. if tumanV > 0: '<font color = red>The battlefield fog covers the enemy. Apparently, he still hold <<tumanV>> moves.</font>'
  16. if stun > 0: '<font color = red>Are you still unable to move.</font>'
  17. if stunV > 0: '<font color = green><<$nameV>> is still unable to move.</font>'
  18. if unmaterialV > 0:
  19. set unmaterialV -= 1
  20. set mannaV -= 20
  21. end
  22. if unmaterial > 0:
  23. set unmaterial -= 1
  24. set manna -= 20
  25. '<font color = green>You do not stand another materiality maximum <<unmaterial>> moves.</font>'
  26. end
  27. if klon > 0:
  28. '<font color = green>You <<klon>> clones that will protect you in case of attack.</font>'
  29. end
  30. if poison > 0:
  31. set healthV -= poison
  32. '<font color = green><<$nameV>> becomes poisoned and <<poison>> units of life.</font>'
  33. set poison -= 1
  34. end
  35. if poisonV > 0:
  36. set health -= poisonV
  37. '<font color = red>You are poisoned and lose <<poisonV>> units of life.</font>'
  38. set poisonV -= 1
  39. end
  40. if blood > 0:
  41. set healthV -= blood
  42. '<font color = green><<$nameV>> becomes <<blood>> units of life from bleeding.</font>'
  43. set blood -= 1
  44. if blood < 0: set blood = 0
  45. end
  46. if bloodV > 0:
  47. set health -= bloodV
  48. '<font color = red>You lose <<bloodV>> units of life from bleeding.</font>'
  49. set bloodV -= 1
  50. if bloodV < 0: set bloodV = 0
  51. end
  52. if dospehEnV <= 0 and dospehV > 0:
  53. set dospehEnV = 0
  54. set dospehV = 0
  55. set dospehDefV = 0
  56. set dospehVesV = 0
  57. '<font color = green>Armor enemy destroyed.</font>'
  58. end
  59. if dospehEn <= 0 and dospeh > 0:
  60. set dospehEn = 0
  61. set dospeh = 0
  62. set dospehDef = 0
  63. set dospehVes = 0
  64. '<font color = red>Your armor destroyed.</font>'
  65. end
  66. if initBonusA > 0: set initBonusA = 0
  67. --- before ---------------------------------