Guest User

SopherMobs by Sopher

a guest
Dec 15th, 2013
1,453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.62 KB | None | 0 0
  1. #==================================#
  2. # Skrypt stworzony przez Sophera #
  3. # Nazwa: SopherMobs #
  4. # Wersja: 1.2 #
  5. # Skript: 2.0 #
  6. #==================================#
  7.  
  8. #==================================#
  9. # Specjalnie dla SKRIPT.pl #
  10. # Pierwsze polskie centrum Skripta #
  11. #==================================#
  12. # Znajdziesz tam wiele skryptów, #
  13. # poradników, a także pomoc! #
  14. #==================================#
  15.  
  16. #==================================#
  17. # Chcesz zobaczyc jak sprawuje #
  18. # sie skrypt? #
  19. # Wystarczy ze wejdziesz na serwer #
  20. # mc.SkyblockWars.pl #
  21. # [1.6.4] #
  22. #==================================#
  23.  
  24. #==================================#
  25. # LICENCJA #
  26. #==================================#
  27. # ZAKAZ: #
  28. # * Modyfikowania treści skryptu #
  29. # * Przywłaszczania sobie #
  30. # autorstwa skryptu #
  31. # * Zarabiania na skrypcie #
  32. # * Udostepniania skryptu w swoich #
  33. # paczkach serwerowych #
  34. # * Usuwania tresci zawierajacych #
  35. # informacje o autorze #
  36. # * Podszywania sie pod autora #
  37. #==================================#
  38. # POZWOLENIA: #
  39. # * Modyfikowaniu wiadomości #
  40. # skryptu na wlasne potrzeby #
  41. #==================================#
  42. # Mylnie odczytana licencja nie #
  43. # zwalnia z przestrzegania jej #
  44. #==================================#
  45.  
  46. #---------------------------------------------------------------#
  47. # #
  48. # #
  49. # #
  50. # PERMISSIONS #
  51. # #
  52. # #
  53. # #
  54. #---------------------------------------------------------------#
  55.  
  56. # sopher.mobs.status - pozwala na podlgąd/ zmiane statusu potworów
  57. # sopher.mobs.* - możliwość używania wszystkiego
  58.  
  59. #---------------------------------------------------------------#
  60. # #
  61. # #
  62. # #
  63. # KONFIGURACJA #
  64. # #
  65. # #
  66. # #
  67. #---------------------------------------------------------------#
  68.  
  69. # +-----------------------------------------------+ #
  70. # #
  71. # | USTAWIENIA | #
  72. # #
  73. # +-----------------------------------------------+ #
  74. # Ustawienia generalne #
  75. # +-----------------------------------------------+ #
  76.  
  77. options:
  78. # Wpisz tutaj nazwe swiata, na ktorym maja dzialac poziomy potworow.
  79. swiat: SKYBLOCK
  80.  
  81. # Tag - uzywany w ogloszeniach ogolnych
  82. tag: &f[&cP&f]
  83.  
  84. # Tag2 - uzwany w informacjach dla gracza
  85. tag2: &f[&6P&f]
  86.  
  87. # Tag3 - uzywanych przy bledach
  88. tag3: &f[&aP&f]
  89.  
  90. # Wiadomosc jezeli nie masz uprawnien.
  91. prms: &cNie masz uprawnien, aby to wykonac!
  92.  
  93.  
  94. # +-----------------------------------------------+ #
  95. # #
  96. # | ZMIENNE | #
  97. # #
  98. # +-----------------------------------------------+ #
  99. variables:
  100. {sopher.mobs.status} = false
  101.  
  102.  
  103. #---------------------------------------------------------------#
  104. # #
  105. # #
  106. # #
  107. # EVENTY #
  108. # #
  109. # #
  110. # #
  111. #---------------------------------------------------------------#
  112. on spawn:
  113. entity is in world "{@swiat}":
  114. if {sopher.mobs.status} is true:
  115. entity is zombie:
  116. set name of entity to "&aZOMBIE - 1P"
  117. set max health of spawned entity to 20
  118. chance of 30%:
  119. set chestplate of entity to chestplate of protection 1
  120. chance of 45%:
  121. set name of entity to "&eZOMBIE - 2P"
  122. set max health of spawned entity to 25
  123. heal the spawned entity
  124. chance of 60%:
  125. set chestplate of entity to chestplate of thorns 1
  126. chance of 20%:
  127. set helmet of entity to helmet of protection 1
  128. chance of 20%:
  129. set boots of entity to boots of protection 1
  130. chance of 30%:
  131. set leggings of entity to leggings of protection 1
  132. chance of 40%:
  133. set the entity's tool to sword of sharpness 2
  134. chance of 20%:
  135. set name of entity to "&6ZOMBIE - 3P"
  136. set max health of spawned entity to 30
  137. heal the spawned entity
  138. set chestplate of entity to chestplate of thorns 2
  139. chance of 20%:
  140. set helmet of entity to helmet of protection 2
  141. chance of 20%:
  142. set boots of entity to boots of protection 1
  143. chance of 30%:
  144. set leggings of entity to leggings of protection 2
  145. chance of 40%:
  146. set tool of entity to sword of sharpness 3
  147. chance of 5%:
  148. set name of entity to "&cZOMBIE - 4P"
  149. set max health of spawned entity to 40
  150. heal the spawned entity
  151. set chestplate of entity to chestplate of thorns 2 and protection 2
  152. chance of 20%:
  153. set helmet of entity to helmet of protection 3
  154. chance of 20%:
  155. set boots of entity to boots of protection 2
  156. chance of 30%:
  157. set leggings of entity to leggings of protection 4
  158. chance of 40%:
  159. set the entity's tool to sword of sharpness 4 and fire aspect 1
  160. stop
  161. entity is skeleton:
  162. set name of entity to "&aSZKIELET - 1P"
  163. set max health of spawned entity to 25
  164. heal the spawned entity
  165. chance of 90%:
  166. set the entity's tool to bow of power 1
  167. set the entity's helmet to helmet of protection 1
  168. set the entity's chestplate to chestplate of thorns 1
  169. chance of 45%:
  170. set name of entity to "&eSZKIELET - 2P"
  171. set max health of spawned entity to 25
  172. heal the spawned entity
  173. set the entity's tool to bow of power 3
  174. set the entity's helmet to helmet of protection 1
  175. set the entity's chestplate to chestplate of thorns 2
  176. set the entity's leggings to leggings of protection 2
  177. chance of 20%:
  178. set name of entity to "&6SZKIELET - 3P"
  179. set max health of spawned entity to 30
  180. heal the spawned entity
  181. set the entity's tool to bow of power 4 and flame 1
  182. set the entity's helmet to helmet of protection 3
  183. set the entity's chestplate to chestplate of thorns 2
  184. set the entity's leggings to leggings of protection 2
  185. set the entity's boots to boots of protection 3
  186. stop
  187. entity is spider:
  188. set name of entity to "&aPAJAK - 1P"
  189. set max health of spawned entity to 20
  190. chance of 45%:
  191. set name of entity to "&ePAJAK - 2P"
  192. set max health of spawned entity to 25
  193. heal the spawned entity
  194. apply strength 1 to the entity for 10 minutes
  195. chance of 20%:
  196. set name of entity to "&6PAJAK - 3P"
  197. set max health of spawned entity to 30
  198. heal the spawned entity
  199. apply strength 2 to the entity for 10 minutes
  200. chance of 5%:
  201. set name of entity to "&cPAJAK - 4P"
  202. set max health of spawned entity to 30
  203. heal the spawned entity
  204. apply strength 2 to the entity for 10 minutes
  205. apply regeneration 1 to the entity for 10 minutes
  206. stop
  207. entity is creeper:
  208. set name of entity to "&aCREEPER - 1P"
  209. set max health of spawned entity to 20
  210. chance of 45%:
  211. set name of entity to "&eCREEPER - 2P"
  212. set max health of spawned entity to 25
  213. heal the spawned entity
  214. apply strength 1 to the entity for 10 minutes
  215. chance of 20%:
  216. set name of entity to "&6CREEPER - 3P"
  217. set max health of spawned entity to 30
  218. heal the spawned entity
  219. apply regeneration 1 to the entity for 10 minutes
  220. chance of 5%:
  221. set name of entity to "&cCREEPER - 4P"
  222. set max health of spawned entity to 40
  223. heal the spawned entity
  224. apply regeneration 1 to the entity for 10 minutes
  225. stop
  226. entity is enderman:
  227. set name of entity to "&aENDERMAN - 1P"
  228. set max health of spawned entity to 20
  229. chance of 45%:
  230. set name of entity to "&eENDERMAN - 2P"
  231. set max health of spawned entity to 25
  232. heal the spawned entity
  233. apply strength 1 to the entity for 10 minutes
  234. chance of 20%:
  235. set name of entity to "&6ENDERMAN - 3P"
  236. set max health of spawned entity to 30
  237. heal the spawned entity
  238. apply strength 2 to the entity for 10 minutes
  239. chance of 5%:
  240. set name of entity to "&cENDERMAN - 4P"
  241. set max health of spawned entity to 30
  242. heal the spawned entity
  243. apply strength 2 to the entity for 10 minutes
  244. apply regeneration 1 to the entity for 10 minutes
  245. stop
  246. entity is slime:
  247. set name of entity to "&aSLIME - 1P"
  248. set max health of spawned entity to 50
  249. heal the spawned entity
  250. chance of 45%:
  251. set name of entity to "&eSLIME - 2P"
  252. set max health of spawned entity to 65
  253. heal the spawned entity
  254. apply strength 1 to the entity for 10 minutes
  255. chance of 20%:
  256. set name of entity to "&6SLIME - 3P"
  257. set max health of spawned entity to 80
  258. heal the spawned entity
  259. apply strength 2 to the entity for 10 minutes
  260. chance of 5%:
  261. set name of entity to "&cSLIME - 4P"
  262. set max health of spawned entity to 100
  263. heal the spawned entity
  264. apply strength 2 to the entity for 10 minutes
  265. apply regeneration 1 to the entity for 10 minutes
  266. stop
  267. entity is blaze:
  268. set name of entity to "&aBLAZE - 1P"
  269. set max health of spawned entity to 25
  270. heal the spawned entity
  271. chance of 45%:
  272. set name of entity to "&eBLAZE - 2P"
  273. set max health of spawned entity to 30
  274. heal the spawned entity
  275. apply strength 1 to the entity for 10 minutes
  276. chance of 20%:
  277. set name of entity to "&6BLAZE - 3P"
  278. set max health of spawned entity to 40
  279. heal the spawned entity
  280. apply strength 2 to the entity for 10 minutes
  281. chance of 5%:
  282. set name of entity to "&cBLAZE - 4P"
  283. set max health of spawned entity to 60
  284. heal the spawned entity
  285. apply strength 2 to the entity for 10 minutes
  286. apply regeneration 1 to the entity for 10 minutes
  287. stop
  288. entity is ghast:
  289. set name of entity to "&aGHAST - 1P"
  290. set max health of spawned entity to 25
  291. heal the spawned entity
  292. chance of 45%:
  293. set name of entity to "&eGHAST - 2P"
  294. set max health of spawned entity to 30
  295. heal the spawned entity
  296. apply strength 1 to the entity for 10 minutes
  297. chance of 20%:
  298. set name of entity to "&6GHAST - 3P"
  299. set max health of spawned entity to 40
  300. heal the spawned entity
  301. apply strength 2 to the entity for 10 minutes
  302. chance of 5%:
  303. set name of entity to "&cGHAST - 4P"
  304. set max health of spawned entity to 60
  305. heal the spawned entity
  306. apply strength 2 to the entity for 10 minutes
  307. apply regeneration 1 to the entity for 10 minutes
  308. stop
  309. entity is sheep:
  310. chance of 5%:
  311. set name of entity to "&cOWCA SOPHERA"
  312. set max health of spawned entity to 100
  313. heal the spawned entity
  314. stop
  315. stop
  316. else:
  317. stop
  318.  
  319. on damage:
  320. if attacker is player:
  321. if name of victim is "&cCREEPER - 4P":
  322. chance of 20%:
  323. shoot a creeper from the victim
  324. stop
  325. if name of victim is "&cENDERMAN - 4P":
  326. chance of 90%:
  327. push the attacker upwards at speed 1.3
  328. stop
  329. if name of victim is "&cPAJAK - 4P":
  330. chance of 90%:
  331. push the attacker upwards at speed 2.0
  332. stop
  333. if name of victim is "&cSLIME - 4P" or "&6SLIME - 3P":
  334. chance of 30%:
  335. strike lightning effect at the attacker
  336. stop
  337. if name of victim is "&cBLAZE - 4P":
  338. chance of 90%:
  339. create a fake explosion at the attacker
  340. stop
  341. if name of victim is "&cGHAST - 4P" or "&6GHAST - 3P" or "&eGHAST - 2P":
  342. chance of 10%:
  343. poison the attacker for 10 seconds
  344. stop
  345. if name of victim is "&cOWCA SOPHERA":
  346. loop blocks in radius 7 of the victim:
  347. loop-block is stone or cobblestone or stone brick or dirt or grass or water
  348. set loop-block to pink wool
  349. wait 2 seconds
  350. create an explosion of power 8 at the victim
  351. stop
  352.  
  353. on rightclick on a sheep holding a shears:
  354. if name of entity is "&cOWCA SOPHERA":
  355. loop blocks in radius 7 of the player:
  356. loop-block is stone or cobblestone or stone brick or dirt or grass or water
  357. set loop-block to pink wool
  358. wait 2 seconds
  359. create an explosion of power 8 at the player
  360. stop
  361.  
  362. #---------------------------------------------------------------#
  363. # #
  364. # #
  365. # #
  366. # KOMENDY #
  367. # #
  368. # #
  369. # #
  370. #---------------------------------------------------------------#
  371.  
  372. command /potwory [<text>]:
  373. trigger:
  374. if player has permission "sopher.mobs.status" or "sopher.mobs.*":
  375. if arg is not set:
  376. send "{@tag2} &7Status potworow: &e%{sopher.mobs.status}%"
  377. stop
  378. if arg is "wlacz":
  379. set {sopher.mobs.status} to true
  380. send "{@tag2} &7Wlaczyles potwory!"
  381. stop
  382. if arg is "wylacz":
  383. set {sopher.mobs.status} to false
  384. send "{@tag2} &7Wylaczyles potwory!"
  385. stop
  386. else:
  387. send "{@tag3} {@prms}"
  388. stop
  389.  
  390.  
  391. #-------------------------------------------------- Koniec skryptu --------------------------------------------------#
  392. #--------------------------------------- © by Sopher - Strona: www.Skript.pl ----------------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment