Guest User

hollow

a guest
Dec 3rd, 2019
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //CHECK
  2. obj
  3. var
  4. tmp/notenemy = 0
  5. mob
  6. shinigaminormal
  7. name = "{NPC}Shinigami"
  8. icon = 'shinigamis.dmi'
  9. icon_state = "normal"
  10. enemy = 1
  11. health = 5000000
  12. attack = 1530500
  13. defence = 5000000
  14. reiatsu = 15000
  15. healthgain = 10000
  16. reigain = 1000
  17. strgain = 4000
  18. defgain = 4000
  19. reipgain = 3000
  20. expgain = 30000
  21. spawntime = 100
  22. soulfragments = 15000
  23. soulfragmentswas = 15000
  24. Bump(mob/M)
  25. ..()
  26. var/mob/P = M
  27. if(src.fighting)
  28. return
  29. if(istype(M,/mob/))
  30. if(M.enemy)
  31. return
  32. if(M.ispedal)
  33. return
  34. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  35. if(damage < 1)
  36. damage = 1
  37. P.health -= damage
  38. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  39. P.Death(src)
  40. src.frozen = 1
  41. sleep(10)
  42. src.frozen = 0
  43. New()
  44. src.oldspot = src.loc
  45. serp
  46. for(var/obj/M in oview(2))
  47. if(M.zer == 0&&M.Gowner != src)
  48. step_away(src,M)
  49. for(var/mob/zabimaru/M in oview(1))
  50. step_away(src,M)
  51. for(var/mob/M in oview(10))
  52. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race != "Vaizard"||M.hollowprotection&&M.race != "Hollow"||M.hollowprotection&&M.race != "Arrancar")
  53. M.health += 0
  54. else
  55. step_towards(src,M)
  56. src.random = rand(1,10)
  57. if(src.random == 1)
  58. if(src.x == M.x)
  59. if(!src.ceroc)
  60. src.ceroc = 1
  61. view(8) << "<b>[src]: Destruction Spell No.31! Shakkahou!"
  62. if(src.y > M.y)
  63. src.dir = SOUTH
  64. if(src.y < M.y)
  65. src.dir = NORTH
  66. var/K = new/obj/shakkahou(usr.loc)
  67. K:Gowner = usr
  68. K:dir = usr.dir
  69. walk(K,usr.dir)
  70. spawn(45)
  71. src.ceroc = 0
  72. if(src.y == M.y)
  73. if(!src.ceroc)
  74. src.ceroc = 1
  75. view(8) << "<b>[src]: Destruction Spell No.31! Shakkahou!"
  76. if(src.x > M.x)
  77. src.dir = WEST
  78. if(src.x < M.x)
  79. src.dir = EAST
  80. var/K = new/obj/shakkahou(usr.loc)
  81. K:Gowner = usr
  82. K:dir = usr.dir
  83. walk(K,usr.dir)
  84. spawn(50)
  85. src.ceroc = 0
  86. spawn(3)
  87. goto serp
  88. mob
  89. meno
  90. name = "{NPC}Menos Grande"
  91. icon = 'meno.dmi'
  92. icon_state = ""
  93. enemy = 1
  94. health = 100000000
  95. attack = 3540500
  96. defence = 5000000
  97. reiatsu = 2500000
  98. healthwas = 21000
  99. healthgain = 15000
  100. reigain = 2000
  101. strgain = 5000
  102. defgain = 4000
  103. reipgain = 5000
  104. expgain = 75000
  105. spawntime = 150
  106. soulfragments = 20000
  107. soulfragmentswas = 20000
  108. New()
  109. src.overlays += /obj/menos2
  110. src.overlays += /obj/menos3
  111. src.oldspot = src.loc
  112. serp
  113. for(var/obj/M in oview(2))
  114. if(M.zer == 0&&M.Gowner != src)
  115. step_away(src,M)
  116. for(var/mob/zabimaru/M in oview(1))
  117. step_away(src,M)
  118. for(var/mob/M in oview(10))
  119. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  120. M.health += 0
  121. else
  122. step_towards(src,M)
  123. src.random = rand(1,10)
  124. if(src.random == 1)
  125. if(src.x == M.x)
  126. if(!src.ceroc)
  127. src.ceroc = 1
  128. view(src,8) << "<b><font color = red>[src]: Cero!"
  129. var/WE = new/obj/ccharge(src.loc)
  130. WE:dir = src.dir
  131. sleep(8)
  132. if(src.y > M.y)
  133. src.dir = SOUTH
  134. if(src.y < M.y)
  135. src.dir = NORTH
  136. var/K = new/obj/cero(usr.loc)
  137. K:Gowner = usr
  138. K:dir = usr.dir
  139. walk(K,usr.dir)
  140. spawn(45)
  141. src.ceroc = 0
  142. if(src.y == M.y)
  143. if(!src.ceroc)
  144. src.ceroc = 1
  145. view(src,8) << "<b><font color = red>[src]: Cero!"
  146. var/WE = new/obj/ccharge(src.loc)
  147. WE:dir = src.dir
  148. sleep(8)
  149. if(src.x > M.x)
  150. src.dir = WEST
  151. if(src.x < M.x)
  152. src.dir = EAST
  153. var/K = new/obj/cero(usr.loc)
  154. K:Gowner = usr
  155. K:dir = usr.dir
  156. walk(K,usr.dir)
  157. spawn(45)
  158. src.ceroc = 0
  159. spawn(4)
  160. goto serp
  161. Bump(mob/M)
  162. ..()
  163. var/mob/P = M
  164. if(src.fighting)
  165. return
  166. if(istype(M,/mob/))
  167. if(M.enemy)
  168. return
  169. if(M.ispedal)
  170. return
  171. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  172. if(damage < 1)
  173. damage = 1
  174. P.health -= damage
  175. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  176. P.Death(src)
  177. src.frozen = 1
  178. sleep(10)
  179. src.frozen = 0
  180.  
  181. mob
  182. hollowdemi
  183. name = "{NPC}Demi Hollow"
  184. icon = 'hollowdemi.dmi'
  185. icon_state = ""
  186. enemy = 1
  187. health = 10
  188. attack = 10
  189. defence = 0
  190. healthwas = 600
  191. healthgain = 10000
  192. reigain = 1000
  193. strgain = 1000
  194. defgain = 1000
  195. reipgain = 1000
  196. expgain = 10000
  197. spawntime = 60
  198. soulfragments = 1000
  199. soulfragmentswas = 1000
  200. New()
  201. src.oldspot = src.loc
  202. serp
  203. for(var/obj/M in oview(2))
  204. if(M.zer == 0)
  205. step_away(src,M)
  206. for(var/mob/zabimaru/M in oview(1))
  207. step_away(src,M)
  208. for(var/mob/M in oview(10))
  209. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  210. M.health += 0
  211. else
  212. step_towards(src,M)
  213. spawn(3)
  214. goto serp
  215. Bump(mob/M)
  216. ..()
  217. var/mob/P = M
  218. if(src.fighting)
  219. return
  220. if(istype(M,/mob/))
  221. if(M.enemy)
  222. return
  223. if(M.ispedal)
  224. return
  225. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  226. if(damage < 1)
  227. damage = 1
  228. P.health -= damage
  229. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  230. P.Death(src)
  231. src.frozen = 1
  232. sleep(10)
  233. src.frozen = 0
  234.  
  235. mob
  236. hollow
  237. name = "{NPC}Hollow"
  238. icon = 'hollow.dmi'
  239. icon_state = ""
  240. enemy = 1
  241. health = 2500000
  242. attack = 105000
  243. defence = 500100
  244. reiatsu = 300000
  245. healthwas = 1800
  246. healthgain = 5000
  247. reigain = 1000
  248. strgain = 1000
  249. defgain = 3000
  250. reipgain = 3000
  251. expgain = 15000
  252. spawntime = 200
  253. soulfragments = 2500
  254. soulfragmentswas = 2500
  255. New()
  256. src.oldspot = src.loc
  257. serp
  258. for(var/obj/M in oview(2))
  259. if(M.zer == 0)
  260. step_away(src,M)
  261. for(var/mob/zabimaru/M in oview(1))
  262. step_away(src,M)
  263. for(var/mob/M in oview(10))
  264. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  265. M.health += 0
  266. else
  267. step_towards(src,M)
  268. src.random = rand(1,25)
  269. if(src.random == 1)
  270. if(src.x == M.x)
  271. if(!src.ceroc)
  272. src.ceroc = 1
  273. view(src,8) << "<b><font color = red>[src]: Cero!"
  274. var/WE = new/obj/ccharge(src.loc)
  275. WE:dir = src.dir
  276. sleep(8)
  277. if(src.y > M.y)
  278. src.dir = SOUTH
  279. if(src.y < M.y)
  280. src.dir = NORTH
  281. var/K = new/obj/cero(usr.loc)
  282. K:Gowner = usr
  283. K:dir = usr.dir
  284. walk(K,usr.dir)
  285. spawn(45)
  286. src.ceroc = 0
  287. if(src.y == M.y)
  288. if(!src.ceroc)
  289. src.ceroc = 1
  290. view(src,8) << "<b><font color = red>[src]: Cero!"
  291. var/WE = new/obj/ccharge(src.loc)
  292. WE:dir = src.dir
  293. sleep(8)
  294. if(src.x > M.x)
  295. src.dir = WEST
  296. if(src.x < M.x)
  297. src.dir = EAST
  298. var/K = new/obj/cero(usr.loc)
  299. K:Gowner = usr
  300. K:dir = usr.dir
  301. walk(K,usr.dir)
  302. spawn(45)
  303. src.ceroc = 0
  304. spawn(3)
  305. goto serp
  306. Bump(mob/M)
  307. ..()
  308. var/mob/P = M
  309. if(src.fighting)
  310. return
  311. if(istype(M,/mob/))
  312. if(M.enemy)
  313. return
  314. if(M.ispedal)
  315. return
  316. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  317. if(damage < 1)
  318. damage = 1
  319. P.health -= damage
  320. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  321. P.Death(src)
  322. src.frozen = 1
  323. sleep(10)
  324. src.frozen = 0
  325.  
  326. mob
  327. var
  328. tmp/fighting = 0
  329.  
  330.  
  331. obj
  332. menos2
  333. icon = 'meno.dmi'
  334. icon_state = "1"
  335. pixel_y = 32
  336. layer = 5000
  337. obj
  338. menos3
  339. icon = 'meno.dmi'
  340. icon_state = "2"
  341. pixel_y = 64
  342. layer = 5000
  343. obj
  344. strong1
  345. icon = 'hollowstrong.dmi'
  346. icon_state = "downleft"
  347. pixel_x = -32
  348. layer = 5000
  349. obj
  350. strong2
  351. icon = 'hollowstrong.dmi'
  352. icon_state = "downright"
  353. pixel_x = 32
  354. layer = 5000
  355. obj
  356. strong3
  357. icon = 'hollowstrong.dmi'
  358. icon_state = "up"
  359. pixel_y = 32
  360. layer = 5000
  361. obj
  362. strong4
  363. icon = 'hollowstrong.dmi'
  364. icon_state = "upright"
  365. pixel_y = 32
  366. pixel_x = 32
  367. layer = 5000
  368. obj
  369. strong5
  370. icon = 'hollowstrong.dmi'
  371. icon_state = "upleft"
  372. pixel_y = 32
  373. pixel_x = -32
  374. layer = 5000
  375. mob
  376. var
  377. var/ceroc = 0
  378. mob
  379. stronghollow
  380. name = "{NPC}Strong Hollow"
  381. icon = 'hollowstrong.dmi'
  382. icon_state = ""
  383. enemy = 1
  384. health = 12500000
  385. attack = 100000
  386. defence = 1750000
  387. reiatsu = 7000000
  388. healthwas = 5000
  389. healthgain = 10000
  390. reigain = 1000
  391. strgain = 4000
  392. defgain = 1400
  393. reipgain = 3000
  394. expgain = 45000
  395. spawntime = 240
  396. soulfragments = 5000
  397. soulfragmentswas = 5000
  398. New()
  399. src.overlays += /obj/strong1
  400. src.overlays += /obj/strong2
  401. src.overlays += /obj/strong3
  402. src.overlays += /obj/strong4
  403. src.overlays += /obj/strong5
  404. src.oldspot = src.loc
  405. serp
  406. for(var/obj/M in oview(2))
  407. if(M.zer == 0)
  408. step_away(src,M)
  409. for(var/mob/zabimaru/M in oview(1))
  410. step_away(src,M)
  411. for(var/mob/M in oview(10))
  412. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  413. M.health += 0
  414. else
  415. step_towards(src,M)
  416. src.random = rand(1,10)
  417. if(src.random == 1)
  418. if(src.x == M.x)
  419. if(!src.ceroc)
  420. src.ceroc = 1
  421. view(src,8) << "<b><font color = red>[src]: Cero!"
  422. var/WE = new/obj/ccharge(src.loc)
  423. WE:dir = src.dir
  424. sleep(8)
  425. if(src.y > M.y)
  426. src.dir = SOUTH
  427. if(src.y < M.y)
  428. src.dir = NORTH
  429. var/K = new/obj/cero(usr.loc)
  430. K:Gowner = usr
  431. K:dir = usr.dir
  432. walk(K,usr.dir)
  433. spawn(45)
  434. src.ceroc = 0
  435. if(src.y == M.y)
  436. if(!src.ceroc)
  437. src.ceroc = 1
  438. view(src,8) << "<b><font color = red>[src]: Cero!"
  439. var/WE = new/obj/ccharge(src.loc)
  440. WE:dir = src.dir
  441. sleep(8)
  442. if(src.x > M.x)
  443. src.dir = WEST
  444. if(src.x < M.x)
  445. src.dir = EAST
  446. var/K = new/obj/cero(usr.loc)
  447. K:Gowner = usr
  448. K:dir = usr.dir
  449. walk(K,usr.dir)
  450. spawn(45)
  451. src.ceroc = 0
  452.  
  453. spawn(4)
  454. goto serp
  455. Bump(mob/M)
  456. ..()
  457. var/mob/P = M
  458. if(src.fighting)
  459. return
  460. if(istype(M,/mob/))
  461. if(M.enemy)
  462. return
  463. if(M.ispedal)
  464. return
  465. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  466. if(damage < 1)
  467. damage = 1
  468. P.health -= damage
  469. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  470. P.Death(src)
  471. src.frozen = 1
  472. sleep(10)
  473. src.frozen = 0
  474. mob
  475. var
  476. tmp/vailast = 0
  477. mob
  478. arrancar1
  479. name = "{NPC}Numero Arrancar"
  480. icon = 'hollowarrancar.dmi'
  481. icon_state = ""
  482. enemy = 1
  483. rundelay = 0
  484. health = 10000000000
  485. attack = 10000000
  486. defence = 5000000000
  487. reiatsu = 290000000
  488. healthwas = 28000
  489. healthgain = 25000
  490. reigain = 11500
  491. strgain = 19000
  492. defgain = 19000
  493. reipgain = 19000
  494. expgain = 100000
  495. spawntime = 500
  496. soulfragments = 50000
  497. soulfragmentswas = 50000
  498. New()
  499. src.oldspot = src.loc
  500. serp
  501. for(var/obj/M in oview(2))
  502. if(M.zer == 0)
  503. step_away(src,M)
  504. for(var/mob/zabimaru/M in oview(1))
  505. step_away(src,M)
  506. for(var/mob/M in oview(10))
  507. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  508. M.health += 0
  509. else
  510. step_towards(src,M)
  511. src.random = rand(1,7)
  512. if(src.random == 1)
  513. if(src.x == M.x)
  514. if(!src.ceroc)
  515. src.ceroc = 1
  516. view(src,8) << "<b><font color = red>[src]: Cero!"
  517. var/WE = new/obj/ccharge(src.loc)
  518. WE:dir = src.dir
  519. sleep(8)
  520. if(src.y > M.y)
  521. src.dir = SOUTH
  522. if(src.y < M.y)
  523. src.dir = NORTH
  524. var/K = new/obj/cero(usr.loc)
  525. K:Gowner = usr
  526. K:dir = usr.dir
  527. walk(K,usr.dir)
  528. spawn(45)
  529. src.ceroc = 0
  530. if(src.y == M.y)
  531. if(!src.ceroc)
  532. src.ceroc = 1
  533. view(src,8) << "<b><font color = red>[src]: Cero!"
  534. var/WE = new/obj/ccharge(src.loc)
  535. WE:dir = src.dir
  536. sleep(8)
  537. if(src.x > M.x)
  538. src.dir = WEST
  539. if(src.x < M.x)
  540. src.dir = EAST
  541. var/K = new/obj/cero(usr.loc)
  542. K:Gowner = usr
  543. K:dir = usr.dir
  544. walk(K,usr.dir)
  545. spawn(45)
  546. src.ceroc = 0
  547. spawn(2)
  548. goto serp
  549. Bump(mob/M)
  550. ..()
  551. var/mob/P = M
  552. if(src.fighting)
  553. return
  554. if(istype(M,/mob/))
  555. if(M.enemy)
  556. return
  557. if(M.ispedal)
  558. return
  559. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  560. if(damage < 1)
  561. damage = 1
  562. P.health -= damage
  563. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  564. P.Death(src)
  565. src.frozen = 1
  566. sleep(10)
  567. src.frozen = 0
  568. mob
  569. shinigamilieu
  570. name = "{NPC}Shinigami Lieutenant"
  571. icon = 'shinigamis.dmi'
  572. icon_state = "lieu"
  573. enemy = 1
  574. rundelay = 0
  575. health = 100000000
  576. attack = 16500000
  577. defence = 16500000
  578. reiatsu = 35000000
  579. spawntime = 500
  580. healthwas = 2000
  581. healthgain = 2000
  582. reigain = 2000
  583. strgain = 2000
  584. defgain = 1500
  585. reipgain = 5000
  586. expgain = 40000
  587. soulfragments = 32500
  588. soulfragmentswas = 32500
  589. Bump(mob/M)
  590. ..()
  591. var/mob/P = M
  592. if(src.fighting)
  593. return
  594. if(istype(M,/mob/))
  595. if(M.enemy)
  596. return
  597. if(M.ispedal)
  598. return
  599. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  600. if(damage < 1)
  601. damage = 1
  602. P.health -= damage
  603. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  604. P.Death(src)
  605. src.frozen = 1
  606. sleep(10)
  607. src.frozen = 0
  608. New()
  609. src.oldspot = src.loc
  610. serp
  611. for(var/obj/M in oview(2))
  612. if(M.zer == 0&&M.Gowner != src)
  613. step_away(src,M)
  614. for(var/mob/zabimaru/M in oview(1))
  615. step_away(src,M)
  616. for(var/mob/M in oview(10))
  617. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race != "Vaizard"||M.hollowprotection&&M.race != "Hollow"||M.hollowprotection&&M.race != "Arrancar")
  618. M.health += 0
  619. else
  620. step_towards(src,M)
  621. src.random = rand(1,10)
  622. if(src.random == 1)
  623. if(src.x == M.x)
  624. if(!src.ceroc)
  625. src.ceroc = 1
  626. view(8) << "<b>[src]: Destruction Spell No.33! Soukatsui!"
  627. if(src.y > M.y)
  628. src.dir = SOUTH
  629. if(src.y < M.y)
  630. src.dir = NORTH
  631. var/K = new/obj/soukatsui(usr.loc)
  632. K:Gowner = usr
  633. K:dir = usr.dir
  634. walk(K,usr.dir)
  635. spawn(45)
  636. src.ceroc = 0
  637. if(src.y == M.y)
  638. if(!src.ceroc)
  639. src.ceroc = 1
  640. view(8) << "<b>[src]: Destruction Spell No.33! Soukatsui!"
  641. if(src.x > M.x)
  642. src.dir = WEST
  643. if(src.x < M.x)
  644. src.dir = EAST
  645. var/K = new/obj/soukatsui(usr.loc)
  646. K:Gowner = usr
  647. K:dir = usr.dir
  648. walk(K,usr.dir)
  649. spawn(50)
  650. src.ceroc = 0
  651. spawn(3)
  652. goto serp
  653. mob
  654. shinigamicaptain
  655. name = "{NPC}Shinigami Captain"
  656. icon = 'shinigamis.dmi'
  657. icon_state = "captain"
  658. enemy = 1
  659. rundelay = 0
  660. health = 6500000000
  661. attack = 300150000
  662. defence = 108000000
  663. reiatsu = 100000
  664. spawntime = 100
  665. healthwas = 65000
  666. healthgain = 25000
  667. reigain = 15000
  668. strgain = 9000
  669. defgain = 5000
  670. reipgain = 10000
  671. expgain = 125000
  672. soulfragments = 150000
  673. soulfragmentswas = 150000
  674. Bump(mob/M)
  675. ..()
  676. var/mob/P = M
  677. if(src.fighting)
  678. return
  679. if(istype(M,/mob/))
  680. if(M.enemy)
  681. return
  682. if(M.ispedal)
  683. return
  684. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  685. if(damage < 1)
  686. damage = 1
  687. P.health -= damage
  688. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  689. P.Death(src)
  690. src.frozen = 1
  691. sleep(10)
  692. src.frozen = 0
  693. New()
  694. src.oldspot = src.loc
  695. serp
  696. for(var/obj/M in oview(2))
  697. if(M.zer == 0&&M.Gowner != src)
  698. step_away(src,M)
  699. for(var/mob/zabimaru/M in oview(1))
  700. step_away(src,M)
  701. for(var/mob/M in oview(10))
  702. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race != "Vaizard"||M.hollowprotection&&M.race != "Hollow"||M.hollowprotection&&M.race != "Arrancar")
  703. M.health += 0
  704. else
  705. step_towards(src,M)
  706. src.random = rand(1,10)
  707. if(src.random == 1)
  708. if(src.x == M.x)
  709. if(!src.ceroc)
  710. src.ceroc = 1
  711. if(src.y > M.y)
  712. src.dir = SOUTH
  713. if(src.y < M.y)
  714. src.dir = NORTH
  715. var/K = new/obj/crack(usr.loc)
  716. K:Gowner = usr
  717. K:dir = usr.dir
  718. walk(K,usr.dir)
  719. spawn(10)
  720. src.ceroc = 0
  721. if(src.y == M.y)
  722. if(!src.ceroc)
  723. src.ceroc = 1
  724. if(src.x > M.x)
  725. src.dir = WEST
  726. if(src.x < M.x)
  727. src.dir = EAST
  728. var/K = new/obj/crack(usr.loc)
  729. K:Gowner = usr
  730. K:dir = usr.dir
  731. walk(K,usr.dir)
  732. spawn(10)
  733. src.ceroc = 0
  734. spawn(3)
  735. goto serp
  736. mob
  737. var
  738. tmp/vert = 0
  739. obj
  740. ccharge
  741. icon = 'cerocharge.dmi'
  742. layer = 100
  743. zer = 1
  744. New()
  745. spawn(8)
  746. del src
  747. mob
  748. arrancar2
  749. name = "{NPC}Espada Arrancar"
  750. icon = 'hollowarrancars.dmi'
  751. icon_state = ""
  752. enemy = 1
  753. rundelay = 0
  754. health = 10000000000000
  755. attack = 10000000
  756. defence = 50000000000
  757. reiatsu = 145000000
  758. healthwas = 70000
  759. expgain = 1000000
  760. healthgain = 1000000
  761. reigain = 200000
  762. strgain = 200000
  763. defgain = 200000
  764. reipgain = 2000
  765. spawntime = 160
  766. soulfragments = 500000
  767. soulfragmentswas = 500000
  768. New()
  769. src.oldspot = src.loc
  770. serp
  771. for(var/obj/M in oview(2))
  772. if(M.zer == 0)
  773. step_away(src,M)
  774. for(var/mob/zabimaru/M in oview(1))
  775. step_away(src,M)
  776. for(var/mob/M in oview(10))
  777. if(M.enemy||M.npc||M.ispedal||M.hollowprotection&&M.race == "Hollow"||M.hollowprotection&&M.race == "Arrancar")
  778. M.health += 0
  779. else
  780. step_towards(src,M)
  781. src.random = rand(1,6)
  782. if(src.random == 1)
  783. view(src,8) << "<b><font color = red>[src]: Cero!"
  784. var/WE = new/obj/ccharge(src.loc)
  785. WE:dir = src.dir
  786. sleep(8)
  787. if(src.x == M.x)
  788. if(!src.ceroc)
  789. src.ceroc = 1
  790. if(src.y > M.y)
  791. src.dir = SOUTH
  792. if(src.y < M.y)
  793. src.dir = NORTH
  794. var/K = new/obj/cero(usr.loc)
  795. K:Gowner = usr
  796. K:dir = usr.dir
  797. walk(K,usr.dir)
  798. spawn(45)
  799. src.ceroc = 0
  800. if(src.y == M.y)
  801. if(!src.ceroc)
  802. src.ceroc = 1
  803. M.moving = 0
  804. if(src.x > M.x)
  805. src.dir = WEST
  806. if(src.x < M.x)
  807. src.dir = EAST
  808. var/K = new/obj/cero(usr.loc)
  809. K:Gowner = usr
  810. K:dir = usr.dir
  811. walk(K,usr.dir)
  812. spawn(45)
  813. src.ceroc = 0
  814. spawn(1)
  815. goto serp
  816. Bump(mob/M)
  817. ..()
  818. var/mob/P = M
  819. if(src.fighting)
  820. return
  821. if(istype(M,/mob/))
  822. if(M.enemy)
  823. return
  824. if(M.ispedal)
  825. return
  826. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  827. if(damage < 1)
  828. damage = 1
  829. P.health -= damage
  830. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  831. P.Death(src)
  832. src.frozen = 1
  833. sleep(10)
  834. src.frozen = 0
  835.  
  836. mob
  837. hitchigo
  838. name = "{NPC}Inner Hollow"
  839. icon = 'ichigohollow.dmi'
  840. icon_state = ""
  841. vailast = 1
  842. health = 100000000
  843. attack = 10000000
  844. defence = 50000000
  845. rundelay = 0
  846. New()
  847. src.hitchigo()
  848. Bump(mob/M)
  849. ..()
  850. var/mob/P = M
  851. if(src.fighting)
  852. return
  853. if(istype(M,/mob/))
  854. if(M.enemy)
  855. return
  856. if(M.ispedal)
  857. return
  858. var/damage = rand(src.attack / 2,src.attack)-M.defence / 2
  859. if(damage < 1)
  860. damage = 1
  861. P.health -= damage
  862. view(src,8) << output("<b><font color = red>[src] attacked [P] for [damage] damage!","gametext")
  863. flick("spin",src)
  864. if(damage > 1)
  865. P.mdefence += rand(0,6)
  866. P.defence += rand(0,6)
  867. else
  868. P.mdefence += rand(0,3)
  869. P.defence += rand(0,3)
  870. P.Death(src)
  871. src.fighting = 1
  872. sleep(10)
  873. src.fighting = 0
  874. mob
  875. proc
  876. hitchigo()
  877. gar
  878. src.random = rand(1,10)
  879. if(src.random == 2||src.random == 3)
  880. for(var/mob/M in oview(20))
  881. step_towards(src,M)
  882. sleep(1)
  883. step_towards(src,M)
  884. sleep(1)
  885. step_towards(src,M)
  886. sleep(1)
  887. step_towards(src,M)
  888. sleep(1)
  889. step_towards(src,M)
  890. sleep(1)
  891. step_towards(src,M)
  892. if(src.random == 5||src.random == 6)
  893. if(src.dir == NORTH)
  894. var/obj/yaiba/A = new /obj/yaiba/
  895. var/obj/yaiba2/B = new /obj/yaiba2/
  896. var/obj/yaiba1/C = new /obj/yaiba1/
  897. A.icon = 'getsugablack.dmi'
  898. B.icon = 'getsugablack.dmi'
  899. C.icon = 'getsugablack.dmi'
  900. A.loc = locate(src.x, src.y, src.z)
  901. C.loc = locate(src.x+1, src.y, src.z)
  902. B.loc = locate(src.x-1, src.y, src.z)
  903. A.dir = NORTH
  904. B.dir = NORTH
  905. C.dir = NORTH
  906. A.Gowner = src
  907. B.Gowner = src
  908. C.Gowner = src
  909. walk(A,NORTH)
  910. walk(C,NORTH)
  911. walk(B,NORTH)
  912. if(src.dir == SOUTH)
  913. var/obj/yaiba/A = new /obj/yaiba/
  914. var/obj/yaiba1/B = new /obj/yaiba1/
  915. var/obj/yaiba2/C = new /obj/yaiba2/
  916. A.icon = 'getsugablack.dmi'
  917. B.icon = 'getsugablack.dmi'
  918. C.icon = 'getsugablack.dmi'
  919. A.loc = locate(src.x, src.y, src.z)
  920. C.loc = locate(src.x+1, src.y, src.z)
  921. B.loc = locate(src.x-1, src.y, src.z)
  922. A.dir = SOUTH
  923. B.dir = SOUTH
  924. C.dir = SOUTH
  925. A.Gowner = src
  926. B.Gowner = src
  927. C.Gowner = src
  928. walk(A,SOUTH)
  929. walk(C,SOUTH)
  930. walk(B,SOUTH)
  931. if(src.dir == WEST)
  932. var/obj/yaiba1/A = new /obj/yaiba1/
  933. var/obj/yaiba2/B = new /obj/yaiba2/
  934. var/obj/yaiba/C = new /obj/yaiba/
  935. A.icon = 'getsugablack.dmi'
  936. B.icon = 'getsugablack.dmi'
  937. C.icon = 'getsugablack.dmi'
  938. A.loc = locate(src.x, src.y+1, src.z)
  939. C.loc = locate(src.x, src.y, src.z)
  940. B.loc = locate(src.x, src.y-1, src.z)
  941. A.dir = WEST
  942. B.dir = WEST
  943. C.dir = WEST
  944. A.Gowner = src
  945. B.Gowner = src
  946. C.Gowner = src
  947. walk(A,WEST)
  948. walk(C,WEST)
  949. walk(B,WEST)
  950. if(src.dir == EAST)
  951. var/obj/yaiba1/A = new /obj/yaiba1/
  952. var/obj/yaiba2/B = new /obj/yaiba2/
  953. var/obj/yaiba/C = new /obj/yaiba/
  954. A.icon = 'getsugablack.dmi'
  955. B.icon = 'getsugablack.dmi'
  956. C.icon = 'getsugablack.dmi'
  957. A.loc = locate(src.x, src.y-1, src.z)
  958. C.loc = locate(src.x, src.y, src.z)
  959. B.loc = locate(src.x, src.y+1, src.z)
  960. A.dir = EAST
  961. B.dir = EAST
  962. C.dir = EAST
  963. A.Gowner = src
  964. B.Gowner = src
  965. C.Gowner = src
  966. walk(A,EAST)
  967. walk(C,EAST)
  968. walk(B,EAST)
  969. if(src.random == 7)
  970. if(src.dir == NORTH)
  971. var/obj/yaiba/A = new /obj/yaiba/
  972. var/obj/yaiba2/B = new /obj/yaiba2/
  973. var/obj/yaiba1/C = new /obj/yaiba1/
  974. A.icon = 'getsugablack.dmi'
  975. B.icon = 'getsugablack.dmi'
  976. C.icon = 'getsugablack.dmi'
  977. A.loc = locate(src.x, src.y, src.z)
  978. C.loc = locate(src.x+1, src.y, src.z)
  979. B.loc = locate(src.x-1, src.y, src.z)
  980. A.dir = NORTH
  981. B.dir = NORTH
  982. C.dir = NORTH
  983. A.Gowner = src
  984. B.Gowner = src
  985. C.Gowner = src
  986. walk(A,NORTH)
  987. walk(C,NORTH)
  988. walk(B,NORTH)
  989. if(src.dir == SOUTH)
  990. var/obj/yaiba/A = new /obj/yaiba/
  991. var/obj/yaiba1/B = new /obj/yaiba1/
  992. var/obj/yaiba2/C = new /obj/yaiba2/
  993. A.icon = 'getsugablack.dmi'
  994. B.icon = 'getsugablack.dmi'
  995. C.icon = 'getsugablack.dmi'
  996. A.loc = locate(src.x, src.y, src.z)
  997. C.loc = locate(src.x+1, src.y, src.z)
  998. B.loc = locate(src.x-1, src.y, src.z)
  999. A.dir = SOUTH
  1000. B.dir = SOUTH
  1001. C.dir = SOUTH
  1002. A.Gowner = src
  1003. B.Gowner = src
  1004. C.Gowner = src
  1005. walk(A,SOUTH)
  1006. walk(C,SOUTH)
  1007. walk(B,SOUTH)
  1008. if(src.dir == WEST)
  1009. var/obj/yaiba1/A = new /obj/yaiba1/
  1010. var/obj/yaiba2/B = new /obj/yaiba2/
  1011. var/obj/yaiba/C = new /obj/yaiba/
  1012. A.icon = 'getsugablack.dmi'
  1013. B.icon = 'getsugablack.dmi'
  1014. C.icon = 'getsugablack.dmi'
  1015. A.loc = locate(src.x, src.y+1, src.z)
  1016. C.loc = locate(src.x, src.y, src.z)
  1017. B.loc = locate(src.x, src.y-1, src.z)
  1018. A.dir = WEST
  1019. B.dir = WEST
  1020. C.dir = WEST
  1021. A.Gowner = src
  1022. B.Gowner = src
  1023. C.Gowner = src
  1024. walk(A,WEST)
  1025. walk(C,WEST)
  1026. walk(B,WEST)
  1027. if(src.dir == EAST)
  1028. var/obj/yaiba1/A = new /obj/yaiba1/
  1029. var/obj/yaiba2/B = new /obj/yaiba2/
  1030. var/obj/yaiba/C = new /obj/yaiba/
  1031. A.icon = 'getsugablack.dmi'
  1032. B.icon = 'getsugablack.dmi'
  1033. C.icon = 'getsugablack.dmi'
  1034. A.loc = locate(src.x, src.y-1, src.z)
  1035. C.loc = locate(src.x, src.y, src.z)
  1036. B.loc = locate(src.x, src.y+1, src.z)
  1037. A.dir = EAST
  1038. B.dir = EAST
  1039. C.dir = EAST
  1040. A.Gowner = src
  1041. B.Gowner = src
  1042. C.Gowner = src
  1043. walk(A,EAST)
  1044. walk(C,EAST)
  1045. walk(B,EAST)
  1046. for(var/mob/M in oview(50))
  1047. src.loc = M.loc
  1048. step(src,rand(1.10))
  1049. sleep(1)
  1050. step(M,M.dir)
  1051. sleep(1)
  1052. step(M,M.dir)
  1053. sleep(1)
  1054. src.dir = src.dir
  1055. if(src.dir == NORTH)
  1056. var/obj/yaiba/A = new /obj/yaiba/
  1057. var/obj/yaiba2/B = new /obj/yaiba2/
  1058. var/obj/yaiba1/C = new /obj/yaiba1/
  1059. A.icon = 'getsugablack.dmi'
  1060. B.icon = 'getsugablack.dmi'
  1061. C.icon = 'getsugablack.dmi'
  1062. A.loc = locate(src.x, src.y, src.z)
  1063. C.loc = locate(src.x+1, src.y, src.z)
  1064. B.loc = locate(src.x-1, src.y, src.z)
  1065. A.dir = NORTH
  1066. B.dir = NORTH
  1067. C.dir = NORTH
  1068. A.Gowner = src
  1069. B.Gowner = src
  1070. C.Gowner = src
  1071. walk(A,NORTH)
  1072. walk(C,NORTH)
  1073. walk(B,NORTH)
  1074. if(src.dir == SOUTH)
  1075. var/obj/yaiba/A = new /obj/yaiba/
  1076. var/obj/yaiba1/B = new /obj/yaiba1/
  1077. var/obj/yaiba2/C = new /obj/yaiba2/
  1078. A.icon = 'getsugablack.dmi'
  1079. B.icon = 'getsugablack.dmi'
  1080. C.icon = 'getsugablack.dmi'
  1081. A.loc = locate(src.x, src.y, src.z)
  1082. C.loc = locate(src.x+1, src.y, src.z)
  1083. B.loc = locate(src.x-1, src.y, src.z)
  1084. A.dir = SOUTH
  1085. B.dir = SOUTH
  1086. C.dir = SOUTH
  1087. A.Gowner = src
  1088. B.Gowner = src
  1089. C.Gowner = src
  1090. walk(A,SOUTH)
  1091. walk(C,SOUTH)
  1092. walk(B,SOUTH)
  1093. if(src.dir == WEST)
  1094. var/obj/yaiba1/A = new /obj/yaiba1/
  1095. var/obj/yaiba2/B = new /obj/yaiba2/
  1096. var/obj/yaiba/C = new /obj/yaiba/
  1097. A.icon = 'getsugablack.dmi'
  1098. B.icon = 'getsugablack.dmi'
  1099. C.icon = 'getsugablack.dmi'
  1100. A.loc = locate(src.x, src.y+1, src.z)
  1101. C.loc = locate(src.x, src.y, src.z)
  1102. B.loc = locate(src.x, src.y-1, src.z)
  1103. A.dir = WEST
  1104. B.dir = WEST
  1105. C.dir = WEST
  1106. A.Gowner = src
  1107. B.Gowner = src
  1108. C.Gowner = src
  1109. walk(A,WEST)
  1110. walk(C,WEST)
  1111. walk(B,WEST)
  1112. if(src.dir == EAST)
  1113. var/obj/yaiba1/A = new /obj/yaiba1/
  1114. var/obj/yaiba2/B = new /obj/yaiba2/
  1115. var/obj/yaiba/C = new /obj/yaiba/
  1116. A.icon = 'getsugablack.dmi'
  1117. B.icon = 'getsugablack.dmi'
  1118. C.icon = 'getsugablack.dmi'
  1119. A.loc = locate(src.x, src.y-1, src.z)
  1120. C.loc = locate(src.x, src.y, src.z)
  1121. B.loc = locate(src.x, src.y+1, src.z)
  1122. A.dir = EAST
  1123. B.dir = EAST
  1124. C.dir = EAST
  1125. A.Gowner = src
  1126. B.Gowner = src
  1127. C.Gowner = src
  1128. walk(A,EAST)
  1129. walk(C,EAST)
  1130. walk(B,EAST)
  1131. if(src.random == 8)
  1132. step(src,rand(1,10))
  1133. sleep(1)
  1134. step(src,rand(1,10))
  1135. sleep(1)
  1136. step(src,rand(1,10))
  1137. sleep(1)
  1138. step(src,rand(1,10))
  1139. if(src.random == 9)
  1140. for(var/mob/M in oview(100))
  1141. src.loc = M.loc
  1142. if(src.random == 10)
  1143. src.icon_state = "spin"
  1144. view(src) << "<b>Inner Spirit: Once i kill you, Ill take control and be free!"
  1145. sleep(10)
  1146. for(var/mob/M in oview(2))
  1147. M.health -= 5500
  1148. view(usr,8) << output("<b><font color = red>[src] attacked [M] for 5500 damage!","gametext")
  1149. M.Death(src)
  1150. sleep(10)
  1151. src.icon_state = ""
  1152. spawn(5)
  1153. goto gar
RAW Paste Data