1
0

fight 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. # fight
  2. if $ARGS[0] = 'start':
  3. cla
  4. inFight = 1
  5. FColor = RGB(0,0,0)
  6. BColor = RGB(255,255,255)
  7. LColor = RGB(106,90,205)
  8. gs'defence'
  9. gs'statBat'
  10. if SasoriBody > 2 and healthV <= 0 or SasoriBody > 2 and mannaV <= 0 or SasoriBody > 2 and willpowerV <= 0:
  11. SasoriBody = SasoriBody - 1
  12. gs'priziv','sasori'
  13. '<b><font color = red>Doll parts scattered on and immediately entered into battle another puppet Sasori.</font></b>'
  14. '<b><font color = red>You''ve heard the sonorous voice Sasori "I have a lot of dolls, you can not win."</font></b>'
  15. elseif SasoriBody = 2 and healthV <= 0 or SasoriBody = 2 and mannaV <= 0 or SasoriBody = 2 and willpowerV <= 0:
  16. SasoriBody = SasoriBody - 1
  17. gs'priziv','sasori1'
  18. '<b><font color = red>Last Doll crumbled into pieces and he came to fight Sasori.</font></b>'
  19. end
  20. if stunV > 0 and SasoriBody > 1:
  21. stunV = 0
  22. '<b><font color = red>Doll began to move again.</font></b>'
  23. end
  24. if stunV > 0 and SasoriBody = 1:
  25. stunV = 0
  26. '<b><font color = red>Sasori move again.</font></b>'
  27. end
  28. if GedoMazo = 1 and healthV <= 0 or GedoMazo = 1 and mannaV <= 0 or GedoMazo = 1 and willpowerV <= 0:
  29. GedoMazo = 2
  30. barierV = 0
  31. '<b><font color = green><<$boydesc>> He fell to the ground turning to dust</font></b>'
  32. gs'priziv','tobi'
  33. '<b><font color = green><<$boydesc>> to attack</font></b>'
  34. end
  35. if pcs_health <= 0 and heart = 0 and izanagi = 0:
  36. '<b><font color = red>You lost</font></b>'
  37. xgt'ender','loss'
  38. exit
  39. elseif healthV <= 0 and heartV = 0 and izanagiV = 0:
  40. '<b><font color = green><<$boydesc>> lost</font></b>'
  41. xgt'ender','win'
  42. exit
  43. elseif pcs_manna <= 0 and heart = 0 and izanagi = 0:
  44. '<b><font color = red>You lost</font></b>'
  45. xgt'ender','loss'
  46. exit
  47. elseif mannaV <= 0 and heartV = 0 and izanagiV = 0:
  48. '<b><font color = green><<$boydesc>> lost</font></b>'
  49. xgt'ender','win'
  50. exit
  51. elseif pcs_willpwr <= 0 and heart = 0 and izanagi = 0:
  52. '<b><font color = red>You lost</font></b>'
  53. xgt'ender','loss'
  54. exit
  55. elseif willpowerV <= 0 and heartV = 0 and izanagiV = 0:
  56. '<b><font color = green><<$boydesc>> lost</font></b>'
  57. xgt'ender','win'
  58. exit
  59. end
  60. if izanagiV > 0 and healthV <= 0 or izanagiV > 0 and mannaV <= 0 or izanagiV > 0 and willpowerV <= 0:
  61. izanagiV = izanagiV - 1
  62. '<b><font color = red><<$boydesc>> simply disappeared</font></b>'
  63. healthV = vitalV*10 + strenV*5
  64. mannaV = intelV*magikV + magikV*100 + vitalV*10
  65. willpowerV = willV*10
  66. stunV = 0
  67. if program = 6 and izanagiOnce = 0:izanagiOnce = 1 & unmaterialV = 40 & tobizanagi = 0
  68. '<b><font color = red><<$boydesc>> appeared in front of you is completely healthy. He folded his arms and magic sign said Izanagi - perfect illusion.</font></b>'
  69. '<b><font color = red>One of his eyes was closed forever, I am paying for this spell.</font></b>'
  70. elseif heartV > 0 and healthV <= 0 or heartV > 0 and mannaV <= 0 or heartV > 0 and willpowerV <= 0:
  71. heartV = heartV - 1
  72. '<b><font color = red><<$boydesc>> He staggered, and his heart burst</font></b>'
  73. healthV = vitalV*10 + strenV*5
  74. mannaV = intelV*magikV + magikV*100 + vitalV*10
  75. willpowerV = willV*10
  76. stunV = 0
  77. '<b><font color = red><<$boydesc>> He stood up and rushed into the fray. He has run another heart.</font></b>'
  78. elseif izanagi > 0 and pcs_health <= 0 or izanagi > 0 and pcs_manna <= 0 or izanagi > 0 and pcs_willpwr <= 0:
  79. izanagi = izanagi - 1
  80. '<b><font color = green>You are gone</font></b>'
  81. pcs_health = pcs_vital*10 + pcs_stren*5
  82. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  83. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  84. stun = 0
  85. zerkaloV = 0
  86. poisonV = 0
  87. bloodV = 0
  88. '<b><font color = green>And then he appeared in front of the enemy completely healthy.</font></b>'
  89. elseif heart > 0 and pcs_health <= 0 or heart > 0 and pcs_manna <= 0 or heart > 0 and pcs_willpwr <= 0:
  90. heart = heart - 1
  91. zerkaloV = 0
  92. poisonV = 0
  93. bloodV = 0
  94. '<b><font color = green>Your heart could not resist and snapped.</font></b>'
  95. pcs_health = pcs_vital*10 + pcs_stren*5
  96. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  97. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  98. stun = 0
  99. '<b><font color = green>You are not dead, You run another heart.</font></b>'
  100. end
  101. gs'before'
  102. '<b>= = = = = = = = = = = = = (ROUND <<round>>) = = = = = = = = = = = = =</b>'
  103. '<b><<$boydesc>></b> life <b><font color = red><<healthV>></font></b>, manna <b><font color = blue><<mannaV>></font></b>, willpower <b><font color = green><<willpowerV>></font></b>'
  104. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  105. if defenceMV > 0:'<b><font color = red>Protection of manna <<defenceMV>> units</font></b>'
  106. if defenceWV > 0:'<b><font color = red>Protection will <<defenceWV>> units</font></b>'
  107. 'Your life <b><font color = red><<pcs_health>></font></b>, manna <b><font color = blue><<pcs_manna>></font></b>, willpower <b><font color = green><<pcs_willpwr>></font></b>'
  108. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  109. if defenceM > 0:'<b><font color = green>Protection from impacts on manna <<defenceM>> units</font></b>'
  110. if defenceW > 0:'<b><font color = green>Protect from the effects of the will <<defenceW>> units</font></b>'
  111. if defenceAct > 0:'<b><font color = green><<defenceAct>> moves regeneration protection</font></b>'
  112. if defenceActM > 0:'<b><font color = green><<defenceActM>> stroke recovery protection from the effects of manna</font></b>'
  113. if unmaterial > 0:'<b><font color = green>You''re <<unmaterial>> strokes are not material.</font></b>'
  114. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  115. gs'init'
  116. if hod = 0:
  117. !player attacks
  118. '<font color = green>You can attack</font>'
  119. if gun > 0:
  120. !Boomstick
  121. if bulletIn > 0:
  122. '<<bulletIn>> Charged cartridges in the gun'
  123. act 'Pistol shot':
  124. cla
  125. bulletIn -= 1
  126. gunpower = 150
  127. buu = 1
  128. gunpricel = 1
  129. Gcrime += 1
  130. gt'strelba'
  131. end
  132. elseif bulletIn <= 0:
  133. if bullet = 0:
  134. 'Ammunition for the gun ran out.'
  135. elseif bullet>0:
  136. '<<bullet>> ammunition for pistols'
  137. act 'Charge':
  138. cla
  139. if bullet < 7:
  140. bulletIn = bullet
  141. bullet = 0
  142. 'You charge all of the remaining cartridges in the gun.'
  143. end
  144. if bullet >= 7:
  145. bullet -= 7
  146. bulletIn = 7
  147. 'You loaded 7 bullets in the gun.'
  148. end
  149. act 'Further':gt'fight','sta'
  150. end
  151. end
  152. end
  153. end
  154. if Mgun > 0:
  155. !Boomstick
  156. if mbulletIn > 0:
  157. '<<mbulletIn>> Charged cartridges in the machine'
  158. act 'A single from the machine':
  159. cla
  160. mbulletIn -= 1
  161. buu = 1
  162. gunpower = 300
  163. gunpricel = 2
  164. Gcrime += 1
  165. gt'strelba'
  166. end
  167. if mbulletIn >= 3:
  168. act 'A short burst of machine':
  169. cla
  170. mbulletIn -= 3
  171. buu = 3
  172. gunpower = 300
  173. gunpricel = 1
  174. Gcrime += buu
  175. gt'strelba'
  176. end
  177. act 'A long line of machine':
  178. cla
  179. buu = mbulletIn
  180. mbulletIn = 0
  181. gunpower = 300
  182. gunpricel = 0
  183. Gcrime += buu
  184. gt'strelba'
  185. end
  186. end
  187. elseif mbulletIn <= 0:
  188. if mbullet = 0:
  189. 'Chucks for machine ran out.'
  190. elseif mbullet > 0:
  191. '<<mbullet>> ammunition for the machine'
  192. act 'Charge':
  193. cla
  194. if mbullet < 7:
  195. mbulletIn = mbullet
  196. mbullet = 0
  197. 'You charge all remaining ammunition into the machine.'
  198. end
  199. if mbullet >= 30:
  200. mbullet -= 30
  201. mbulletIn = 30
  202. 'You loaded 30 cartridges in the machine.'
  203. end
  204. act 'Further':gt'fight','sta'
  205. end
  206. end
  207. end
  208. end
  209. if tragun > 0:
  210. !travmatik
  211. if tbulletIn > 0:
  212. 'Travmatiki charged'
  213. act 'Pistol shot':
  214. cla
  215. tbulletIn -= 1
  216. gunpower = 50
  217. buu = 1
  218. gunpricel = 0
  219. gt'strelba'
  220. end
  221. elseif tbulletIn <= 0:
  222. if tbullet = 0:
  223. 'Cartridges for travmatika ended.'
  224. elseif tbullet > 0:
  225. '<<tbullet>> cartridges for travmatika'
  226. act 'Charge':
  227. cla
  228. if tbullet >= 1:
  229. tbullet -= 1
  230. tbulletIn = 1
  231. 'You loaded a cartridge in travmatik.'
  232. end
  233. act 'Further':gt'fight','sta'
  234. end
  235. end
  236. end
  237. end
  238. act 'Physical Attack':xgt'boxing'
  239. if pcs_magik > 0:
  240. act 'Magic Attack':gt'magik'
  241. end
  242. elseif hod = 1:
  243. !enemy attacks
  244. '<font color = red><<$boydesc>> attacks</font>'
  245. act 'Further':xgt'enemy','start'
  246. end
  247. end
  248. if $ARGS[0] = 'sta':
  249. cla
  250. damTip = 0
  251. damTipM = 0
  252. damTipV = 0
  253. damTipMV = 0
  254. magweapbonus = 0
  255. magweapbonusV = 0
  256. bonusSh = 0
  257. bonusShV = 0
  258. eleSh = 0
  259. eleShV = 0
  260. poisonAV = 0
  261. hidanAtk = 0
  262. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  263. '<b><<$boydesc>></b> life <b><font color = red><<healthV>></font></b>, manna <b><font color = blue><<mannaV>></font></b>, willpower <b><font color = green><<willpowerV>></font></b>'
  264. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  265. if defenceMV > 0:'<b><font color = red>Protection of manna <<defenceMV>> units</font></b>'
  266. if defenceWV > 0:'<b><font color = red>Protection will <<defenceWV>> units</font></b>'
  267. 'Your life <b><font color = red><<pcs_health>></font></b>, manna <b><font color = blue><<pcs_manna>></font></b>, willpower <b><font color = green><<pcs_willpwr>></font></b>'
  268. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  269. if defenceM > 0:'<b><font color = green>Protection from impacts on manna <<defenceM>> units</font></b>'
  270. if defenceW > 0:'<b><font color = green>Protect from the effects of the will <<defenceW>> units</font></b>'
  271. if defenceAct > 0:'<b><font color = green><<defenceAct>> moves regeneration protection</font></b>'
  272. if defenceActM > 0:'<b><font color = green><<defenceActM>> stroke recovery protection from the effects of manna</font></b>'
  273. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  274. act 'Further':gt'fight','start'
  275. end
  276. if $ARGS[0] = 'Wrestlergen':
  277. if nopornowrestling = 0:
  278. nopornowrestling = 1
  279. NPCnum = 30
  280. NPCnow = 1
  281. !!shag = 1
  282. gs 'npc'
  283. NoView = 1
  284. NPCrost = 30
  285. gs 'generation'
  286. NoView = 1
  287. NPCrost = 30
  288. gs 'generation'
  289. NoView = 1
  290. NPCrost = 30
  291. gs 'generation'
  292. NoView = 1
  293. NPCrost = 30
  294. gs 'generation'
  295. NoView = 1
  296. NPCrost = 30
  297. gs 'generation'
  298. $nikname[1] = 'schoolgirl'
  299. !!musle[0] = 100
  300. !!flex[0] = pcs_agil
  301. !!stamina[0] = pcs_vital * 3
  302. !!wipo[0] = pcs_sprt
  303. !!pcs_intel[0] = 10
  304. !!krasota[0] = pcs_apprnc
  305. !!pcs_hgt[0] = 165
  306. !!salo[0] = 100
  307. !!fat[0] = 100
  308. !!$nikname[1] = 'steel Virgo'
  309. !!musle[1] = 100
  310. !!flex[1] = 100
  311. !!stamina[1] = 300
  312. !!wipo[1] = 50
  313. !!pcs_intel[1] = 10
  314. !!krasota[1] = 10
  315. !!pcs_hgt[1] = 165
  316. !!salo[1] = 100
  317. !!fat[1] = 100
  318. end
  319. end
  320. --- fight ---------------------------------