1
0

fight_npcdata.qsrc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. # fight_npcdata
  2. !2021/05/06
  3. !!{ Add an NPC of this type to a Team for a fight
  4. $ARGS[0] = The NPC Name or Type (e.g: tatiana, gustav, rapist, mugger)
  5. $ARGS[1] = Team to add the NPC to. Can be 'pcs' or 'opp'. Default is 'opp'
  6. $ARGS[2] = (Optional) Name to give the NPC, Overrides built in name
  7. Attributes that can be set:
  8. name = <<name of opponent>>
  9. image = opponent image ie. '<img <<$set_imgh>> src="images/characters/city/tobi/tobi.jpg">'
  10. def = opponent defence
  11. run = Opponent running skill used for player escape
  12. wrstlng = Wrestling skill
  13. kick = Kicking
  14. punch = Power punch
  15. jab = Light punch
  16. stren = Strengh
  17. agil = Agility
  18. vital = vitality
  19. react = Reactions
  20. health = Health
  21. willpwr = willpower
  22. shoot = opponent marksmanship (only required if they are armed)
  23. magik = only if they have magic
  24. mana = only if they have magic
  25. fog = (tuman): Obscures vision, makes hitting harder.
  26. clone = (klon): Copies of the char that absorb 1 hit and disappear. A char may have some number of them.
  27. shield = (defence): Shielding that absorbs damage before hitpoints.
  28. dambonus = (magweapbonus): damage added to melee attacks
  29. init = (initBonus): attack faster/first
  30. stun = (stunner): make target unable to act for some amount of time
  31. spells = comma delimited list of spell names
  32. }
  33. $NPCFS_Team = $ARGS[1]
  34. if $NPCFS_Team = '':
  35. $NPCFS_Team = 'opp'
  36. end
  37. NPCFS_TeamSlot=dyneval('result=arrsize(''$<<$NPCFS_Team>>_name'')')
  38. $setNPCFightStats = {
  39. !! $ARGS[0] = Attrib Name
  40. !! $ARGS[1]/ARGS[1] = Value to set the Attribute
  41. $NPCFS_Attrib = $ARGS[0]
  42. ! See if Value passed is String or Number
  43. $NPCFS_Value = $ARGS[1]
  44. NPCFS_Value = ARGS[1]
  45. if $NPCFS_Value = '':
  46. !Numeric type Array
  47. dynamic '<<$NPCFS_Team>>_<<$NPCFS_Attrib>>[<<NPCFS_TeamSlot>>] = <<NPCFS_Value>>'
  48. else
  49. !String type Array
  50. dynamic '$<<$NPCFS_Team>>_<<$NPCFS_Attrib>>[<<NPCFS_TeamSlot>>] = ''<<$NPCFS_Value>>'''
  51. !'''' colour fix for editing program
  52. end
  53. }
  54. $calcNPCFightHealth = {
  55. NPCFightStatStr = dyneval("result=<<$NPCFS_Team>>_stren[<<NPCFS_TeamSlot>>]")
  56. NPCFightStatVit = dyneval("result=<<$NPCFS_Team>>_vital[<<NPCFS_TeamSlot>>]")
  57. result = NPCFightStatStr*5 + NPCFightStatVit*5
  58. }
  59. if $args[0] = 'gustav':
  60. dynamic $setNPCFightStats, 'name', 'Gustav'
  61. dynamic $setNPCFightStats, 'image', 'images/characters/city/jugo/jugopre.jpg'
  62. dynamic $setNPCFightStats, 'def', 100
  63. dynamic $setNPCFightStats, 'run', 75
  64. dynamic $setNPCFightStats, 'wrstlng', 75
  65. dynamic $setNPCFightStats, 'kick', 75
  66. dynamic $setNPCFightStats, 'punch', 85
  67. dynamic $setNPCFightStats, 'jab', 75
  68. dynamic $setNPCFightStats, 'stren', 250
  69. dynamic $setNPCFightStats, 'agil', 60
  70. dynamic $setNPCFightStats, 'vital', 200
  71. dynamic $setNPCFightStats, 'react', 50
  72. dynamic $setNPCFightStats, 'willpwr', 50
  73. dynamic $setNPCFightStats, 'shoot', 100
  74. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  75. fightEnding = 2
  76. end
  77. if $args[0] = 'tatiana':
  78. dynamic $setNPCFightStats, 'name', 'Tatiana'
  79. dynamic $setNPCFightStats, 'image', 'images/characters/city/tatiana/magiclook.jpg'
  80. dynamic $setNPCFightStats, 'def', 30
  81. dynamic $setNPCFightStats, 'run', 75
  82. dynamic $setNPCFightStats, 'wrstlng', 10
  83. dynamic $setNPCFightStats, 'kick', 50
  84. dynamic $setNPCFightStats, 'punch', 50
  85. dynamic $setNPCFightStats, 'jab', 50
  86. dynamic $setNPCFightStats, 'stren', 30
  87. dynamic $setNPCFightStats, 'agil', 75
  88. dynamic $setNPCFightStats, 'vital', 100
  89. dynamic $setNPCFightStats, 'react', 60
  90. dynamic $setNPCFightStats, 'willpwr', 100
  91. dynamic $setNPCFightStats, 'shoot', 100
  92. dynamic $setNPCFightStats, 'magik', 1
  93. dynamic $setNPCFightStats, 'mana', 200
  94. dynamic $setNPCFightStats, 'spells', 'fog,clone,stun,energo'
  95. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  96. fightEnding = 3
  97. end
  98. if $args[0] = 'prostitute':
  99. dynamic $setNPCFightStats, 'name', 'Prostitute'
  100. dynamic $setNPCFightStats, 'image', 'images/locations/city/shared/streetwalker/working<<rand(1,4)>>.jpg'
  101. dynamic $setNPCFightStats, 'def', rand(25,35)
  102. dynamic $setNPCFightStats, 'run', rand(25,35)
  103. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  104. dynamic $setNPCFightStats, 'kick', 5
  105. dynamic $setNPCFightStats, 'punch', rand(5,15)
  106. dynamic $setNPCFightStats, 'jab', rand(5,15)
  107. dynamic $setNPCFightStats, 'stren', rand(15,25)
  108. dynamic $setNPCFightStats, 'agil', rand(25,35)
  109. dynamic $setNPCFightStats, 'vital', rand(45,55)
  110. dynamic $setNPCFightStats, 'react', rand(25,35)
  111. dynamic $setNPCFightStats, 'willpwr', 50
  112. dynamic $setNPCFightStats, 'shoot', 10
  113. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  114. fightEnding = 4
  115. end
  116. if $args[0] = 'bandit':
  117. dynamic $setNPCFightStats, 'name', 'Bandit'
  118. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/mugger.jpg'
  119. dynamic $setNPCFightStats, 'def', rand(5,15)
  120. dynamic $setNPCFightStats, 'run', 30
  121. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  122. dynamic $setNPCFightStats, 'kick', 0
  123. dynamic $setNPCFightStats, 'punch', rand(5,15)
  124. dynamic $setNPCFightStats, 'jab', rand(5,15)
  125. dynamic $setNPCFightStats, 'stren', rand(95,115)
  126. dynamic $setNPCFightStats, 'agil', rand(15,25)
  127. dynamic $setNPCFightStats, 'vital', rand(65,75)
  128. dynamic $setNPCFightStats, 'react', rand(15,25)
  129. dynamic $setNPCFightStats, 'willpwr', 50
  130. dynamic $setNPCFightStats, 'shoot', 10
  131. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  132. fightEnding = 5
  133. end
  134. if $args[0] = 'prostitute2':
  135. dynamic $setNPCFightStats, 'name', 'Prostitute'
  136. dynamic $setNPCFightStats, 'image', 'images/locations/city/shared/streetwalker/working<<rand(1,4)>>.jpg'
  137. dynamic $setNPCFightStats, 'def', 10
  138. dynamic $setNPCFightStats, 'run', 50
  139. dynamic $setNPCFightStats, 'wrstlng', 10
  140. dynamic $setNPCFightStats, 'kick', 0
  141. dynamic $setNPCFightStats, 'punch', 10
  142. dynamic $setNPCFightStats, 'jab', 10
  143. dynamic $setNPCFightStats, 'stren', 50
  144. dynamic $setNPCFightStats, 'agil', 40
  145. dynamic $setNPCFightStats, 'vital', 60
  146. dynamic $setNPCFightStats, 'react', 30
  147. dynamic $setNPCFightStats, 'willpwr', 50
  148. dynamic $setNPCFightStats, 'shoot', 10
  149. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  150. fightEnding = 6
  151. end
  152. if $args[0] = 'kisame':
  153. dynamic $setNPCFightStats, 'name', 'Kisame'
  154. dynamic $setNPCFightStats, 'image', 'images/characters/city/kisame/kisamev.jpg'
  155. dynamic $setNPCFightStats, 'def', 100
  156. dynamic $setNPCFightStats, 'run', 100
  157. dynamic $setNPCFightStats, 'wrstlng', 75
  158. dynamic $setNPCFightStats, 'kick', 0
  159. dynamic $setNPCFightStats, 'punch', 100
  160. dynamic $setNPCFightStats, 'jab', 100
  161. dynamic $setNPCFightStats, 'stren', 150
  162. dynamic $setNPCFightStats, 'agil', 100
  163. dynamic $setNPCFightStats, 'vital', 150
  164. dynamic $setNPCFightStats, 'react', 100
  165. dynamic $setNPCFightStats, 'willpwr', 100
  166. dynamic $setNPCFightStats, 'shoot', 100
  167. dynamic $setNPCFightStats, 'magik', 1
  168. dynamic $setNPCFightStats, 'mana', 500
  169. dynamic $setNPCFightStats, 'spells', 'leechmana,flood,blister,sharkrockets'
  170. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  171. fightEnding = 7
  172. end
  173. if $args[0] = 'rapist':
  174. dynamic $setNPCFightStats, 'name', 'Rapist'
  175. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/rapist.jpg'
  176. dynamic $setNPCFightStats, 'def', rand(40,60)
  177. dynamic $setNPCFightStats, 'run', rand(40,60)
  178. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  179. dynamic $setNPCFightStats, 'kick', 0
  180. dynamic $setNPCFightStats, 'punch', rand(40,60)
  181. dynamic $setNPCFightStats, 'jab', rand(40,60)
  182. dynamic $setNPCFightStats, 'stren', rand(70,90)
  183. dynamic $setNPCFightStats, 'agil', rand(30,50)
  184. dynamic $setNPCFightStats, 'vital', rand(40,60)
  185. dynamic $setNPCFightStats, 'react', rand(30,50)
  186. dynamic $setNPCFightStats, 'willpwr', 100
  187. dynamic $setNPCFightStats, 'shoot', 100
  188. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  189. fightEnding = 8
  190. end
  191. if $args[0] = 'robber':
  192. dynamic $setNPCFightStats, 'name', 'Robber'
  193. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/mugger.jpg'
  194. dynamic $setNPCFightStats, 'def', rand(40,60)
  195. dynamic $setNPCFightStats, 'run', rand(40,60)
  196. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  197. dynamic $setNPCFightStats, 'kick', 0
  198. dynamic $setNPCFightStats, 'punch', rand(40,60)
  199. dynamic $setNPCFightStats, 'jab', rand(40,60)
  200. dynamic $setNPCFightStats, 'stren', rand(60,80)
  201. dynamic $setNPCFightStats, 'agil', rand(30,50)
  202. dynamic $setNPCFightStats, 'vital', rand(40,60)
  203. dynamic $setNPCFightStats, 'react', rand(30,50)
  204. dynamic $setNPCFightStats, 'willpwr', 100
  205. dynamic $setNPCFightStats, 'shoot', 100
  206. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  207. if rand(0,10) < 5:
  208. fightEnding = 8
  209. else
  210. fightEnding = 9
  211. end
  212. end
  213. if $args[0] = 'snatcher':
  214. dynamic $setNPCFightStats, 'name', 'Purse Snatcher'
  215. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/pursesnatch.jpg'
  216. dynamic $setNPCFightStats, 'def', rand(40,60)
  217. dynamic $setNPCFightStats, 'run', rand(40,60)
  218. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  219. dynamic $setNPCFightStats, 'kick', 0
  220. dynamic $setNPCFightStats, 'punch', rand(40,60)
  221. dynamic $setNPCFightStats, 'jab', rand(40,60)
  222. dynamic $setNPCFightStats, 'stren', rand(60,80)
  223. dynamic $setNPCFightStats, 'agil', rand(30,50)
  224. dynamic $setNPCFightStats, 'vital', rand(40,60)
  225. dynamic $setNPCFightStats, 'react', rand(30,50)
  226. dynamic $setNPCFightStats, 'willpwr', 100
  227. dynamic $setNPCFightStats, 'shoot', 100
  228. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  229. fightEnding = 9
  230. end
  231. if $args[0] = 'dimka':
  232. dynamic $setNPCFightStats, 'name', 'Dimka'
  233. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/big1.jpg'
  234. dynamic $setNPCFightStats, 'def', 50
  235. dynamic $setNPCFightStats, 'run', 50
  236. dynamic $setNPCFightStats, 'wrstlng', 10
  237. dynamic $setNPCFightStats, 'kick', 0
  238. dynamic $setNPCFightStats, 'punch', 50
  239. dynamic $setNPCFightStats, 'jab', 50
  240. dynamic $setNPCFightStats, 'stren', 100
  241. dynamic $setNPCFightStats, 'agil', 40
  242. dynamic $setNPCFightStats, 'vital', 50
  243. dynamic $setNPCFightStats, 'react', 40
  244. dynamic $setNPCFightStats, 'willpwr', 100
  245. dynamic $setNPCFightStats, 'shoot', 100
  246. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  247. fightEnding = 10
  248. end
  249. if $args[0] = 'stranger':
  250. dynamic $setNPCFightStats, 'name', 'Stranger'
  251. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/rapist.jpg'
  252. dynamic $setNPCFightStats, 'def', 10
  253. dynamic $setNPCFightStats, 'run', 20
  254. dynamic $setNPCFightStats, 'wrstlng', 10
  255. dynamic $setNPCFightStats, 'kick', 0
  256. dynamic $setNPCFightStats, 'punch', 10
  257. dynamic $setNPCFightStats, 'jab', 10
  258. dynamic $setNPCFightStats, 'stren', 100
  259. dynamic $setNPCFightStats, 'agil', 10
  260. dynamic $setNPCFightStats, 'vital', 50
  261. dynamic $setNPCFightStats, 'react', 10
  262. dynamic $setNPCFightStats, 'willpwr', 100
  263. dynamic $setNPCFightStats, 'shoot', 100
  264. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  265. fightEnding = 11
  266. end
  267. if $args[0] = 'christina':
  268. dynamic $setNPCFightStats, 'name', 'Christina'
  269. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/18.jpg'
  270. dynamic $setNPCFightStats, 'def', 45
  271. dynamic $setNPCFightStats, 'run', 80
  272. dynamic $setNPCFightStats, 'wrstlng', 10
  273. dynamic $setNPCFightStats, 'kick', 10
  274. dynamic $setNPCFightStats, 'punch', 35
  275. dynamic $setNPCFightStats, 'jab', 35
  276. dynamic $setNPCFightStats, 'stren', 85
  277. dynamic $setNPCFightStats, 'agil', 75
  278. dynamic $setNPCFightStats, 'vital', 95
  279. dynamic $setNPCFightStats, 'react', 75
  280. dynamic $setNPCFightStats, 'willpwr', 45
  281. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  282. fightEnding = 12
  283. end
  284. if $args[0] = 'stallion':
  285. dynamic $setNPCFightStats, 'name', 'Naked Man'
  286. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/rapist.jpg'
  287. dynamic $setNPCFightStats, 'def', 100
  288. dynamic $setNPCFightStats, 'run', 100
  289. dynamic $setNPCFightStats, 'wrstlng', 100
  290. dynamic $setNPCFightStats, 'kick', 100
  291. dynamic $setNPCFightStats, 'punch', 100
  292. dynamic $setNPCFightStats, 'jab', 100
  293. dynamic $setNPCFightStats, 'stren', 100
  294. dynamic $setNPCFightStats, 'agil', 300
  295. dynamic $setNPCFightStats, 'vital', 200
  296. dynamic $setNPCFightStats, 'react', 100
  297. dynamic $setNPCFightStats, 'willpwr', 100
  298. dynamic $setNPCFightStats, 'shoot', 10
  299. dynamic $setNPCFightStats, 'magik', 1
  300. dynamic $setNPCFightStats, 'mana', 200
  301. dynamic $setNPCFightStats, 'spells', 'clone,energo'
  302. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  303. fightEnding = 13
  304. end
  305. if $args[0] = 'ganggirl':
  306. dynamic $setNPCFightStats, 'name', 'Gang Girl'
  307. dynamic $setNPCFightStats, 'image', 'images/characters/shared/<<rand(31,60)>>.jpg'
  308. dynamic $setNPCFightStats, 'def', rand(5,15)
  309. dynamic $setNPCFightStats, 'run', rand(25,35)
  310. dynamic $setNPCFightStats, 'wrstlng', rand(5,15)
  311. dynamic $setNPCFightStats, 'kick', rand(5,15)
  312. dynamic $setNPCFightStats, 'punch', rand(5,15)
  313. dynamic $setNPCFightStats, 'jab', rand(5,15)
  314. dynamic $setNPCFightStats, 'stren', rand(15,30)
  315. dynamic $setNPCFightStats, 'agil', rand(25,35)
  316. dynamic $setNPCFightStats, 'vital', rand(25,35)
  317. dynamic $setNPCFightStats, 'react', rand(25,35)
  318. dynamic $setNPCFightStats, 'willpwr', 50
  319. dynamic $setNPCFightStats, 'shoot', rand(25,35)
  320. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  321. fightEnding = 14
  322. end
  323. if $args[0] = 'girls':
  324. dynamic $setNPCFightStats, 'name', 'The group of girls'
  325. dynamic $setNPCFightStats, 'image', 'images/locations/shared/street/girlgang.jpg'
  326. dynamic $setNPCFightStats, 'def', 50
  327. dynamic $setNPCFightStats, 'run', 50
  328. dynamic $setNPCFightStats, 'wrstlng', 10
  329. dynamic $setNPCFightStats, 'kick', 0
  330. dynamic $setNPCFightStats, 'punch', 50
  331. dynamic $setNPCFightStats, 'jab', 50
  332. dynamic $setNPCFightStats, 'stren', 100
  333. dynamic $setNPCFightStats, 'agil', 60
  334. dynamic $setNPCFightStats, 'vital', 60
  335. dynamic $setNPCFightStats, 'react', 60
  336. dynamic $setNPCFightStats, 'willpwr', 100
  337. dynamic $setNPCFightStats, 'shoot', 100
  338. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  339. fightEnding = 14
  340. end
  341. if $args[0] = 'silvestr':
  342. dynamic $setNPCFightStats, 'name', 'Silvestr'
  343. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/248.jpg'
  344. dynamic $setNPCFightStats, 'def', 30
  345. dynamic $setNPCFightStats, 'run', 50
  346. dynamic $setNPCFightStats, 'wrstlng', 10
  347. dynamic $setNPCFightStats, 'kick', 10
  348. dynamic $setNPCFightStats, 'punch', 40
  349. dynamic $setNPCFightStats, 'jab', 30
  350. dynamic $setNPCFightStats, 'stren', 50
  351. dynamic $setNPCFightStats, 'agil', 45
  352. dynamic $setNPCFightStats, 'vital', 60
  353. dynamic $setNPCFightStats, 'react', 50
  354. dynamic $setNPCFightStats, 'willpwr', 25
  355. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  356. fightEnding = 15
  357. end
  358. if $args[0] = 'bitch squad':
  359. dynamic $setNPCFightStats, 'name', 'The bitch squad'
  360. dynamic $setNPCFightStats, 'image', 'images/characters/pavlovsk/school/girl/katja/KWT14.jpg'
  361. dynamic $setNPCFightStats, 'def', 50
  362. dynamic $setNPCFightStats, 'run', 50
  363. dynamic $setNPCFightStats, 'wrstlng', 10
  364. dynamic $setNPCFightStats, 'kick', 0
  365. dynamic $setNPCFightStats, 'punch', 50
  366. dynamic $setNPCFightStats, 'jab', 50
  367. dynamic $setNPCFightStats, 'stren', 100
  368. dynamic $setNPCFightStats, 'agil', 60
  369. dynamic $setNPCFightStats, 'vital', 60
  370. dynamic $setNPCFightStats, 'react', 60
  371. dynamic $setNPCFightStats, 'willpwr', 100
  372. dynamic $setNPCFightStats, 'shoot', 100
  373. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  374. fightEnding = 16
  375. end
  376. if $args[0] = 'btatiana':
  377. dynamic $setNPCFightStats, 'name', 'BTatiana'
  378. dynamic $setNPCFightStats, 'image', 'images/characters/city/btatiana/ST1.jpg'
  379. dynamic $setNPCFightStats, 'def', 55
  380. dynamic $setNPCFightStats, 'run', 100
  381. dynamic $setNPCFightStats, 'wrstlng', 1
  382. dynamic $setNPCFightStats, 'kick', 25
  383. dynamic $setNPCFightStats, 'punch', 25
  384. dynamic $setNPCFightStats, 'jab', 25
  385. dynamic $setNPCFightStats, 'stren', 5
  386. dynamic $setNPCFightStats, 'agil', 75
  387. dynamic $setNPCFightStats, 'vital', 75
  388. dynamic $setNPCFightStats, 'react', 85
  389. dynamic $setNPCFightStats, 'willpwr', 75
  390. dynamic $setNPCFightStats, 'shoot', 75
  391. dynamic $setNPCFightStats, 'magik', 1
  392. dynamic $setNPCFightStats, 'mana', 100
  393. dynamic $setNPCFightStats, 'spells', 'energo,dambonus,init'
  394. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  395. fightEnding = 17
  396. end
  397. if $args[0] = 'sandbaggingana':
  398. dynamic $setNPCFightStats, 'name', 'Ana'
  399. dynamic $setNPCFightStats, 'image', 'images/characters/city/ana/action.jpg'
  400. dynamic $setNPCFightStats, 'def', 65
  401. dynamic $setNPCFightStats, 'run', 100
  402. dynamic $setNPCFightStats, 'wrstlng', 25
  403. dynamic $setNPCFightStats, 'kick', 35
  404. dynamic $setNPCFightStats, 'punch', 40
  405. dynamic $setNPCFightStats, 'jab', 35
  406. dynamic $setNPCFightStats, 'stren', 75
  407. dynamic $setNPCFightStats, 'agil', 110
  408. dynamic $setNPCFightStats, 'vital', 110
  409. dynamic $setNPCFightStats, 'react', 115
  410. dynamic $setNPCFightStats, 'willpwr', 75
  411. dynamic $setNPCFightStats, 'shoot', 75
  412. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  413. fightEnding = 18
  414. end
  415. if $args[0] = 'anagopniks':
  416. dynamic $setNPCFightStats, 'name', 'Pissed Gopniks'
  417. dynamic $setNPCFightStats, 'image', 'images/characters/city/ana/gopniks.jpg'
  418. dynamic $setNPCFightStats, 'def', 60
  419. dynamic $setNPCFightStats, 'run', 60
  420. dynamic $setNPCFightStats, 'wrstlng', 20
  421. dynamic $setNPCFightStats, 'kick', 10
  422. dynamic $setNPCFightStats, 'punch', 60
  423. dynamic $setNPCFightStats, 'jab', 60
  424. dynamic $setNPCFightStats, 'stren', 100
  425. dynamic $setNPCFightStats, 'agil', 70
  426. dynamic $setNPCFightStats, 'vital', 70
  427. dynamic $setNPCFightStats, 'react', 70
  428. dynamic $setNPCFightStats, 'willpwr', 110
  429. dynamic $setNPCFightStats, 'shoot', 110
  430. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  431. fightEnding = 19
  432. end
  433. if $args[0] = 'bossana':
  434. dynamic $setNPCFightStats, 'name', 'Ana'
  435. dynamic $setNPCFightStats, 'image', 'images/characters/city/ana/boss.jpg'
  436. dynamic $setNPCFightStats, 'def', 75
  437. dynamic $setNPCFightStats, 'run', 100
  438. dynamic $setNPCFightStats, 'wrstlng', 50
  439. dynamic $setNPCFightStats, 'kick', 50
  440. dynamic $setNPCFightStats, 'punch', 60
  441. dynamic $setNPCFightStats, 'jab', 50
  442. dynamic $setNPCFightStats, 'stren', 150
  443. dynamic $setNPCFightStats, 'agil', 150
  444. dynamic $setNPCFightStats, 'vital', 150
  445. dynamic $setNPCFightStats, 'react', 150
  446. dynamic $setNPCFightStats, 'willpwr', 75
  447. dynamic $setNPCFightStats, 'shoot', 75
  448. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  449. fightEnding = 20
  450. end
  451. if $args[0] = 'gopnews_1':
  452. dynamic $setNPCFightStats, 'name', 'Vasan'
  453. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/102.jpg'
  454. dynamic $setNPCFightStats, 'def', 15
  455. dynamic $setNPCFightStats, 'run', 30
  456. dynamic $setNPCFightStats, 'wrstlng', 50
  457. dynamic $setNPCFightStats, 'kick', 10
  458. dynamic $setNPCFightStats, 'punch', 30
  459. dynamic $setNPCFightStats, 'jab', 20
  460. dynamic $setNPCFightStats, 'stren', 40
  461. dynamic $setNPCFightStats, 'agil', 30
  462. dynamic $setNPCFightStats, 'vital', 30
  463. dynamic $setNPCFightStats, 'react', 30
  464. dynamic $setNPCFightStats, 'willpwr', 25
  465. dynamic $setNPCFightStats, 'shoot', 35
  466. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  467. end
  468. if $args[0] = 'gopnews_2':
  469. dynamic $setNPCFightStats, 'name', 'Bereza'
  470. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/103.jpg'
  471. dynamic $setNPCFightStats, 'def', 10
  472. dynamic $setNPCFightStats, 'run', 20
  473. dynamic $setNPCFightStats, 'wrstlng', 10
  474. dynamic $setNPCFightStats, 'kick', 0
  475. dynamic $setNPCFightStats, 'punch', 20
  476. dynamic $setNPCFightStats, 'jab', 10
  477. dynamic $setNPCFightStats, 'stren', 20
  478. dynamic $setNPCFightStats, 'agil', 20
  479. dynamic $setNPCFightStats, 'vital', 20
  480. dynamic $setNPCFightStats, 'react', 20
  481. dynamic $setNPCFightStats, 'willpwr', 15
  482. dynamic $setNPCFightStats, 'shoot', 15
  483. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  484. end
  485. if $args[0] = 'gopnews_3':
  486. dynamic $setNPCFightStats, 'name', 'Konstantin'
  487. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/104.jpg'
  488. dynamic $setNPCFightStats, 'def', 10
  489. dynamic $setNPCFightStats, 'run', 20
  490. dynamic $setNPCFightStats, 'wrstlng', 10
  491. dynamic $setNPCFightStats, 'kick', 0
  492. dynamic $setNPCFightStats, 'punch', 20
  493. dynamic $setNPCFightStats, 'jab', 10
  494. dynamic $setNPCFightStats, 'stren', 20
  495. dynamic $setNPCFightStats, 'agil', 20
  496. dynamic $setNPCFightStats, 'vital', 20
  497. dynamic $setNPCFightStats, 'react', 20
  498. dynamic $setNPCFightStats, 'willpwr', 15
  499. dynamic $setNPCFightStats, 'shoot', 15
  500. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  501. end
  502. if $args[0] = 'gopnews_4':
  503. dynamic $setNPCFightStats, 'name', 'Kostil'
  504. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/105.jpg'
  505. dynamic $setNPCFightStats, 'def', 10
  506. dynamic $setNPCFightStats, 'run', 20
  507. dynamic $setNPCFightStats, 'wrstlng', 10
  508. dynamic $setNPCFightStats, 'kick', 0
  509. dynamic $setNPCFightStats, 'punch', 20
  510. dynamic $setNPCFightStats, 'jab', 10
  511. dynamic $setNPCFightStats, 'stren', 20
  512. dynamic $setNPCFightStats, 'agil', 20
  513. dynamic $setNPCFightStats, 'vital', 20
  514. dynamic $setNPCFightStats, 'react', 20
  515. dynamic $setNPCFightStats, 'willpwr', 15
  516. dynamic $setNPCFightStats, 'shoot', 15
  517. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  518. end
  519. if $args[0] = 'gopnews_5':
  520. dynamic $setNPCFightStats, 'name', 'Udmurt'
  521. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/106.jpg'
  522. dynamic $setNPCFightStats, 'def', 15
  523. dynamic $setNPCFightStats, 'run', 50
  524. dynamic $setNPCFightStats, 'wrstlng', 0
  525. dynamic $setNPCFightStats, 'kick', 0
  526. dynamic $setNPCFightStats, 'punch', 20
  527. dynamic $setNPCFightStats, 'jab', 20
  528. dynamic $setNPCFightStats, 'stren', 30
  529. dynamic $setNPCFightStats, 'agil', 20
  530. dynamic $setNPCFightStats, 'vital', 20
  531. dynamic $setNPCFightStats, 'react', 20
  532. dynamic $setNPCFightStats, 'willpwr', 15
  533. dynamic $setNPCFightStats, 'shoot', 15
  534. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  535. end
  536. if $args[0] = 'gopnews_6':
  537. dynamic $setNPCFightStats, 'name', 'Gray'
  538. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/107.jpg'
  539. dynamic $setNPCFightStats, 'def', 75
  540. dynamic $setNPCFightStats, 'run', 100
  541. dynamic $setNPCFightStats, 'wrstlng', 20
  542. dynamic $setNPCFightStats, 'kick', 0
  543. dynamic $setNPCFightStats, 'punch', 40
  544. dynamic $setNPCFightStats, 'jab', 40
  545. dynamic $setNPCFightStats, 'stren', 50
  546. dynamic $setNPCFightStats, 'agil', 50
  547. dynamic $setNPCFightStats, 'vital', 50
  548. dynamic $setNPCFightStats, 'react', 50
  549. dynamic $setNPCFightStats, 'willpwr', 25
  550. dynamic $setNPCFightStats, 'shoot', 50
  551. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  552. end
  553. if $args[0] = 'lena':
  554. dynamic $setNPCFightStats, 'name', 'Lena'
  555. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/20.jpg'
  556. dynamic $setNPCFightStats, 'def', 50
  557. dynamic $setNPCFightStats, 'run', 50
  558. dynamic $setNPCFightStats, 'wrstlng', 60
  559. dynamic $setNPCFightStats, 'kick', 60
  560. dynamic $setNPCFightStats, 'punch', 70
  561. dynamic $setNPCFightStats, 'jab', 65
  562. dynamic $setNPCFightStats, 'stren', 85
  563. dynamic $setNPCFightStats, 'agil', 70
  564. dynamic $setNPCFightStats, 'vital', 80
  565. dynamic $setNPCFightStats, 'react', 65
  566. dynamic $setNPCFightStats, 'willpwr', 90
  567. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  568. end
  569. if $args[0] = 'lera':
  570. dynamic $setNPCFightStats, 'name', 'Lera'
  571. dynamic $setNPCFightStats, 'image', 'images/characters/shared/headshots_main/21.jpg'
  572. dynamic $setNPCFightStats, 'def', 30
  573. dynamic $setNPCFightStats, 'run', 40
  574. dynamic $setNPCFightStats, 'wrstlng', 30
  575. dynamic $setNPCFightStats, 'kick', 50
  576. dynamic $setNPCFightStats, 'punch', 50
  577. dynamic $setNPCFightStats, 'jab', 40
  578. dynamic $setNPCFightStats, 'stren', 70
  579. dynamic $setNPCFightStats, 'agil', 60
  580. dynamic $setNPCFightStats, 'vital', 70
  581. dynamic $setNPCFightStats, 'react', 60
  582. dynamic $setNPCFightStats, 'willpwr', 80
  583. dynamic $setNPCFightStats, 'health', dyneval($calcNPCFightHealth)
  584. end
  585. if $ARGS[2] ! '':
  586. dynamic $setNPCFightStats, 'name', $ARGS[2]
  587. end
  588. --- fight_npcdata ---------------------------------