fight.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. # fight
  2. if $ARGS[0] = 'start':
  3. menu_off = 1
  4. cla
  5. inFight = 1
  6. gs 'themes', 'indoors'
  7. gs'defence'
  8. gs'statBat'
  9. if SasoriBody > 2 and healthV <= 0 or SasoriBody > 2 and mannaV <= 0 or SasoriBody > 2 and willpowerV <= 0:
  10. SasoriBody = SasoriBody - 1
  11. gs'priziv','sasori'
  12. '<b><font color = red>The doll parts scatter all over and immediately head into battle mode.</font></b>'
  13. '<b><font color = red>You hear the sonorous voice of Sasori, "I have a lots of dolls, you can''t beat me."</font></b>'
  14. elseif SasoriBody = 2 and healthV <= 0 or SasoriBody = 2 and mannaV <= 0 or SasoriBody = 2 and willpowerV <= 0:
  15. SasoriBody = SasoriBody - 1
  16. gs'priziv','sasori1'
  17. '<b><font color = red>The last doll crumbles into pieces and you''ve finally reached Sasori.</font></b>'
  18. end
  19. if stunV > 0 and SasoriBody > 1:
  20. stunV = 0
  21. '<b><font color = red>The doll began to move again.</font></b>'
  22. end
  23. if stunV > 0 and SasoriBody = 1:
  24. stunV = 0
  25. '<b><font color = red>Sasori moves again.</font></b>'
  26. end
  27. if GedoMazo = 1 and healthV <= 0 or GedoMazo = 1 and mannaV <= 0 or GedoMazo = 1 and willpowerV <= 0:
  28. GedoMazo = 2
  29. barierV = 0
  30. '<b><font color = green><<$boydesc>> He fell to the ground and turned to dust.</font></b>'
  31. gs'priziv','tobi'
  32. '<b><font color = green><<$boydesc>>Attack</font></b>'
  33. end
  34. if pcs_health <= 0 and heart = 0 and izanagi = 0:
  35. '<b><font color = red>You lost!</font></b>'
  36. xgt'ender','loss'
  37. exit
  38. elseif healthV <= 0 and heartV = 0 and izanagiV = 0:
  39. '<b><font color = green><<$boydesc>>You won!</font></b>'
  40. xgt'ender','win'
  41. exit
  42. elseif pcs_manna <= 0 and heart = 0 and izanagi = 0:
  43. '<b><font color = red>You won!</font></b>'
  44. xgt'ender','loss'
  45. exit
  46. elseif mannaV <= 0 and heartV = 0 and izanagiV = 0:
  47. '<b><font color = green><<$boydesc>> lost!</font></b>'
  48. xgt'ender','win'
  49. exit
  50. elseif pcs_willpwr <= 0 and heart = 0 and izanagi = 0:
  51. '<b><font color = red>You lost!</font></b>'
  52. xgt'ender','loss'
  53. exit
  54. elseif willpowerV <= 0 and heartV = 0 and izanagiV = 0:
  55. '<b><font color = green><<$boydesc>> won!</font></b>'
  56. xgt'ender','win'
  57. exit
  58. end
  59. if izanagiV > 0 and healthV <= 0 or izanagiV > 0 and mannaV <= 0 or izanagiV > 0 and willpowerV <= 0:
  60. izanagiV = izanagiV - 1
  61. '<b><font color = red><<$boydesc>> disappeared.</font></b>'
  62. healthV = vitalV*10 + strenV*5
  63. mannaV = intelV*magikV + magikV*100 + vitalV*10
  64. willpowerV = willV*10
  65. stunV = 0
  66. if program = 6 and izanagiOnce = 0:izanagiOnce = 1 & unmaterialV = 40 & tobizanagi = 0
  67. '<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>'
  68. '<b><font color = red>The price for this spell was to sacrifice one of my eyes.</font></b>'
  69. elseif heartV > 0 and healthV <= 0 or heartV > 0 and mannaV <= 0 or heartV > 0 and willpowerV <= 0:
  70. heartV = heartV - 1
  71. '<b><font color = red><<$boydesc>> staggered, as his heart burst.</font></b>'
  72. healthV = vitalV*10 + strenV*5
  73. mannaV = intelV*magikV + magikV*100 + vitalV*10
  74. willpowerV = willV*10
  75. stunV = 0
  76. '<b><font color = red><<$boydesc>> stood up and got in a frenzy. He must have another heart.</font></b>'
  77. elseif izanagi > 0 and pcs_health <= 0 or izanagi > 0 and pcs_manna <= 0 or izanagi > 0 and pcs_willpwr <= 0:
  78. izanagi = izanagi - 1
  79. '<b><font color = green>He vanishes.</font></b>'
  80. pcs_health = pcs_vital*10 + pcs_stren*5
  81. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  82. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  83. stun = 0
  84. zerkaloV = 0
  85. poisonV = 0
  86. bloodV = 0
  87. '<b><font color = green>All of a sudden he appears in front of you completely healthy.</font></b>'
  88. elseif heart > 0 and pcs_health <= 0 or heart > 0 and pcs_manna <= 0 or heart > 0 and pcs_willpwr <= 0:
  89. heart = heart - 1
  90. zerkaloV = 0
  91. poisonV = 0
  92. bloodV = 0
  93. '<b><font color = green>Your heart took too much of a beating and gave up.</font></b>'
  94. pcs_health = pcs_vital*10 + pcs_stren*5
  95. pcs_willpwr = pcs_intel*5 + pcs_sprt*5
  96. pcs_manna = (pcs_intel*pcs_magik) + pcs_magik*100 + pcs_vital*10 + rikudo
  97. stun = 0
  98. '<b><font color = green>You open your eyes as you''re not dead...</font></b>'
  99. end
  100. gs'before'
  101. '<b>= = = = = = = = = = = = = (ROUND <<round>>) = = = = = = = = = = = = =</b>'
  102. '<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>'
  103. if defenceV > 0:'<b><font color = red>Protection <<defenceV>> units</font></b>'
  104. if defenceMV > 0:'<b><font color = red>Mana protection <<defenceMV>> units</font></b>'
  105. if defenceWV > 0:'<b><font color = red>Will protection <<defenceWV>> units</font></b>'
  106. '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>'
  107. if defence > 0:'<b><font color = green>Protection <<defence>> units</font></b>'
  108. if defenceM > 0:'<b><font color = green>Mana impact protection <<defenceM>> units</font></b>'
  109. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  110. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  111. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</font></b>'
  112. if unmaterial > 0:'<b><font color = green>You''re <<unmaterial>> strokes are not material.</font></b>'
  113. '<b>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</b>'
  114. gs'init'
  115. if hod = 0:
  116. !player attacks
  117. '<font color = green>Choose your attack</font>'
  118. if gun > 0:
  119. !Boomstick
  120. if bulletIn > 0:
  121. 'You have <<bulletIn>> bullets loaded in the gun.'
  122. act 'Pistol shot':
  123. cla
  124. bulletIn -= 1
  125. gunpower = 150
  126. buu = 1
  127. gunpricel = 1
  128. Gcrime += 1
  129. gt'strelba'
  130. end
  131. elseif bulletIn <= 0:
  132. if bullet = 0:
  133. 'You''re out of ammunition.'
  134. elseif bullet>0:
  135. 'You have <<bullet>> left.'
  136. act 'Reload':
  137. cla
  138. if bullet < 7:
  139. bulletIn = bullet
  140. bullet = 0
  141. 'You reload the empty gun.'
  142. end
  143. if bullet >= 7:
  144. bullet -= 7
  145. bulletIn = 7
  146. 'You reload all the 7 bullets in the gun.'
  147. end
  148. act 'Further':gt'fight','sta'
  149. end
  150. end
  151. end
  152. end
  153. if Mgun > 0:
  154. !Boomstick
  155. if mbulletIn > 0:
  156. 'You have <<mbulletIn>> bullets left in the machine gun.'
  157. act 'Single shot':
  158. cla
  159. mbulletIn -= 1
  160. buu = 1
  161. gunpower = 300
  162. gunpricel = 2
  163. Gcrime += 1
  164. gt'strelba'
  165. end
  166. if mbulletIn >= 3:
  167. act 'Burst shot':
  168. cla
  169. mbulletIn -= 3
  170. buu = 3
  171. gunpower = 300
  172. gunpricel = 1
  173. Gcrime += buu
  174. gt'strelba'
  175. end
  176. act 'Automatic shot':
  177. cla
  178. buu = mbulletIn
  179. mbulletIn = 0
  180. gunpower = 300
  181. gunpricel = 0
  182. Gcrime += buu
  183. gt'strelba'
  184. end
  185. end
  186. elseif mbulletIn <= 0:
  187. if mbullet = 0:
  188. 'You''ve run out of ammunition.'
  189. elseif mbullet > 0:
  190. 'You have <<mbullet>> bullets left in the machine gun.'
  191. act 'Reload':
  192. cla
  193. if mbullet < 7:
  194. mbulletIn = mbullet
  195. mbullet = 0
  196. 'You reload the empty gun.'
  197. end
  198. if mbullet >= 30:
  199. mbullet -= 30
  200. mbulletIn = 30
  201. 'You''ve reloaded 30 bullets for the machine gun.'
  202. end
  203. act 'Further':gt'fight','sta'
  204. end
  205. end
  206. end
  207. end
  208. if tragun > 0:
  209. !travmatik
  210. if tbulletIn > 0:
  211. 'You have <<mbulletIn>> bullets left in the non-lethal gun.'
  212. act 'Pistol shot':
  213. cla
  214. tbulletIn -= 1
  215. gunpower = 50
  216. buu = 1
  217. gunpricel = 0
  218. gt'strelba'
  219. end
  220. elseif tbulletIn <= 0:
  221. if tbullet = 0:
  222. 'You''ve run out of ammunition.'
  223. elseif tbullet > 0:
  224. 'You have <<mbullet>> bullets left in the non-lethal gun.'
  225. act 'Charge':
  226. cla
  227. if tbullet >= 1:
  228. tbullet -= 1
  229. tbulletIn = 1
  230. 'You reload the empty gun.'
  231. end
  232. act 'Further':gt'fight','sta'
  233. end
  234. end
  235. end
  236. end
  237. act 'Physical Attack':xgt'boxing'
  238. if pcs_magik > 0:
  239. act 'Magical Attack':gt'magik'
  240. end
  241. elseif hod = 1:
  242. !enemy attacks
  243. '<font color = red><<$boydesc>> attacks</font>'
  244. act 'Further':xgt'enemy','start'
  245. end
  246. end
  247. if $ARGS[0] = 'sta':
  248. menu_off = 1
  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>Mana protection <<defenceMV>> units</font></b>'
  266. if defenceWV > 0:'<b><font color = red>Will protection <<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>Mana impact protection <<defenceM>> units</font></b>'
  270. if defenceW > 0:'<b><font color = green>Will impact protection <<defenceW>> units</font></b>'
  271. if defenceAct > 0:'<b><font color = green><<defenceAct>> Regeneration</font></b>'
  272. if defenceActM > 0:'<b><font color = green><<defenceActM>> Mana recovery protection</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 ---------------------------------