Guest User

DisablePotions

a guest
Nov 29th, 2013
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.17 KB | None | 0 0
  1. #---------------------------------# #---------------------------------------------#
  2. # # # Zgadzam sie na uzywanie i zmiane skryptu #
  3. # Skript by TiREX # # do swoich potrzeb. #
  4. # ©2013 # # Nie zezwalam na udostepnianie skryptu #
  5. # Blokowanie Potek # # bez podania mnie jako autora. #
  6. # # # TiREX #
  7. #---------------------------------# #---------------------------------------------#
  8. # #
  9. #----------------------------------------------------------------------------------#
  10. # Komendy #
  11. #----------------------------------------------------------------------------------#
  12. # #
  13. # /potki ustaw <nazwa potki> - edycja blokady potek #
  14. # /informacje potki - informacje na temat potek #
  15. # #
  16. #----------------------------------------------------------------------------------#
  17. # Permisje #
  18. #----------------------------------------------------------------------------------#
  19. # #
  20. # potki.command - uprawnienia do odblokowywania/zablokowania potek #
  21. # potki.uzyj - uprawnienia do mozliwosci uzywania potek z effektem I #
  22. # potki.uzyj2 - uprawnienia do mozliwosci uzywania potek z effektem II #
  23. # #
  24. #----------------------------------------------------------------------------------#
  25. options:
  26. #wiadomosc przy braku permissions gdy gracz probuje uzyc mikstury#
  27. noperm: <red>Nie mozna uzywac tej Mikstury!
  28.  
  29. #wiadomosc przy braku permissions gdy gracz probuje wpisac komende#
  30. nopermcommand: <red>Nie masz dostepu do tej komendy.
  31.  
  32. #permissje pod wszystkie komendy#
  33. permcommand: potki.command
  34.  
  35. #permissje pod mikstury z effektem pojedynczym#
  36. permeffekt: potki.uzyj
  37.  
  38. #permissje pod mikstury z effektem podwojnym#
  39. permeffekt2: potki.uzyj2
  40.  
  41. #---------------------#
  42. # Zmienne #
  43. #---------------------#
  44. variables:
  45. #sprawdzanie czy potka jest zablokowana/odblokowana#
  46. {tirex.potka} = true
  47. {tirex.potka2} = true
  48. {tirex.potka3} = true
  49. {tirex.potka4} = true
  50. {tirex.potka5} = true
  51. {tirex.potka6} = true
  52. {tirex.potka7} = true
  53. {tirex.potka8} = true
  54. {tirex.potka9} = true
  55. {tirex.potka10} = true
  56. {tirex.potka11} = true
  57. #sprawdzanie czy potka jest zablokowana/odblokowana rzucana#
  58. {tirex.spotka} = true
  59. {tirex.spotka2} = true
  60. {tirex.spotka3} = true
  61. {tirex.spotka4} = true
  62. {tirex.spotka5} = true
  63. {tirex.spotka6} = true
  64. {tirex.spotka7} = true
  65. {tirex.spotka8} = true
  66. {tirex.spotka9} = true
  67. {tirex.spotka10} = true
  68. {tirex.spotka11} = true
  69. #potki z effektem x1#
  70. {tirex.potka.regen} = true
  71. {tirex.potka.speed} = true
  72. {tirex.potka.fire} = true
  73. {tirex.potka.poison} = true
  74. {tirex.potka.health} = true
  75. {tirex.potka.night} = true
  76. {tirex.potka.weaknes} = true
  77. {tirex.potka.strength} = true
  78. {tirex.potka.slowness} = true
  79. {tirex.potka.damage} = true
  80. {tirex.potka.invi} = true
  81. #potki z effektem x1 rzucane#
  82. {tirex.potkarzucana.regen} = true
  83. {tirex.potkarzucana.speed} = true
  84. {tirex.potkarzucana.fire} = true
  85. {tirex.potkarzucana.poison} = true
  86. {tirex.potkarzucana.health} = true
  87. {tirex.potkarzucana.night} = true
  88. {tirex.potkarzucana.weaknes} = true
  89. {tirex.potkarzucana.strength} = true
  90. {tirex.potkarzucana.slowness} = true
  91. {tirex.potkarzucana.damage} = true
  92. {tirex.potkarzucana.invi} = true
  93. #sprawdzanie czy potka jest zablokowana/odblokowana x2#
  94. {tirex.potka22} = true
  95. {tirex.potka23} = true
  96. {tirex.potka45} = true
  97. {tirex.potka56} = true
  98. {tirex.potka89} = true
  99. {tirex.potka101} = true
  100. #sprawdzanie czy potka jest zablokowana/odblokowana rzucana x2#
  101. {tirex.spotka22} = true
  102. {tirex.spotka23} = true
  103. {tirex.spotka45} = true
  104. {tirex.spotka56} = true
  105. {tirex.spotka89} = true
  106. {tirex.spotka101} = true
  107. #potki z effektem x2#
  108. {tirex.potka.regen2} = true
  109. {tirex.potka.speed2} = true
  110. {tirex.potka.poison2} = true
  111. {tirex.potka.health2} = true
  112. {tirex.potka.strength2} = true
  113. {tirex.potka.damage2} = true
  114. #potki z effektem x2 rzucane#
  115. {tirex.potkarzucana.regen2} = true
  116. {tirex.potkarzucana.speed2} = true
  117. {tirex.potkarzucana.poison2} = true
  118. {tirex.potkarzucana.health2} = true
  119. {tirex.potkarzucana.strength2} = true
  120. {tirex.potkarzucana.damage2} = true
  121.  
  122.  
  123. #---------------------#
  124. # EVENTY #
  125. #---------------------#
  126. #mikstury effekt x1#
  127. #regeneracji#
  128. on rightclick using a potion of:8193 or potion of:8257:
  129. player doesn't have permission "{@permeffekt}":
  130. if {tirex.potka.regen} is false:
  131. send "{@noperm}"
  132. cancel event
  133. on dispense of potion of:16385 or potion of:16417:
  134. if {tirex.potkarzucana.regen} is false:
  135. cancel event
  136.  
  137. #szybkosci#
  138. on rightclick using a potion of:8194 or potion of:8226:
  139. player doesn't have permission "{@permeffekt}":
  140. if {tirex.potka.speed} is false:
  141. send "{@noperm}"
  142. cancel event
  143. on dispense of potion of:16385 or potion of:16417:
  144. if {tirex.potkarzucana.speed} is false:
  145. cancel event
  146.  
  147. #odpornosci na ogien#
  148. on rightclick using a potion of:8195 or potion of:8227:
  149. player doesn't have permission "{@permeffekt}":
  150. if {tirex.potka.fire} is false:
  151. send "{@noperm}"
  152. cancel event
  153. on dispense of potion of:16387 or potion of:16419:
  154. if {tirex.potkarzucana.fire} is false:
  155. cancel event
  156.  
  157. #trucizny#
  158. on rightclick using a potion of:8196 or potion of:8228:
  159. player doesn't have permission "{@permeffekt}":
  160. if {tirex.potka.poison} is false:
  161. send "{@noperm}"
  162. cancel event
  163. on dispense of potion of:16388 or potion of:16420:
  164. if {tirex.potkarzucana.poison} is false:
  165. cancel event
  166.  
  167. #natychmiastowego leczenia#
  168. on rightclick using a potion of:8261:
  169. player doesn't have permission "{@permeffekt}":
  170. if {tirex.potka.health} is false:
  171. send "{@noperm}"
  172. cancel event
  173. on dispense of potion of:16453:
  174. if {tirex.potkarzucana.health} is false:
  175. cancel event
  176.  
  177. #widzenia w ciemnosci#
  178. on rightclick using a potion of:8230 or potion of:8262:
  179. player doesn't have permission "{@permeffekt}":
  180. if {tirex.potka.night} is false:
  181. send "{@noperm}"
  182. cancel event
  183. on dispense of potion of:16422 or potion of:16454:
  184. if {tirex.potkarzucana.night} is false:
  185. cancel event
  186.  
  187. #weaknes#
  188. on rightclick using a potion of:8232 or potion of:8264:
  189. player doesn't have permission "{@permeffekt}":
  190. if {tirex.potka.weaknes} is false:
  191. send "{@noperm}"
  192. cancel event
  193. on dispense of potion of:16424 or potion of:16456:
  194. if {tirex.potkarzucana.weaknes} is false:
  195. cancel event
  196.  
  197. #sily#
  198. on rightclick using a potion of:8201 or potion of:8265:
  199. player doesn't have permission "{@permeffekt}":
  200. if {tirex.potka.strength} is false:
  201. send "{@noperm}"
  202. cancel event
  203. on dispense of potion of:16393 or potion of:16457:
  204. if {tirex.potkarzucana.strength} is false:
  205. cancel event
  206.  
  207. #slownes#
  208. on rightclick using a potion of:8234 or potion of:8266:
  209. player doesn't have permission "{@permeffekt}":
  210. if {tirex.potka.slowness} is false:
  211. send "{@noperm}"
  212. cancel event
  213. on dispense of potion of:16426 or potion of:16458:
  214. if {tirex.potkarzucana.slowness} is false:
  215. cancel event
  216.  
  217. #natychmiastowe obrazenia#
  218. on rightclick using a potion of:8268:
  219. player doesn't have permission "{@permeffekt}":
  220. if {tirex.potka.damage} is false:
  221. send "{@noperm}"
  222. cancel event
  223. on dispense of potion of:16460:
  224. if {tirex.potkarzucana.damage} is false:
  225. cancel event
  226.  
  227. #niewidocznosci#
  228. on rightclick using a potion of:8238 or potion of:8270:
  229. player doesn't have permission "{@permeffekt}":
  230. if {tirex.potka.invi} is false:
  231. send "{@noperm}"
  232. cancel event
  233. on dispense of potion of:16430 or potion of:16462:
  234. if {tirex.potkarzucana.invi} is false:
  235. cancel event
  236.  
  237.  
  238.  
  239.  
  240.  
  241. #mikstury effekt x2#
  242. #regeneracji#
  243. on rightclick using a potion of:8225:
  244. player doesn't have permission "{@permeffekt2}":
  245. if {tirex.potka.regen2} is false:
  246. send "{@noperm}"
  247. cancel event
  248. on dispense of potion of:16417:
  249. if {tirex.potkarzucana.regen2} is false:
  250. cancel event
  251.  
  252. #szybkosci#
  253. on rightclick using a potion of:8226:
  254. player doesn't have permission "{@permeffekt2}":
  255. if {tirex.potka.speed2} is false:
  256. send "{@noperm}"
  257. cancel event
  258. on dispense of potion of:16418:
  259. if {tirex.potkarzucana.speed2} is false:
  260. cancel event
  261.  
  262. #trucizny#
  263. on rightclick using a potion of:8228:
  264. player doesn't have permission "{@permeffekt2}":
  265. if {tirex.potka.poison2} is false:
  266. send "{@noperm}"
  267. cancel event
  268. on dispense of potion of:16420:
  269. if {tirex.potkarzucana.poison2} is false:
  270. cancel event
  271.  
  272. #natychmiastowego leczenia#
  273. on rightclick using a potion of:8229:
  274. player doesn't have permission "{@permeffekt2}":
  275. if {tirex.potka.health2} is false:
  276. send "{@noperm}"
  277. cancel event
  278. on dispense of potion of:16421:
  279. if {tirex.potkarzucana.health2} is false:
  280. cancel event
  281.  
  282. #sily#
  283. on rightclick using a potion of:8233:
  284. player doesn't have permission "{@permeffekt2}":
  285. if {tirex.potka.strength2} is false:
  286. send "{@noperm}"
  287. cancel event
  288. on dispense of potion of:16425:
  289. if {tirex.potkarzucana.strength2} is false:
  290. cancel event
  291.  
  292. #natychmiastowe obrazenia#
  293. on rightclick using a potion of:8236:
  294. player doesn't have permission "{@permeffekt2}":
  295. if {tirex.potka.damage2} is false:
  296. send "{@noperm}"
  297. cancel event
  298. on dispense of potion of:16428:
  299. if {tirex.potkarzucana.damage2} is false:
  300. cancel event
  301.  
  302. command /informacje [<text>] [<text>]:
  303. trigger:
  304. if player has permission "{@permcommand}":
  305. if arg 1 is "potki":
  306. send ""
  307. send "<light blue>INFORMACJE NA TEMAT: <light red>ODBLOKOWANYCH/ZABLOKOWANYCH <light blue>POTEK!"
  308. send "<light red>Pitna <light green>| <light blue>Rzucana"
  309. send "<light blue>false <light green>= <light red>zablokowana"
  310. send "<light red>true <light green>= <light blue>odblokowana"
  311. send ""
  312. send "<light red>Effekt x1:"
  313. send "<cyan>REGEN <light green>| <cyan>sREGEN<light green>: <light blue>Regeneracji: <light red>%{tirex.potka.regen}% <light green>| <light red>%{tirex.potkarzucana.regen}%"
  314. send "<cyan>SPEED <light green>| <cyan>sSPEED<light green>: <light blue>Szybkosci: <light red>%{tirex.potka.speed}% <light green>| <light red>%{tirex.potkarzucana.speed}%"
  315. send "<cyan>FIRE <light green>| <cyan>sFIRE<light green>: <light blue>Odpornosci na Ogien: <light red>%{tirex.potka.fire}% <light green>| <light red>%{tirex.potkarzucana.fire}%"
  316. send "<cyan>POISON <light green>| <cyan>sPOISON<light green>: <light blue>Trucizny: <light red>%{tirex.potka.poison}% <light green>| <light red>%{tirex.potkarzucana.poison}%"
  317. send "<cyan>HEAL <light green>| <cyan>sHEAL<light green>: <light blue>Natychmiastowe Leczenie: <light red>%{tirex.potka.health}% <light green>| <light red>%{tirex.potkarzucana.health}%"
  318. send "<cyan>NIGHT <light green>| <cyan>sNIGHT<light green>: <light blue>Widzenia w Ciemnosci: <light red>%{tirex.potka.night}% <light green>| <light red>%{tirex.potkarzucana.night}%"
  319. send "<cyan>WEAKNES <light green>| <cyan>sWEAKNES<light green>: <light blue>Oslabienie: <light red>%{tirex.potka.weaknes}% <light green>| <light red>%{tirex.potkarzucana.weaknes}%"
  320. send "<cyan>STRENGTH <light green>| <cyan>sSTRENGTH<light green>: <light blue>Sily: <light red>%{tirex.potka.strength}% <light green>| <light red>%{tirex.potkarzucana.strength}%"
  321. send "<cyan>SLOWNESS <light green>| <cyan>sSLOWNESS<light green>: <light blue>Spowolnienia: <light red>%{tirex.potka.slowness}% <light green>| <light red>%{tirex.potkarzucana.slowness}%"
  322. send "<cyan>DAMAGE <light green>| <cyan>sDAMAGE<light green>: <light blue>Natychmiastowe Obrazeniae: <light red>%{tirex.potka.damage}% <light green>| <light red>%{tirex.potkarzucana.damage}%"
  323. send "<cyan>INVISIBLE <light green>| <cyan>sINVISIBLE<light green>: <light blue>Niewidzialnosc: <light red>%{tirex.potka.invi}% <light green>| <light red>%{tirex.potkarzucana.invi}%"
  324. send ""
  325. send "<light red>Effekt x2:"
  326. send "<cyan>REGEN_2 <light green>| <cyan>sREGEN_2<light green>: <light blue>Regeneracji II: <light red>%{tirex.potka.regen2}% <light green>| <light red>%{tirex.potkarzucana.regen2}%"
  327. send "<cyan>SPEED_2 <light green>| <cyan>sSPEED_2<light green>: <light blue>Szybkosci II <light red>%{tirex.potka.speed2}% <light green>| <light red>%{tirex.potkarzucana.speed2}%"
  328. send "<cyan>POISON_2 <light green>| <cyan>sPOISON_2<light green>: <light blue>Trucizny II: <light red>%{tirex.potka.poison}% <light green>| <light red>%{tirex.potkarzucana.poison2}%"
  329. send "<cyan>HEAL_2 <light green>| <cyan>sHEAL_2<light green>: <light blue>Natychmiastowe Leczenie II: <light red>%{tirex.potka.health2}% <light green>| <light red>%{tirex.potkarzucana.health2}%"
  330. send "<cyan>STRENGTH_2 <light green>| <cyan>sSTRENGTH_2<light green>: <light blue>Sily II: <light red>%{tirex.potka.strength2}% <light green>| <light red>%{tirex.potkarzucana.strength2}%"
  331. send "<cyan>DAMAGE_2 <light green>| <cyan>sDAMAGE_2<light green>: <light blue>Natychmiastowe Obrazenia II: <light red>%{tirex.potka.damage2}% <light green>| <light red>%{tirex.potkarzucana.damage2}%"
  332. else:
  333. send "<light blue>Prawidlowe uzycie: <cyan>/informacje <potki>"
  334.  
  335. command /potki [<text>] [<text>]:
  336. trigger:
  337. if player has permission "{@permcommand}":
  338. if arg 1 is not set:
  339. send "<light blue>Prawidlowe uzycie: <cyan>/potki ustaw"
  340. stop
  341. if arg 2 is not set:
  342. send "<light blue>Prawidlowe uzycie: <cyan>/potki ustaw <nazwa_potki> [2]"
  343. send "<cyan>/informacje potki - <light gray>Informacje na temat potek."
  344. stop
  345.  
  346.  
  347.  
  348. #---Potki z Effektem I (pitne)---#
  349. if arg 2 is "regen":
  350. if {tirex.potka} is false:
  351. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  352. set {tirex.potka} to true
  353. set {tirex.potka.regen} to true
  354. stop
  355. if {tirex.potka} is true:
  356. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  357. set {tirex.potka} to false
  358. set {tirex.potka.regen} to false
  359. stop
  360. if arg 2 is "speed":
  361. if {tirex.potka2} is false:
  362. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  363. set {tirex.potka2} to true
  364. set {tirex.potka.speed} to true
  365. stop
  366. if {tirex.potka2} is true:
  367. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  368. set {tirex.potka2} to false
  369. set {tirex.potka.speed} to false
  370. stop
  371. if arg 2 is "fire":
  372. if {tirex.potka3} is false:
  373. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  374. set {tirex.potka3} to true
  375. set {tirex.potka.fire} to true
  376. stop
  377. if {tirex.potka3} is true:
  378. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  379. set {tirex.potka3} to false
  380. set {tirex.potka.fire} to false
  381. stop
  382. if arg 2 is "poison":
  383. if {tirex.potka4} is false:
  384. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  385. set {tirex.potka4} to true
  386. set {tirex.potka.poison} to true
  387. stop
  388. if {tirex.potka4} is true:
  389. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  390. set {tirex.potka4} to false
  391. set {tirex.potka.poison} to false
  392. stop
  393. if arg 2 is "heal":
  394. if {tirex.potka5} is false:
  395. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  396. set {tirex.potka5} to true
  397. set {tirex.potka.health} to true
  398. stop
  399. if {tirex.potka5} is true:
  400. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  401. set {tirex.potka5} to false
  402. set {tirex.potka.health} to false
  403. stop
  404. if arg 2 is "night":
  405. if {tirex.potka6} is false:
  406. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  407. set {tirex.potka6} to true
  408. set {tirex.potka.night} to true
  409. stop
  410. if {tirex.potka6} is true:
  411. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  412. set {tirex.potka6} to false
  413. set {tirex.potka.night} to false
  414. stop
  415. if arg 2 is "weaknes":
  416. if {tirex.potka7} is false:
  417. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  418. set {tirex.potka7} to true
  419. set {tirex.potka.weaknes} to true
  420. stop
  421. if {tirex.potka7} is true:
  422. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  423. set {tirex.potka7} to false
  424. set {tirex.potka.weaknes} to false
  425. stop
  426. if arg 2 is "strength":
  427. if {tirex.potka8} is false:
  428. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  429. set {tirex.potka8} to true
  430. set {tirex.potka.strength} to true
  431. stop
  432. if {tirex.potka8} is true:
  433. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  434. set {tirex.potka8} to false
  435. set {tirex.potka.strength} to false
  436. stop
  437. if arg 2 is "slowness":
  438. if {tirex.potka9} is false:
  439. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  440. set {tirex.potka9} to true
  441. set {tirex.potka.slowness} to true
  442. stop
  443. if {tirex.potka9} is true:
  444. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  445. set {tirex.potka9} to false
  446. set {tirex.potka.slowness} to false
  447. stop
  448. if arg 2 is "damage":
  449. if {tirex.potka10} is false:
  450. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  451. set {tirex.potka10} to true
  452. set {tirex.potka.damage} to true
  453. stop
  454. if {tirex.potka10} is true:
  455. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  456. set {tirex.potka10} to false
  457. set {tirex.potka.damage} to false
  458. stop
  459. if arg 2 is "invisible":
  460. if {tirex.potka11} is false:
  461. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  462. set {tirex.potka11} to true
  463. set {tirex.potka.invi} to true
  464. stop
  465. if {tirex.potka11} is true:
  466. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  467. set {tirex.potka11} to false
  468. set {tirex.potka.invi} to false
  469. stop
  470.  
  471.  
  472. #---Potki z Effektem II (pitne)---#
  473. if arg 2 is "regen_2":
  474. if {tirex.potka22} is false:
  475. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  476. set {tirex.potka22} to true
  477. set {tirex.potka.regen2} to true
  478. stop
  479. if {tirex.potka22} is true:
  480. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  481. set {tirex.potka22} to false
  482. set {tirex.potka.regen2} to false
  483. stop
  484. if arg 2 is "speed_2":
  485. if {tirex.potka23} is false:
  486. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  487. set {tirex.potka23} to true
  488. set {tirex.potka.speed2} to true
  489. stop
  490. if {tirex.potka23} is true:
  491. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  492. set {tirex.potka23} to false
  493. set {tirex.potka.speed2} to false
  494. stop
  495. if arg 2 is "poison_2":
  496. if {tirex.potka45} is false:
  497. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  498. set {tirex.potka45} to true
  499. set {tirex.potka.poison2} to true
  500. stop
  501. if {tirex.potka45} is true:
  502. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  503. set {tirex.potka45} to false
  504. set {tirex.potka.poison2} to false
  505. stop
  506. if arg 2 is "heal_2":
  507. if {tirex.potka56} is false:
  508. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  509. set {tirex.potka56} to true
  510. set {tirex.potka.health2} to true
  511. stop
  512. if {tirex.potka56} is true:
  513. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  514. set {tirex.potka56} to false
  515. set {tirex.potka.health2} to false
  516. stop
  517. if arg 2 is "strength_2":
  518. if {tirex.potka89} is false:
  519. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  520. set {tirex.potka89} to true
  521. set {tirex.potka.strength2} to true
  522. stop
  523. if {tirex.potka89} is true:
  524. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  525. set {tirex.potka89} to false
  526. set {tirex.potka.strength2} to false
  527. stop
  528. if arg 2 is "damage_2":
  529. if {tirex.potka101} is false:
  530. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  531. set {tirex.potka101} to true
  532. set {tirex.potka.damage2} to true
  533. stop
  534. if {tirex.potka101} is true:
  535. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  536. set {tirex.potka101} to false
  537. set {tirex.potka.damage2} to false
  538. stop
  539.  
  540.  
  541. #---Potki z Effektem I (rzucane)---#
  542. if arg 2 is "sregen":
  543. if {tirex.spotka} is false:
  544. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  545. set {tirex.spotka} to true
  546. set {tirex.potkarzucana.regen} to true
  547. stop
  548. if {tirex.spotka} is true:
  549. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  550. set {tirex.spotka} to false
  551. set {tirex.potkarzucana.regen} to false
  552. stop
  553. if arg 2 is "sspeed":
  554. if {tirex.spotka2} is false:
  555. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  556. set {tirex.spotka2} to true
  557. set {tirex.potkarzucana.speed} to true
  558. stop
  559. if {tirex.spotka2} is true:
  560. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  561. set {tirex.spotka2} to false
  562. set {tirex.potkarzucana.speed} to false
  563. stop
  564. if arg 2 is "sfire":
  565. if {tirex.spotka3} is false:
  566. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  567. set {tirex.spotka3} to true
  568. set {tirex.potkarzucana.fire} to true
  569. stop
  570. if {tirex.spotka3} is true:
  571. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  572. set {tirex.spotka3} to false
  573. set {tirex.potkarzucana.fire} to false
  574. stop
  575. if arg 2 is "spoison":
  576. if {tirex.spotka4} is false:
  577. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  578. set {tirex.spotka4} to true
  579. set {tirex.potkarzucana.poison} to true
  580. stop
  581. if {tirex.spotka4} is true:
  582. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  583. set {tirex.spotka4} to false
  584. set {tirex.potkarzucana.poison} to false
  585. stop
  586. if arg 2 is "sheal":
  587. if {tirex.spotka5} is false:
  588. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  589. set {tirex.spotka5} to true
  590. set {tirex.potkarzucana.health} to true
  591. stop
  592. if {tirex.spotka5} is true:
  593. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  594. set {tirex.spotka5} to false
  595. set {tirex.potkarzucana.health} to false
  596. stop
  597. if arg 2 is "snight":
  598. if {tirex.spotka6} is false:
  599. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  600. set {tirex.spotka6} to true
  601. set {tirex.potkarzucana.night} to true
  602. stop
  603. if {tirex.spotka6} is true:
  604. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  605. set {tirex.spotka6} to false
  606. set {tirex.potkarzucana.night} to false
  607. stop
  608. if arg 2 is "sweaknes":
  609. if {tirex.spotka7} is false:
  610. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  611. set {tirex.spotka7} to true
  612. set {tirex.potkarzucana.weaknes} to true
  613. stop
  614. if {tirex.spotka7} is true:
  615. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  616. set {tirex.spotka7} to false
  617. set {tirex.potkarzucana.weaknes} to false
  618. stop
  619. if arg 2 is "sstrength":
  620. if {tirex.spotka8} is false:
  621. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  622. set {tirex.spotka8} to true
  623. set {tirex.potkarzucana.strength} to true
  624. stop
  625. if {tirex.spotka8} is true:
  626. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  627. set {tirex.spotka8} to false
  628. set {tirex.potkarzucana.strength} to false
  629. stop
  630. if arg 2 is "sslowness":
  631. if {tirex.spotka9} is false:
  632. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  633. set {tirex.spotka9} to true
  634. set {tirex.potkarzucana.slowness} to true
  635. stop
  636. if {tirex.spotka9} is true:
  637. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  638. set {tirex.spotka9} to false
  639. set {tirex.potkarzucana.slowness} to false
  640. stop
  641. if arg 2 is "sdamage":
  642. if {tirex.spotka10} is false:
  643. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  644. set {tirex.spotka10} to true
  645. set {tirex.potkarzucana.damage} to true
  646. stop
  647. if {tirex.spotka10} is true:
  648. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  649. set {tirex.spotka10} to false
  650. set {tirex.potkarzucana.damage} to false
  651. stop
  652. if arg 2 is "sinvisible":
  653. if {tirex.spotka11} is false:
  654. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  655. set {tirex.spotka11} to true
  656. set {tirex.potkarzucana.invi} to true
  657. stop
  658. if {tirex.spotka11} is true:
  659. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  660. set {tirex.spotka11} to false
  661. set {tirex.potkarzucana.invi} to false
  662. stop
  663.  
  664.  
  665. #---Potki z Effektem II (rzucane)---#
  666. if arg 2 is "sregen_2":
  667. if {tirex.spotka22} is false:
  668. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  669. set {tirex.spotka22} to true
  670. set {tirex.potkarzucana.regen2} to true
  671. stop
  672. if {tirex.spotka22} is true:
  673. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  674. set {tirex.spotka22} to false
  675. set {tirex.potkarzucana.regen2} to false
  676. stop
  677. if arg 2 is "sspeed_2":
  678. if {tirex.spotka23} is false:
  679. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  680. set {tirex.spotka23} to true
  681. set {tirex.potkarzucana.speed2} to true
  682. stop
  683. if {tirex.spotka23} is true:
  684. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  685. set {tirex.spotka23} to false
  686. set {tirex.potkarzucana.speed2} to false
  687. stop
  688. if arg 2 is "spoison_2":
  689. if {tirex.spotka45} is false:
  690. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  691. set {tirex.spotka45} to true
  692. set {tirex.potkarzucana.poison2} to true
  693. stop
  694. if {tirex.spotka45} is true:
  695. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  696. set {tirex.spotka45} to false
  697. set {tirex.potkarzucana.poison2} to false
  698. stop
  699. if arg 2 is "sheal_2":
  700. if {tirex.spotka56} is false:
  701. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  702. set {tirex.spotka56} to true
  703. set {tirex.potkarzucana.health2} to true
  704. stop
  705. if {tirex.spotka56} is true:
  706. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  707. set {tirex.spotka56} to false
  708. set {tirex.potkarzucana.health2} to false
  709. stop
  710. if arg 2 is "sstrength_2":
  711. if {tirex.spotka89} is false:
  712. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  713. set {tirex.spotka89} to true
  714. set {tirex.potkarzucana.strength2} to true
  715. stop
  716. if {tirex.spotka89} is true:
  717. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  718. set {tirex.spotka89} to false
  719. set {tirex.potkarzucana.strength2} to false
  720. stop
  721. if arg 2 is "sdamage_2":
  722. if {tirex.spotka101} is false:
  723. send "<light blue>Wlasnie odblokowales miksture: <light red>%arg 2%"
  724. set {tirex.spotka101} to true
  725. set {tirex.potkarzucana.damage2} to true
  726. stop
  727. if {tirex.spotka101} is true:
  728. send "<light blue>Wlasnie zablokowales miksture: <light red>%arg 2%"
  729. set {tirex.spotka101} to false
  730. set {tirex.potkarzucana.damage2} to false
  731. stop
Advertisement
Add Comment
Please, Sign In to add comment