before 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # before
  2. !Calculating the events at the beginning of round.
  3. !Who protection, clones, etc.
  4. knife = 0
  5. knifeV = 0
  6. BonusAtak = 0
  7. BonusDef = 0
  8. BonusAtakV = 0
  9. BonusDefV = 0
  10. !stunner = 0
  11. !stunnerV = 0
  12. kisamePro = 0
  13. round = round + 1
  14. if tuman > 0:'<font color = green>The battlefield covers your fog. All appearances, it will last for <<tuman>> moves.</font>'
  15. if tumanV > 0:'<font color = red>The battlefield fog covers the enemy. All appearances, it will last for <<tumanV>> moves.</font>'
  16. if stun > 0:'<font color = red>Are you still unable to move.</font>'
  17. if stunV > 0:'<font color = green><<$boy>> still unable to move.</font>'
  18. if unmaterialV > 0:
  19. unmaterialV = unmaterialV - 1
  20. mannaV = mannaV - 20
  21. end
  22. if unmaterial > 0:
  23. unmaterial = unmaterial - 1
  24. manna = manna - 20
  25. '<font color = green>Your physicality not withstand even the most <<unmaterial>> moves.</font>'
  26. end
  27. if klon > 0:
  28. '<font color = green>You have <<klon>> Clones that will protect you in case of enemy attack.</font>'
  29. end
  30. if poison > 0:
  31. healthV = healthV - poison
  32. '<font color = green><<$boy>> poisoned and loses <<poison>> units of life.</font>'
  33. poison = poison - 1
  34. end
  35. if poisonV > 0:
  36. health = health - poisonV
  37. '<font color = red>You poisoned and lose <<poisonV>> units of life.</font>'
  38. poisonV = poisonV - 1
  39. end
  40. if blood > 0:
  41. healthV = healthV - blood
  42. '<font color = green><<$boy>> loses <<blood>> units of life from bleeding.</font>'
  43. blood = blood - 1
  44. if blood < 0:blood = 0
  45. end
  46. if bloodV > 0:
  47. health = health - bloodV
  48. '<font color = red>You lose <<bloodV>> units of life from bleeding.</font>'
  49. bloodV = bloodV - 1
  50. if bloodV < 0:bloodV = 0
  51. end
  52. if dospehEnV <= 0 and dospehV > 0:
  53. dospehEnV = 0
  54. dospehV = 0
  55. dospehDefV = 0
  56. dospehVesV = 0
  57. '<font color = green>Armor enemy destroyed.</font>'
  58. end
  59. if dospehEn <= 0 and dospeh > 0:
  60. dospehEn = 0
  61. dospeh = 0
  62. dospehDef = 0
  63. dospehVes = 0
  64. '<font color = red>Your armor destroyed.</font>'
  65. end
  66. if initBonusA > 0:initBonusA = 0
  67. --- before ---------------------------------