065_Kikatak 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. # Kikatak
  2. <<<<<<< 065_Kikatak
  3. if $ARGS[0] = 'player':
  4. set defsumV = agilV + reaktV + KikDefV
  5. set defkofV = defsumV * 20/100
  6. set defV = RAND(defsumV - defkofV, defsumV + defkofV)
  7. if popad >= defV * 2:
  8. '<B><font color = green>CRETE</font></B>'
  9. set damageKrit = damage * 20/100
  10. set damage += damageKrit
  11. set healthV -= damage
  12. set pointKik += 1
  13. '<font color = green>You applied <<damage>> points of damage</font>'
  14. if damage >= healthV * 20/100:
  15. set pointKik += 1
  16. '<font color = green><<$nameV>> fell to the ring</font>'
  17. if healthV < (vitalV*10 + strenV*5)/4:
  18. '<font color = green><<$nameV>> in a knockout. This is a victory!</font>'
  19. xgt 'enderKik','winKO'
  20. exit
  21. end
  22. end
  23. end
  24. if popad < defV*2 and popad >= defV:
  25. '<font color = green>Contact</font>'
  26. set healthV -= damage
  27. set pointKik += 1
  28. '<font color = green>You applied <<damage>> points of damage</font>'
  29. if damage >= healthV * 20/100:
  30. set pointKik += 1
  31. '<font color = green><<$nameV>> fell to the ring</font>'
  32. if healthV < (vitalV*10 + strenV*5)/4:
  33. '<font color = green><<$nameV>> in a knockout. This is a victory!</font>'
  34. xgt 'enderKik','winKO'
  35. exit
  36. end
  37. end
  38. end
  39. if popad < defV:
  40. '<font color = red>Slip</font>'
  41. end
  42. =======
  43. if $ARGS[0]='player':
  44. set defsumV = agilV + reaktV + KikDefV
  45. set defkofV = defsumV*20/100
  46. set defV = RAND (defsumV - defkofV,defsumV + defkofV)
  47. if popad >= defV*2:
  48. '<B><font color=green>CRETE</font></B>'
  49. set damageKrit = damage*20/100
  50. set damage = damage + damageKrit
  51. set healthV = healthV - damage
  52. set pointKik = pointKik + 1
  53. '<font color=green>you applied <<damage>> points of damage</font>'
  54. if damage >= healthV*20/100:
  55. set pointKik = pointKik + 1
  56. '<font color=green><<$nameV>> fell into the ring</font>'
  57. if healthV < (vitalV*10 + strenV*5)/4:
  58. '<font color=green><<$nameV>> knocked out. This is a victory!!!</font>'
  59. xgt'enderKik','winKO'
  60. exit
  61. end
  62. end
  63. end
  64. if popad < defV*2 and popad >= defV:
  65. '<font color=green>hit</font>'
  66. set healthV = healthV - damage
  67. set pointKik = pointKik + 1
  68. '<font color=green>you applied <<damage>> points of damage</font>'
  69. if damage >= healthV*20/100:
  70. set pointKik = pointKik + 1
  71. '<font color=green><<$nameV>> fell into the ring</font>'
  72. if healthV < (vitalV*10 + strenV*5)/4:
  73. '<font color=green><<$nameV>> knocked out. This is a victory!!!</font>'
  74. xgt'enderKik','winKO'
  75. exit
  76. end
  77. end
  78. end
  79. if popad < defV:
  80. '<font color=red>bloomer</font>'
  81. end
  82. >>>>>>> 065_Kikatak
  83. end
  84. <<<<<<< 065_Kikatak
  85. if $ARGS[0] = 'enemy':
  86. set defsum = agil + reakt + KikDef
  87. set defkof = defsum * 20/100
  88. set def = RAND(defsum - defkof, defsum + defkof)
  89. if popad >= def * 2:
  90. '<B><font color = red>CRETE</font></B>'
  91. set damageKrit = damage * 20/100
  92. set damage += damageKrit
  93. set health -= damage
  94. set pointKikV += 1
  95. '<font color = red>You have caused <<damage>> points of damage</font>'
  96. if damage >= health * 20/100:
  97. set pointKikV += 1
  98. '<font color = red>You have fallen into the ring</font>'
  99. if health < (vital*10 + stren*5)/4:
  100. '<font color = red>You are in a knockout. This defeat</font>'
  101. xgt 'enderKik','loss'
  102. exit
  103. end
  104. end
  105. end
  106. if popad < def*2 and popad >= def:
  107. '<font color = red>Contact</font>'
  108. set health -= damage
  109. set pointKikV += 1
  110. '<font color = red>You have caused <<damage>> points of damage</font>'
  111. if damage >= health * 20/100:
  112. set pointKikV += 1
  113. '<font color = red>You have fallen into the ring</font>'
  114. if health < (vital*10 + stren*5)/4:
  115. '<font color = red>You are in a knockout. This defeat</font>'
  116. xgt 'enderKik','loss'
  117. exit
  118. end
  119. end
  120. end
  121. if popad < def:
  122. '<font color = green>Slip</font>'
  123. end
  124. =======
  125. if $ARGS[0]='enemy':
  126. set defsum = agil + reakt + KikDef
  127. set defkof = defsum*20/100
  128. set def = RAND (defsum - defkof,defsum + defkof)
  129. if popad >= def*2:
  130. '<B><font color=red>CRETE</font></B>'
  131. set damageKrit = damage*20/100
  132. set damage = damage + damageKrit
  133. set health = health - damage
  134. set pointKikV = pointKikV + 1
  135. '<font color=red>you have caused <<damage>> points of damage</font>'
  136. if damage >= health*20/100:
  137. set pointKikV = pointKikV + 1
  138. '<font color=red>You fell into the ring</font>'
  139. if health < (vital*10 + stren*5)/4:
  140. '<font color=red>You knocked out. This defeat!</font>'
  141. xgt'enderKik','loss'
  142. exit
  143. end
  144. end
  145. end
  146. if popad < def*2 and popad >= def:
  147. '<font color=red>hit</font>'
  148. set health = health - damage
  149. set pointKikV = pointKikV + 1
  150. '<font color=red>you have caused <<damage>> points of damage</font>'
  151. if damage >= health*20/100:
  152. set pointKikV = pointKikV + 1
  153. '<font color=red>You fell into the ring</font>'
  154. if health < (vital*10 + stren*5)/4:
  155. '<font color=red>You knocked out. This defeat!</font>'
  156. xgt'enderKik','loss'
  157. exit
  158. end
  159. end
  160. end
  161. if popad < def:
  162. '<font color=green>bloomer</font>'
  163. end
  164. >>>>>>> 065_Kikatak
  165. end
  166. --- Kikatak ---------------------------------