Advertisement
Guest User

Untitled

a guest
Oct 16th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.62 KB | None | 0 0
  1. #VENOM
  2. on damage:
  3. attacker's tool is a sword
  4. "%lore of attacker's tool%" contains "&7Venom III"
  5. victim is not a player:
  6. chance of 20%:
  7. remove poison from victim
  8. apply poison 2 to the victim for 7 seconds
  9. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  10. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  11. {sk::e::%victim%::Faction} is not "<none>" or "none"
  12. stop
  13. else:
  14. chance of 20%:
  15. remove poison from victim
  16. apply poison 2 to the victim for 7 seconds
  17.  
  18. on damage:
  19. attacker's tool is a sword
  20. "%lore of attacker's tool%" contains "&7Venom II"
  21. "%lore of attacker's tool%" does not contain "&7Venom III"
  22. victim is not a player:
  23. chance of 15%:
  24. remove poison from victim
  25. apply poison 1 to the victim for 5 seconds
  26. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  27. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  28. {sk::e::%victim%::Faction} is not "<none>" or "none"
  29. stop
  30. else:
  31. chance of 15%:
  32. remove poison from victim
  33. apply poison 1 to the victim for 5 seconds
  34.  
  35. on damage:
  36. attacker's tool is a sword
  37. "%lore of attacker's tool%" contains "&7Venom I"
  38. "%lore of attacker's tool%" does not contain "&7Venom II"
  39. victim is not a player:
  40. chance of 20%:
  41. remove poison from victim
  42. apply poison 1 to the victim for 3 seconds
  43. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  44. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  45. {sk::e::%victim%::Faction} is not "<none>" or "none"
  46. stop
  47. else:
  48. chance of 20%:
  49. remove poison from the victim
  50. apply poison 1 to the victim for 3 seconds
  51.  
  52. #WITHER
  53.  
  54. on damage:
  55. attacker's tool is a sword
  56. "%lore of attacker's tool%" contains "&7Wither III"
  57. victim is not a player:
  58. chance of 20%:
  59. remove wither from the victim
  60. apply wither to the victim for 7 seconds
  61. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  62. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  63. {sk::e::%victim%::Faction} is not "<none>" or "none"
  64. stop
  65. else:
  66. chance of 20:
  67. remove wither from the victim
  68. apply wither to the victim for 7 seconds
  69.  
  70. on damage:
  71. attacker's tool is a sword
  72. "%lore of attacker's tool%" contains "&7Wither II"
  73. "%lore of attacker's tool%" does not contain "&7Wither III"
  74. victim is not a player:
  75. chance of 15%:
  76. remove wither from the victim
  77. apply wither to the victim for 5 seconds
  78. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  79. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  80. {sk::e::%victim%::Faction} is not "<none>" or "none"
  81. stop
  82. else:
  83. chance of 15%:
  84. remove wither from the victim
  85. apply wither to the victim for 5 seconds
  86.  
  87.  
  88. on damage:
  89. attacker's tool is a sword
  90. "%lore of attacker's tool%" contains "&7Wither I"
  91. "%lore of attacker's tool%" does not contain "&7Wither II"
  92. victim is not a player:
  93. chance of 10%:
  94. remove wither from the victim
  95. apply wither to the victim for 3 seconds
  96. stop
  97. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  98. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  99. {sk::e::%victim%::Faction} is not "<none>" or "none"
  100. stop
  101. else:
  102. chance of 10%:
  103. remove wither from the victim
  104. apply wither to the victim for 3 seconds
  105.  
  106.  
  107. #HEAVY HIT
  108.  
  109. on damage:
  110. attacker's tool is a sword
  111. "%lore of attacker's tool%" contains "&7Heavy Hit IV"
  112. victim is not a player:
  113. chance of 17%:
  114. increase the damage by 14
  115. stop
  116. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  117. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  118. {sk::e::%victim%::Faction} is not "<none>" or "none"
  119. stop
  120. else:
  121. chance of 17%:
  122. increase the damage by 14
  123.  
  124.  
  125. on damage:
  126. attacker's tool is a sword
  127. "%lore of attacker's tool%" contains "&7Heavy Hit III"
  128. victim is not a player:
  129. chance of 15%:
  130. increase the damage by 10
  131. stop
  132. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  133. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  134. {sk::e::%victim%::Faction} is not "<none>" or "none"
  135. stop
  136. else:
  137. chance of 15%:
  138. increase the damage by 10
  139.  
  140. on damage:
  141. attacker's tool is a sword
  142. "%lore of attacker's tool%" contains "&7Heavy Hit II"
  143. "%lore of attacker's tool%" does not contain "&7Heavy Hit III"
  144. victim is not a player:
  145. chance of 7%:
  146. increase the damage by 7
  147. stop
  148. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  149. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  150. {sk::e::%victim%::Faction} is not "<none>" or "none"
  151. stop
  152. else:
  153. chance of 7%:
  154. increase the damage by 7
  155.  
  156. on damage:
  157. attacker's tool is a sword
  158. "%lore of attacker's tool%" contains "&7Heavy Hit I"
  159. "%lore of attacker's tool%" does not contain "&7Heavy Hit II"
  160. victim is not a player:
  161. chance of 5%:
  162. increase the damage by 3
  163. stop
  164. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  165. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  166. {sk::e::%victim%::Faction} is not "<none>" or "none"
  167. stop
  168. else:
  169. chance of 5%:
  170. increase the damage by 3
  171.  
  172. #VAMPIRE
  173.  
  174. on damage:
  175. attacker's tool is a sword
  176. "%lore of attacker's tool%" contains "&7Vampire II"
  177. #message "Pass 1" to attacker
  178. victim is not a player:
  179. chance of 35%:
  180. subtract 1 from the victim's health
  181. add 1 to the attacker's health
  182. stop
  183. #message "Pass 2" to attacker
  184. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  185. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  186. {sk::e::%victim%::Faction} is not "<none>" or "none"
  187. stop
  188. else:
  189. #message "Pass 4" to attacker
  190. chance of 35%:
  191. subtract 1 from the victim's health
  192. add 1 to the attacker's health
  193.  
  194. on damage:
  195. attacker's tool is a sword
  196. "%lore of attacker's tool%" contains "&7Vampire I"
  197. "%lore of attacker's tool%" does not contain "&7Vampire II"
  198. victim is not a player:
  199. chance of 15%:
  200. subtract 0.5 from the victim's health
  201. add 0.5 to the attacker's health
  202. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  203. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  204. {sk::e::%victim%::Faction} is not "<none>" or "none"
  205. stop
  206. else:
  207. chance of 15%:
  208. subtract 0.5 from the victim's health
  209. add 0.5 to the attacker's health
  210.  
  211. #FLAY
  212.  
  213. on damage:
  214. attacker's tool is a sword
  215. "%lore of attacker's tool%" contains "&7Flay IV"
  216. victim is not a player:
  217. chance of 35%:
  218. wait 1 second
  219. subtract 2 from the victim's health
  220. wait 1 second
  221. subtract 2 from the victim's health
  222. wait 1 second
  223. subtract 2 from the victim's health
  224. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  225. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  226. {sk::e::%victim%::Faction} is not "<none>" or "none"
  227. stop
  228. else:
  229. chance of 35%:
  230. wait 1 second
  231. subtract 2 from the victim's health
  232. wait 1 second
  233. subtract 2 from the victim's health
  234. wait 1 second
  235. subtract 2 from the victim's health
  236.  
  237. on damage:
  238. attacker's tool is a sword
  239. "%lore of attacker's tool%" contains "&7Flay III"
  240. victim is not a player:
  241. chance of 25%:
  242. wait 1 second
  243. subtract 1.5 from the victim's health
  244. wait 1 second
  245. subtract 1.5 from the victim's health
  246. wait 1 second
  247. subtract 1.5 from the victim's health
  248. stop
  249. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  250. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  251. {sk::e::%victim%::Faction} is not "<none>" or "none"
  252. stop
  253. else:
  254. chance of 25%:
  255. wait 1 second
  256. subtract 1.5 from the victim's health
  257. wait 1 second
  258. subtract 1.5 from the victim's health
  259. wait 1 second
  260. subtract 1.5 from the victim's health
  261.  
  262. on damage:
  263. attacker's tool is a sword
  264. "%lore of attacker's tool%" contains "&7Flay II"
  265. "%lore of attacker's tool%" does not contain "&7Flay III"
  266. victim is not a player:
  267. chance of 15%:
  268. wait 1 second
  269. subtract 1 from the victim's health
  270. wait 1 second
  271. subtract 1 from the victim's health
  272. wait 1 second
  273. subtract 1 from the victim's health
  274. stop
  275. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  276. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  277. {sk::e::%victim%::Faction} is not "<none>" or "none"
  278. stop
  279. else:
  280. chance of 15%:
  281. wait 1 second
  282. subtract 1 from the victim's health
  283. wait 1 second
  284. subtract 1 from the victim's health
  285. wait 1 second
  286. subtract 1 from the victim's health
  287.  
  288.  
  289. on damage:
  290. attacker's tool is a sword
  291. "%lore of attacker's tool%" contains "&7Flay I"
  292. "%lore of attacker's tool%" does not contain "&7Flay II"
  293. victim is not a player:
  294. chance of 10%:
  295. wait 1 second
  296. subtract 0.5 from the victim's health
  297. wait 1 second
  298. subtract 0.5 from the victim's health
  299. wait 1 second
  300. subtract 0.5 from the victim's health
  301. stop
  302. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  303. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  304. {sk::e::%victim%::Faction} is not "<none>" or "none"
  305. stop
  306. else:
  307. chance of 10%:
  308. wait 1 second
  309. subtract 0.5 from the victim's health
  310. wait 1 second
  311. subtract 0.5 from the victim's health
  312. wait 1 second
  313. subtract 0.5 from the victim's health
  314.  
  315. #ICE ASPECT
  316.  
  317. on damage:
  318. attacker's tool is a sword
  319. "%lore of attacker's tool%" contains "&7Ice Aspect II"
  320. victim is not a player:
  321. chance of 20%:
  322. remove slowness from victim
  323. apply slowness 2 to the victim for 10 seconds
  324. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  325. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  326. {sk::e::%victim%::Faction} is not "<none>" or "none"
  327. stop
  328. else:
  329. chance of 20%:
  330. remove slowness from victim
  331. apply slowness 2 to the victim for 10 seconds
  332.  
  333. on damage:
  334. attacker's tool is a sword
  335. "%lore of attacker's tool%" contains "&7Ice Aspect I"
  336. "%lore of attacker's tool%" does not contain "&7Ice Aspect II"
  337. victim is not a player:
  338. chance of 12%:
  339. remove slowness from victim
  340. apply slowness 1 to the victim for 10 seconds
  341. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  342. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  343. {sk::e::%victim%::Faction} is not "<none>" or "none"
  344. stop
  345. else:
  346. chance of 12%:
  347. remove slowness from victim
  348. apply slowness 1 to the victim for 10 seconds
  349.  
  350. #DISORIENT
  351.  
  352. on damage:
  353. attacker's tool is a sword
  354. "%lore of attacker's tool%" contains "&7Disorient III"
  355. victim is not a player:
  356. chance of 20%:
  357. remove nausea from victim
  358. apply nausea to the victim for 15 seconds
  359. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  360. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  361. {sk::e::%victim%::Faction} is not "<none>" or "none"
  362. stop
  363. else:
  364. chance of 20%:
  365. remove nausea from victim
  366. apply nausea to the victim for 15 seconds
  367.  
  368. on damage:
  369. attacker's tool is a sword
  370. "%lore of attacker's tool%" contains "&7Disorient II"
  371. "%lore of attacker's tool%" does not contain "&7Disorient III"
  372. victim is not a player:
  373. chance of 15%:
  374. remove nausea from victim
  375. apply nausea to the victim for 10 seconds
  376. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  377. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  378. {sk::e::%victim%::Faction} is not "<none>" or "none"
  379. stop
  380. else:
  381. chance of 15%:
  382. remove nausea from victim
  383. apply nausea to the victim for 10 seconds
  384.  
  385. on damage:
  386. attacker's tool is a sword
  387. "%lore of attacker's tool%" contains "&7Disorient I"
  388. "%lore of attacker's tool%" does not contain "&7Disorient II"
  389. victim is not a player:
  390. chance of 10%:
  391. remove nausea from victim
  392. apply nausea to the victim for 5 seconds
  393. stop
  394. if {sk::e::%attacker%::Faction} is {sk::e::%victim%::Faction}:
  395. {sk::e::%attacker%::Faction} is not "<none>" or "none"
  396. {sk::e::%victim%::Faction} is not "<none>" or "none"
  397. stop
  398. else:
  399. chance of 10%:
  400. remove nausea from victim
  401. apply nausea to the victim for 5 seconds
  402.  
  403. # Xp steal
  404.  
  405. on damage:
  406. if victim is a player:
  407. if attacker is holding a sword:
  408. if lore of attacker's tool contains "&7Xp Steal I":
  409. chance of 12.5%:
  410. set {_xp} to the victim's level
  411. set {_xp} to floor({_xp}/10)
  412. set {_xp} to {_xp} parsed as an integer
  413. increase the attacker's level by {_xp}
  414. reduce the victim's level by {_xp}
  415. else if lore of attacker's tool contains "&7Xp Steal II":
  416. chance of 25%:
  417. set {_xp} to the victim's level
  418. set {_xp} to floor({_xp}/5)
  419. set {_xp} to {_xp} parsed as an integer
  420. increase the attacker's level by {_xp}
  421. reduce the victim's level by {_xp}
  422. send message "hello" to attacker
  423.  
  424. command /gsword:
  425. permission: op
  426. trigger:
  427. give player 1 sword of sharpness 12902374
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement