before.qsrc 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 is covered by fog. All the stats go down, it will last for <<tuman>> moves.</font>'
  15. if tumanV > 0:'<font color = red>The battlefield is covered by the fog, you can''t see your enemy. All the stats go down, it will last for <<tumanV>> moves.</font>'
  16. if stun > 0:'<font color = red>You''re still stunned.</font>'
  17. if stunV > 0:'<font color = green><<$boydesc>> is still stunned and 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. pcs_manna = pcs_manna - 20
  25. '<font color = green>You''re unable to withstand the most <<unmaterial>> moves.</font>'
  26. end
  27. if klon > 0:
  28. '<font color = green>You have spawned <<klon>> Clones that will protect you in case of an enemy attack.</font>'
  29. end
  30. if poison > 0:
  31. healthV = healthV - poison
  32. '<font color = green><<$boydesc>> is poisoned and loses <<poison>> life.</font>'
  33. poison = poison - 1
  34. end
  35. if poisonV > 0:
  36. pcs_health = pcs_health - poisonV
  37. '<font color = red>You are poisoned and lose <<poisonV>> life.</font>'
  38. poisonV = poisonV - 1
  39. end
  40. if blood > 0:
  41. healthV = healthV - blood
  42. '<font color = green><<$boydesc>> loses <<blood>> life from bleeding.</font>'
  43. blood = blood - 1
  44. if blood < 0:blood = 0
  45. end
  46. if bloodV > 0:
  47. pcs_health = pcs_health - bloodV
  48. '<font color = red>You lose <<bloodV>> 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>The enemy''s armor is 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 is destroyed.</font>'
  65. end
  66. if initBonusA > 0:initBonusA = 0
  67. --- before ---------------------------------