1
0

fight.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. # fight
  2. if $ARGS[0] = 'start':
  3. menu_off = 1
  4. cla
  5. inFight = 1
  6. if night_mode = 1:
  7. fcolor = rgb(255, 255, 255)
  8. bcolor = rgb(0, 0, 0)
  9. lcolor = rgb(106, 90, 205)
  10. elseif night_mode = 2:
  11. fcolor = rgb(255, 255, 255)
  12. bcolor = rgb(20, 20, 20)
  13. lcolor = rgb(106, 90, 205)
  14. else
  15. fcolor = rgb(0, 0, 0)
  16. bcolor = rgb(255, 255, 255)
  17. lcolor = rgb(106, 90, 205)
  18. end
  19. gs'defence'
  20. gs'statBat'
  21. if SasoriBody > 2 and healthV <= 0 or SasoriBody > 2 and mannaV <= 0 or SasoriBody > 2 and willpowerV <= 0:
  22. SasoriBody = SasoriBody - 1
  23. gs'priziv','sasori'
  24. '<b><font color = red>The doll parts scatter all over and immediately head into battle mode.</font></b>'
  25. '<b><font color = red>You hear the sonorous voice of Sasori, "I have a lots of dolls, you can''t beat me."</font></b>'
  26. elseif SasoriBody = 2 and healthV <= 0 or SasoriBody = 2 and mannaV <= 0 or SasoriBody = 2 and willpowerV <= 0:
  27. SasoriBody = SasoriBody - 1
  28. gs'priziv','sasori1'
  29. '<b><font color = red>The last doll crumbles into pieces and you''ve finally reached Sasori.</font></b>'
  30. end
  31. if stunV > 0 and SasoriBody > 1:
  32. stunV = 0
  33. '<b><font color = red>The doll began to move again.</font></b>'
  34. end
  35. if stunV > 0 and SasoriBody = 1:
  36. stunV = 0
  37. '<b><font color = red>Sasori moves again.</font></b>'
  38. end
  39. if GedoMazo = 1 and healthV <= 0 or GedoMazo = 1 and mannaV <= 0 or GedoMazo = 1 and willpowerV <= 0:
  40. GedoMazo = 2
  41. barierV = 0
  42. '<b><font color = green><<$boydesc>> He fell to the ground and turned to dust.</font></b>'
  43. gs'priziv','tobi'
  44. '<b><font color = green><<$boydesc>>Attack</font></b>'
  45. end
  46. if pcs_health <= 0 and heart = 0 and izanagi = 0:
  47. '<b><font color = red>You lost!</font></b>'
  48. xgt'ender','loss'
  49. exit
  50. elseif healthV <= 0 and heartV = 0 and izanagiV = 0:
  51. '<b><font color = green><<$boydesc>>You won!</font></b>'
  52. xgt'ender','win'
  53. exit
  54. elseif pcs_manna <= 0 and heart = 0 and izanagi = 0:
  55. '<b><font color = red>You won!</font></b>'
  56. xgt'ender','loss'
  57. exit
  58. elseif mannaV <= 0 and heartV = 0 and izanagiV = 0:
  59. '<b><font color = green><<$boydesc>> lost!</font></b>'
  60. xgt'ender','win'
  61. exit
  62. elseif pcs_willpwr <= 0 and heart = 0 and izanagi = 0:
  63. '<b><font color = red>You lost!</font></b>'
  64. xgt'ender','loss'
  65. exit
  66. elseif willpowerV <= 0 and heartV = 0 and izanagiV = 0:
  67. '<b><font color = green><<$boydesc>> won!</font></b>'
  68. xgt'ender','win'
  69. exit
  70. end
  71. if izanagiV > 0 and healthV <= 0 or izanagiV > 0 and mannaV <= 0 or izanagiV > 0 and willpowerV <= 0:
  72. izanagiV = izanagiV - 1
  73. '<b><font color = red><<$boydesc>> disappeared.</font></b>'
  74. healthV = vitalV*10 + strenV*5
  75. mannaV = intelV*magikV + magikV*100 + vitalV*10
  76. willpowerV = willV*10
  77. stunV = 0
  78. if program = 6 and izanagiOnce = 0:izanagiOnce = 1 & unmaterialV = 40 & tobizanagi = 0
  79. '<b><font color = red><<$boydesc>> appeared in front of you, completely healthy. He folded his arms and made the magic sign for Izanagi, the perfect illusion.</font></b>'
  80. '<b><font color = red>The price for this spell was to sacrifice one of my eyes.</font></b>'
  81. elseif heartV > 0 and healthV <= 0 or heartV > 0 and mannaV <= 0 or heartV > 0 and willpowerV <= 0:
  82. heartV = heartV - 1
  83. '<b><font color = red><<$boydesc>> staggered, as his heart burst.</font></b>'
  84. healthV = vitalV*10 + strenV*5
  85. mannaV = intelV*magikV + magikV*100 + vitalV*10
  86. willpowerV = willV*10
  87. stunV = 0
  88. '<b><font color = red><<$boydesc>> stood up and got in a frenzy. He must have another heart.</font></b>'
  89. elseif izanagi > 0 and pcs_health <= 0 or izanagi > 0 and pcs_manna <= 0 or izanagi > 0 and pcs_willpwr <= 0:
  90. izanagi = izanagi - 1
  91. '<b><font color = green>He vanishes.</font></b>'
  92. pcs_health = pcs_vital*10 + pcs_stren*5
  93. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  94. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  95. stun = 0
  96. zerkaloV = 0
  97. poisonV = 0
  98. bloodV = 0
  99. '<b><font color = green>All of a sudden he appears in front of you completely healthy.</font></b>'
  100. elseif heart > 0 and pcs_health <= 0 or heart > 0 and pcs_manna <= 0 or heart > 0 and pcs_willpwr <= 0:
  101. heart = heart - 1
  102. zerkaloV = 0
  103. poisonV = 0
  104. bloodV = 0
  105. '<b><font color = green>Your heart took too much of a beating and gave up.</font></b>'
  106. pcs_health = pcs_vital*10 + pcs_stren*5
  107. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  108. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  109. stun = 0
  110. '<b><font color = green>You open your eyes as you''re not dead...</font></b>'
  111. end
  112. gs'before'
  113. '<b>= = = = = = = = = = = = = (ROUND <<round>>) = = = = = = = = = = = = =</b>'
  114. '<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>'
  115. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  116. if defenceMV > 0:'<b><font color = red>Mana protection <<defenceMV>> units</font></b>'
  117. if defenceWV > 0:'<b><font color = red>Will protection <<defenceWV>> units</font></b>'
  118. '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>'
  119. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  120. if defenceM > 0:'<b><font color = green>Mana impact protection <<defenceM>> units</font></b>'
  121. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  122. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  123. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</font></b>'
  124. if unmaterial > 0:'<b><font color = green>You''re <<unmaterial>> strokes are not material.</font></b>'
  125. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  126. gs'init'
  127. if hod = 0:
  128. !player attacks
  129. '<font color = green>Choose your attack</font>'
  130. if gun > 0:
  131. !Boomstick
  132. if bulletIn > 0:
  133. 'You have <<bulletIn>> bullets loaded in the gun.'
  134. act 'Pistol shot':
  135. cla
  136. bulletIn -= 1
  137. gunpower = 150
  138. buu = 1
  139. gunpricel = 1
  140. Gcrime += 1
  141. gt'strelba'
  142. end
  143. elseif bulletIn <= 0:
  144. if bullet = 0:
  145. 'You''re out of ammunition.'
  146. elseif bullet>0:
  147. 'You have <<bullet>> left.'
  148. act 'Reload':
  149. cla
  150. if bullet < 7:
  151. bulletIn = bullet
  152. bullet = 0
  153. 'You reload the empty gun.'
  154. end
  155. if bullet >= 7:
  156. bullet -= 7
  157. bulletIn = 7
  158. 'You reload all the 7 bullets in the gun.'
  159. end
  160. act 'Further':gt'fight','sta'
  161. end
  162. end
  163. end
  164. end
  165. if Mgun > 0:
  166. !Boomstick
  167. if mbulletIn > 0:
  168. 'You have <<mbulletIn>> bullets left in the machine gun.'
  169. act 'Single shot':
  170. cla
  171. mbulletIn -= 1
  172. buu = 1
  173. gunpower = 300
  174. gunpricel = 2
  175. Gcrime += 1
  176. gt'strelba'
  177. end
  178. if mbulletIn >= 3:
  179. act 'Burst shot':
  180. cla
  181. mbulletIn -= 3
  182. buu = 3
  183. gunpower = 300
  184. gunpricel = 1
  185. Gcrime += buu
  186. gt'strelba'
  187. end
  188. act 'Automatic shot':
  189. cla
  190. buu = mbulletIn
  191. mbulletIn = 0
  192. gunpower = 300
  193. gunpricel = 0
  194. Gcrime += buu
  195. gt'strelba'
  196. end
  197. end
  198. elseif mbulletIn <= 0:
  199. if mbullet = 0:
  200. 'You''ve run out of ammunition.'
  201. elseif mbullet > 0:
  202. 'You have <<mbullet>> bullets left in the machine gun.'
  203. act 'Reload':
  204. cla
  205. if mbullet < 7:
  206. mbulletIn = mbullet
  207. mbullet = 0
  208. 'You reload the empty gun.'
  209. end
  210. if mbullet >= 30:
  211. mbullet -= 30
  212. mbulletIn = 30
  213. 'You''ve reloaded 30 bullets for the machine gun.'
  214. end
  215. act 'Further':gt'fight','sta'
  216. end
  217. end
  218. end
  219. end
  220. if tragun > 0:
  221. !travmatik
  222. if tbulletIn > 0:
  223. 'You have <<mbulletIn>> bullets left in the non-lethal gun.'
  224. act 'Pistol shot':
  225. cla
  226. tbulletIn -= 1
  227. gunpower = 50
  228. buu = 1
  229. gunpricel = 0
  230. gt'strelba'
  231. end
  232. elseif tbulletIn <= 0:
  233. if tbullet = 0:
  234. 'You''ve run out of ammunition.'
  235. elseif tbullet > 0:
  236. 'You have <<mbullet>> bullets left in the non-lethal gun.'
  237. act 'Charge':
  238. cla
  239. if tbullet >= 1:
  240. tbullet -= 1
  241. tbulletIn = 1
  242. 'You reload the empty gun.'
  243. end
  244. act 'Further':gt'fight','sta'
  245. end
  246. end
  247. end
  248. end
  249. act 'Physical Attack':xgt'boxing'
  250. if pcs_magik > 0:
  251. act 'Magical Attack':gt'magik'
  252. end
  253. elseif hod = 1:
  254. !enemy attacks
  255. '<font color = red><<$boydesc>> attacks</font>'
  256. act 'Further':xgt'enemy','start'
  257. end
  258. end
  259. if $ARGS[0] = 'sta':
  260. menu_off = 1
  261. cla
  262. damTip = 0
  263. damTipM = 0
  264. damTipV = 0
  265. damTipMV = 0
  266. magweapbonus = 0
  267. magweapbonusV = 0
  268. bonusSh = 0
  269. bonusShV = 0
  270. eleSh = 0
  271. eleShV = 0
  272. poisonAV = 0
  273. hidanAtk = 0
  274. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  275. '<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>'
  276. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  277. if defenceMV > 0:'<b><font color = red>Mana protection <<defenceMV>> units</font></b>'
  278. if defenceWV > 0:'<b><font color = red>Will protection <<defenceWV>> units</font></b>'
  279. '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>'
  280. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  281. if defenceM > 0:'<b><font color = green>Mana impact protection <<defenceM>> units</font></b>'
  282. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  283. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  284. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</font></b>'
  285. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  286. act 'Further':gt'fight','start'
  287. end
  288. if $ARGS[0] = 'Wrestlergen':
  289. if nopornowrestling = 0:
  290. nopornowrestling = 1
  291. NPCnum = 30
  292. NPCnow = 1
  293. !!shag = 1
  294. gs 'npc'
  295. NoView = 1
  296. NPCrost = 30
  297. gs 'generation'
  298. NoView = 1
  299. NPCrost = 30
  300. gs 'generation'
  301. NoView = 1
  302. NPCrost = 30
  303. gs 'generation'
  304. NoView = 1
  305. NPCrost = 30
  306. gs 'generation'
  307. NoView = 1
  308. NPCrost = 30
  309. gs 'generation'
  310. $nikname[1] = 'schoolgirl'
  311. !!musle[0] = 100
  312. !!flex[0] = pcs_agil
  313. !!stamina[0] = pcs_vital * 3
  314. !!wipo[0] = pcs_sprt
  315. !!pcs_intel[0] = 10
  316. !!krasota[0] = pcs_apprnc
  317. !!pcs_hgt[0] = 165
  318. !!salo[0] = 100
  319. !!fat[0] = 100
  320. !!$nikname[1] = 'steel Virgo'
  321. !!musle[1] = 100
  322. !!flex[1] = 100
  323. !!stamina[1] = 300
  324. !!wipo[1] = 50
  325. !!pcs_intel[1] = 10
  326. !!krasota[1] = 10
  327. !!pcs_hgt[1] = 165
  328. !!salo[1] = 100
  329. !!fat[1] = 100
  330. end
  331. end
  332. --- fight ---------------------------------