adamdino123

EffectBows

Dec 5th, 2015
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     prefix: &3[&2LUKI&3]&7
  3.     brak_itemow: Nie masz wystarczajcych przedmiotow, aby kupic ten luk
  4.     cena_1: 3 sponge and 64 rotten flesh
  5.     cena_2: 3 sponge and 32 coal block
  6.     cena_3: 2 sponge and 64 pink wool
  7.     cena_4: 1 sponge and 64 bread
  8.     cena_5: 5 sponge and 1 wither skeleton head
  9.     cena_6: 3 sponge and 20 raw fish
  10. command /zrobsklep:
  11.     permission: mob.create
  12.     trigger:
  13.         spawn villager in front of player
  14.         set name of spawned entity to "&6&l>>&9&lLucznik&6&l<<"
  15.         apply slowness 100 to spawned entity for 9999999 days
  16. on damage:
  17.     victim is villager
  18.     name of victim is "&6&l>>&9&lLucznik&6&l<<"
  19.     cancel event
  20. on rightclick on villager:
  21.     name of clicked entity is "&6&l>>&9&lLucznik&6&l<<"
  22.     cancel event
  23.     execute player command "/luki"
  24. command /dajluk1:
  25.     trigger:
  26.         if player have {@cena_1}:
  27.             remove {@cena_1} from player
  28.             give player a bow named "&3&lLuk &2&lZatrucia"
  29.             send  "{@prefix} test"
  30.           wait 1 tick
  31.             execute player command "/luki"
  32.       if player don't have @cena_1}:
  33.             send "{@prefix} {@brak_itemow}"
  34. command /dajluk2:
  35.     trigger:
  36.         if player have {@cena_2}:
  37.             remove {@cena_1} from player
  38.             give player a bow named "&3&lLuk &2&lObumierania"
  39.          send "
  40.             wait 1 tick
  41.             execute player command "/luki"
  42.             send "{@prefix} test"
  43.         if player don't have {@cena_2}:
  44.             send "{@prefix} {@brak_itemow}"
  45. command /dajluk3:  
  46.     trigger:
  47.         if player have {@cena_3}:
  48.             remove {@cena_1} from player
  49.             give player a bow named "&3&lLuk &2&lSlabosci"
  50.             wait 1 tick
  51.             execute player command "/luki"
  52.         if player don't have {@cena_3}:
  53.             send "{@prefix} {@brak_itemow}"
  54. command /dajluk4:
  55.     trigger:
  56.         if player have {@cena_4}:
  57.             remove {@cena_1} from player
  58.             give player a bow named "&3&lLuk &2&lGlodu"
  59.             wait 1 tick
  60.             execute player command "/luki"
  61.         if player don't have {@cena_4}:
  62.             send "{@prefix} {@brak_itemow}"
  63. command /dajluk5:
  64.     trigger:
  65.         if player have {@cena_5}:
  66.             remove {@cena_1} from player
  67.             give player a bow named "&3&lLuk &2&lSlepoty"
  68.             wait 1 tick
  69.             execute player command "/luki"
  70.         if player don't have {@cena_5}:
  71.             send "{@prefix} {@brak_itemow}"
  72. command /dajluk6:
  73.     trigger:
  74.         if player have {@cena_6}:
  75.             remove {@cena_1} from player
  76.             give player a bow named "&3&lLuk &2&lNudnosci"
  77.             wait 1 tick
  78.             execute player command "/luki"
  79.         if player don't have {@cena_6}:
  80.             send "{@prefix} {@brak_itemow}"
  81. command /luki:
  82.     trigger:
  83.         show "s;1;i;bow;n;&3&lLuk &2&lZatrucia;l;&dEfekty:||&5&lZatruje tego, kto zostanie trafiony...||&dPotrzeba:||&23 gabki||&264 zgnilego miesa;c;sudo %player% dajluk1;s;2;i;bow;n;&3&lLuk &2&lObumierania;l;&dEfekty:||&5&lTrafiony gracz zacznie umierac...||&dPotrzeba:||&23 gabki||&232 bloki wegla;c;sudo %player% dajluk2;s;3;i;bow;n;&3&lLuk &2&lSlabosci;l;&dEfekty:||&5&lTrafiony gracz bedzie tracic sily...;c;sudo %player% dajluk3;s;4;i;magenta glass pane;n; ;l;;c;sudo %player% luki;s;5;i;arrow;n; ;l;;c;sudo %player% luki;s;6;i;magenta glass pane;n; ;l;;c;sudo %player% luki;s;7;i;bow;n;&3&lLuk &2&lGlodu;l;&dEfekty:||&5&lTrafiony gracz poczuje glod...;c;sudo %player% dajluk4;s;8;i;bow;n;&3&lLuk &2&lSlepoty;l;&dEfekty:||&5&lMroczki przed oczami...;c;sudo %player% dajluk5;s;9;i;bow;n;&3&lLuk &2&lNudnosci;l;&dEfekty:||&5&lTwoj wrog za duzo wypil...;c;sudo %player% dajluk6;" with 1 rows named "&4Sklep z Lukami" to player
  84. #----------------------
  85. on damage:
  86.     victim is a player
  87.     attacker is a player
  88.     attacker's tool is bow named "&3&lLuk &2&lZatrucia"
  89.    apply poison 2 to victim for 8 seconds
  90. #-----------------------
  91. on damage:
  92.     victim is a player
  93.     attacker is a player
  94.     attacker's tool is bow named "&3&lLuk &2&lObumierania"
  95.     apply wither 1 to victim for 15 seconds
  96. #-----------------------
  97. on damage:
  98.     victim is a player
  99.     attacker is a player
  100.     attacker's tool is bow named "&3&lLuk &2&lSlabosci"
  101.     apply weakness to victim for 10 seconds
  102. #-----------------------
  103. on damage:
  104.     victim is a player
  105.     attacker is a player
  106.     attacker's tool is bow named "&3&lLuk &2&lGlodu"
  107.     apply hunger to victim for 15 seconds
  108. #-----------------------
  109. on damage:
  110.     victim is a player
  111.     attacker is a player
  112.     attacker's tool is bow named "&3&lLuk &2&lSlepoty"
  113.     apply blindness to victim for 5 seconds
  114. #-----------------------
  115. on damage:
  116.     victim is a player
  117.     attacker is a player
  118.     attacker's tool is bow named "&3&lLuk &2&lNudnosci"
  119.     apply nausea to victim for 15 seconds
Advertisement
Add Comment
Please, Sign In to add comment