Skocz do zawartości
  • -1

Excalibur i Inne bronie


Pytanie

Witam

Szukam skryptu na Excalibury (1.7.2) oraz inne bronie załączam wam tutaj linki jak to powinno wyglądać proszę o wysłanie mi takiego czegoś na priv lub pod tym postem ,z góry dziękuję :D

Excalibur:

 Innie Bronie:

 

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/
Udostępnij na innych stronach

19 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • -1
on death:
	if victim is a player:
		if attacker is a player:
			if attacker's tool is diamond sword:
				if name of attacker's tool is "&7Excalibur":
					add 1 to {excalibur.%attacker%}
					stop
variables:
        {excalibur.%player%} = 0
		
command /excalibur [<player=%player%>]:
	permission: *
		trigger:
			give diamond sword named "&7Excalibur" with lore "Wlasnosc: %arg 1% | Zabiles %{excalibur.%arg 1%}%" to player-argument

Nie jestem pewien czy będzie się zmieniać lore :/

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-81281
Udostępnij na innych stronach

  • -1

Masz na topór... (Zaspamisz mnie :x)

on damage:
	if attacker is player:
		if victim is player:
			if name of attacker's tool is "&eTopor Tytanow":
				apply nausea 1 to the victim for 10 second
				send "&cZostales zaatakowany toporem tytanow!" to victim
				

command /topor:
	permisison: topor.daj
	trigger:
		give 1 gold axe named "&eTopor Tytanow" of sharpness 5 and fire aspect 2 and knockback 2 with lore "&2- Ofiara traci kontrole!" to player
		send "&aPrzywowalales topor tytanow!"

 

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-81336
Udostępnij na innych stronach

  • -1

Skrypt testowany na wersji Skript autorstwa Bensku.
Funkcja excalibur() daje miecz podanemu graczowi i przyjmuje dwa argumenty:
- pierwszym jest gracz, który ma dostać miecz,
- drugi to true albo false i określa czy jeżeli gracz nie będzie miał miejsca w eq to czy ma wtedy obok niego wydropić ten miecz.

# miecz
function excalibur(p: player, d: boolean):
	set {_i} to 1 diamond sword named "&e&oExcalibur"
	set the 1st line of lore of {_i} to "&6&oDecription&e&o: &rWlasnosc %display name of {_p}%"
	set the 2nd line of lore of {_i} to "&rPlayers Killed: 0"
	set the 3rd line of lore of {_i} to "&rStrange Weapon ##17"
	{_d} is true:
		{_p} can't hold {_i}:
			drop {_i} at {_p}
			stop
	give {_i} to {_p}

# licznik zabitych graczy
on death:
	name of attacker's tool is "&e&oExcalibur"
	victim is a player
	set {_s} to 2nd line of lore of attacker's tool
	set {_k} to subtext of {_s} from character 18 to (the length of {_s})
	set {_k} to {_k} parsed as number
	add 1 to {_k} 
	set the 2nd line of lore of attacker's tool to "&rPlayers Killed: %{_k}%"

# efekt siły po uderzeniu
on damage:
	name of attacker's tool is "&e&oExcalibur"
	apply strength to attacker for 3 seconds

# przykładowe użycie funkcji
command /dajmiecz:
	trigger:
		excalibur(player, true)

 

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-81754
Udostępnij na innych stronach

  • 0
1 minutę temu, Zenek Mucha napisał:

przy załadowaniu skrypty wyskakują 2 błędy poprawił by ktoś ?

Może podasz te błędy?
Z jakiej wersji Skript korzystasz?
Skrypt testowałem i na pewno w 100% działa.

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-81772
Udostępnij na innych stronach

  • 0

właśnie pobieram ten co ty na nim testowałeś.

a jeżeli dalej będą wyskakiwać te błędy to podam.

//edit

@piratjsk mógłbyś wysłać cały ten cały twój folder Scripts oraz Scripts.jar ? :D prosze bo coś mi nie chce działać :/

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-81773
Udostępnij na innych stronach

  • 0
Gość Usunięty#3472

Chłopie... Wystarczy plugin TimTheEnchanter, ItemNamer i SignShop
TimTheEnchanter do enchantowania itemów aż do 1000 enchantu
ItemNamer do dawania opisu i nazwy przedmiotu (Da się na kolorowo)
SignShop do kupywania za kase
w signshop
1. Linijka: [iBuy]
2. Linijka: byle co
3. Linijka: byle co
4. Linijka: $(KASA)
jesli napiszesz tabliczke ukryj gdzies skrzynie i wloz do tej skrzyni ten excalibur albo inną broń
a następnie kliknij czerwonym proszkiem najpierw na skrzynie a potem na tabliczke
Gotowe!
Do signshop wymagany vault


 

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-84388
Udostępnij na innych stronach

  • 0
Gość Usunięty#3472

a jeśli chcesz skrypt ha... kto zrobi lepiej? :D 






 

Spoiler
  1. on rightclick with slimeball:
  2.     if gamemode of player is survival:
  3.         if the clicked block is set:
  4.             if name of player's tool is "&2Amulet Boskiej Ochrony":
  5.                 remove fire resistance from player
  6.                 apply fire resistance 3 to player for 990.9 seconds
  7.                 send "AMULET: &2Poczules gorace plomienie wydobywujace sie z twojego ciala, juz nie boisz sie ognia."
  8.  
  9. on rightclick with magma cream:
  10.     if gamemode of player is survival:
  11.         if the clicked block is set:
  12.             if name of player's tool is "&6Amulet Magicznego Uzdrowienia":
  13.                 remove regeneration from player
  14.                 apply regeneration 2 to player for 25.9 seconds
  15.                 send "AMULET: &2Ahhh jak dobrze... zostales uleczony."
  16.  
  17. on rightclick with blaze powder:
  18.     if gamemode of player is survival:
  19.         if the clicked block is set:
  20.             if name of player's tool is "&1Ognisty Amulet Szybkosci":
  21.                 remove swiftness from player
  22.                 apply swiftness 2 to player for 750.9 seconds
  23.                 send "AMULET: &2Teraz jestes szybki jak wiatr."
  24.  
  25. on rightclick with nether star:
  26.     if gamemode of player is survival:
  27.         if the clicked block is set:
  28.             if name of player's tool is "&4Amulet Boskiego Swiatla":
  29.                 remove night vision from player
  30.                 apply night vision to player for 1000.9 seconds
  31.                 send "AMULET: &2Zostales oswiecony boska moca."
  32.  
  33. on rightclick with blaze rod:
  34.     if gamemode of player is survival:
  35.         if the clicked block is set:
  36.             if name of player's tool is "&eMagiczna rozdzka Mocy":
  37.                 remove strength from player
  38.                 apply strength 2 to player for 1000.9 seconds
  39.                 send "AMULET: &2Poczules ogromna sile."
  40.  
  41. on rightclick with map:
  42.     if gamemode of player is survival:
  43.         if name of player's tool is "&4&lMagiczny Zwoj Zycia":
  44.             cancel event
  45.             remove health boost from player
  46.             apply health boost 5 to player for 7 days
  47.             remove 1 map from player
  48.             send "       &4&lMagiczne zwoje:"
  49.             send "&cWitalna energia zwoju przeszla na ciebie, lecz zaraz po rytuale zwoj spalil sie w rekach"
  50.  
  51. on damage:
  52.     if name of attacker's tool is "&eTopor Tyranow":
  53.         remove nausea from the victim
  54.         apply nausea to victim for 10.9 seconds
  55.  
  56. on damage:
  57.     if name of attacker's tool is "&9Smocza Wlocznia":
  58.         remove hunger from the victim
  59.         apply hunger 50 to victim for 10.9 seconds
  60.  
  61. on respawn:
  62.     set maximum health of the player to 10
  63.     set maximum hunger of the player to 10
  64.     remove health boost from the player
  65.     remove poison from the player
  66.     remove regeneration from the player
  67.     remove saturation from the player
  68.     remove swiftness from the player
  69.     remove strength from the player
  70.     remove haste from the player
  71.     remove weakness from the player
  72.     remove slowness from the player
  73.     remove resistance from the player
  74.     remove fire resistance from the player
  75.     remove jump boost from the player
  76.     remove invisibility from the player
  77.  
  78. command /kosa:
  79.     permission: essentials.item
  80.     trigger:
  81.         execute console command "/give %player% diamond_hoe 1 name:&6Boska_Kosa_Smierci lore:&2+_Zabojczy_odrzut"
  82.         enchant tool with unbreaking 100
  83.         enchant tool with sharpness 30
  84.         enchant tool with knockback 30
  85.         enchant tool with fire aspect 10
  86. on rightclick on sign:
  87.     line 2 is "&6BOSKA KOSA"
  88.     line 3 is "&6SMIERCI"
  89.     player's account is greater than or equal to 100000:
  90.         player's held item is air:
  91.             execute console command "/give %player% diamond_hoe 1 name:&6Boska_Kosa_Smierci lore:&2+_Zabojczy_odrzut"
  92.             enchant tool with unbreaking 100
  93.             enchant tool with sharpness 30
  94.             enchant tool with knockback 30
  95.             enchant tool with fire aspect 10
  96.             send "&6[SignShop] &fYou have bought &6Boska Kosa Smierci!"
  97.             remove 100000 from player's account
  98.     else:
  99.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  100.  
  101. command /topor:
  102.     permission: essentials.item
  103.     trigger:
  104.         execute console command "/give %player% 286 1 name:&eTopor_Tyranow lore:&2+_Ofiara_traci_kontrole_(ROZMYTY_EKRAN),_gdy_ja_zaatakujesz"
  105.         enchant tool with unbreaking 100
  106.         enchant tool with sharpness 25
  107.         enchant tool with knockback 5
  108.         enchant tool with fire aspect 5
  109. on rightclick on sign:
  110.     line 2 is "&eTOPOR"
  111.     line 3 is "&eTYRANOW"
  112.     player's account is greater than or equal to 150000:
  113.         player's held item is air:
  114.             execute console command "/give %player% 286 1 name:&eTopor_Tyranow lore:&2+_Ofiara_traci_kontrole_(ROZMYTY_EKRAN),_gdy_ja_zaatakujesz"
  115.             enchant tool with unbreaking 100
  116.             enchant tool with sharpness 25
  117.             enchant tool with knockback 5
  118.             enchant tool with fire aspect 5
  119.             send "&6[SignShop] &fYou have bought &eTopor Tyranow!"
  120.             remove 150000 from player's account
  121.     else:
  122.         send "&6[SignShop] &fYou don't have &a$150000 &fto pay!"
  123.  
  124. command /wlocznia:
  125.     permission: essentials.item
  126.     trigger:
  127.         execute console command "/give %player% stick 1 name:&9Smocza_Wlocznia lore:&2+_Podczas_ataku_wyzwala_umiejetnosc_""ATAK_GLODU""|&2+_Niezniszczalna_Bron"
  128.         enchant tool with sharpness 35
  129.         enchant tool with knockback 5
  130. on rightclick on sign:
  131.     line 2 is "&9SMOCZA"
  132.     line 3 is "&9WLOCZNIA"
  133.     player's account is greater than or equal to 200000:
  134.         player's held item is air:
  135.             execute console command "/give %player% stick 1 name:&9Smocza_Wlocznia lore:&2+_Podczas_ataku_wyzwala_umiejetnosc_""ATAK_GLODU""|&2+_Niezniszczalna_Bron"
  136.             enchant tool with sharpness 35
  137.             enchant tool with knockback 5
  138.             send "&6[SignShop] &fYou have bought &9Smocza Wlocznia!"
  139.             remove 200000 from player's account
  140.     else:
  141.         send "&6[SignShop] &fYou don't have &a$200000 &fto pay!"
  142.  
  143. command /demo:
  144.     permission: essentials.item
  145.     trigger:
  146.         give diamond helmet of protection 25 and fire protection 25 and projectile protection 25 named "Demoniczny Diamentowy helm" to player
  147.         give diamond chestplate of protection 25 and fire protection 25 and projectile protection 25 named "Demoniczna Diamentowa zbroja" to player
  148.         give diamond leggings of protection 25 and fire protection 25 and projectile protection 25 named "Demoniczne Diamentowe nogawice" to player
  149.         give diamond boots of protection 25 and fire protection 25 and projectile protection 25 named "Demoniczne Diamentowe buty" to player
  150. command /demo2:
  151.     permission: essentials.item
  152.     trigger:
  153.         give diamond helmet of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczny Diamentowy Helm" to player
  154.         give diamond chestplate of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczna Diamentowa Zbroja" to player
  155.         give diamond leggings of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczne Diamentowe Nogawice" to player
  156.         give diamond boots of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczne Diamentowe Buty" to player
  157. on rightclick on sign:
  158.     line 2 is "&bDemoniczny"
  159.     line 3 is "&bHelm"
  160.     player's account is greater than or equal to 50000:
  161.         give diamond helmet of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczny Diamentowy Helm" to player
  162.         send "&6[SignShop] &fYou have bought &bDemo Helmet!"
  163.         remove 50000 from player's account
  164.     else:
  165.         send "&6[SignShop] &fYou don't have &a$50000 &fto pay!"
  166. on rightclick on sign:
  167.     line 2 is "&bDemoniczna"
  168.     line 3 is "&bZbroja"
  169.     player's account is greater than or equal to 100000:
  170.         give diamond chestplate of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczna Diamentowa Zbroja" to player
  171.         send "&6[SignShop] &fYou have bought &bDemo Chestplate!"
  172.         remove 100000 from player's account
  173.     else:
  174.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  175. on rightclick on sign:
  176.     line 2 is "&bDemoniczne"
  177.     line 3 is "&bNogawice"
  178.     player's account is greater than or equal to 75000:
  179.         give diamond leggings of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczne Diamentowe Nogawice" to player
  180.         send "&6[SignShop] &fYou have bought &bDemo Leggings!"
  181.         remove 75000 from player's account
  182.     else:
  183.         send "&6[SignShop] &fYou don't have &a$75000 &fto pay!"
  184. on rightclick on sign:
  185.     line 2 is "&bDemoniczne"
  186.     line 3 is "&bButy"
  187.     player's account is greater than or equal to 50000:
  188.         give diamond boots of protection 25 and projectile protection 10 and unbreaking 5 named "&aDemoniczne Diamentowe Buty" to player
  189.         send "&6[SignShop] &fYou have bought &bDemo Boots!"
  190.         remove 50000 from player's account
  191.     else:
  192.         send "&6[SignShop] &fYou don't have &a$50000 &fto pay!"
  193.  
  194. command /amulety:
  195.     permission: essentials.item
  196.     trigger:
  197.         give slimeball of smite 1 named "&2Amulet Boskiej Ochrony" to player
  198.         give magma cream of smite 1 named "&6Amulet Magicznego Uzdrowienia" to player
  199.         give blaze powder of smite 1 named "&1Ognisty Amulet Szybkosci" to player
  200.         give nether star of smite 1 named "&4Amulet Boskiego Swiatla" to player
  201.         give blaze rod of smite 1 named "&eMagiczna rozdzka Mocy" to player
  202.         execute console command "/give %player% map 1 name:&4&lMagiczny_zwoj_zycia lore:&4❈__&eBiali_magowie_z_wiezy_Quistorpa|&4❈__&erzucili_zaklecie_na_kawalek_papieru|&4❈__&ektory_mienil_sie_w_magiczny_zwoj_dodajacy:|&4❈__&e10_&4❤_&ena_okres_wieczny_lub_do_momentu_smierci!|&4❈__&eEfektow_nie_mozna_powielac."
  203. on rightclick on sign:
  204.     line 2 is "&2AMULET"
  205.     player's account is greater than or equal to 100000:
  206.         give slimeball of smite 1 named "&2Amulet Boskiej Ochrony" to player
  207.         send "&6[SignShop] &fYou have bought &2Amulet Boskiej Ochrony!"
  208.         remove 100000 from player's account
  209.     else:
  210.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  211. on rightclick on sign:
  212.     line 2 is "&6AMULET"
  213.     player's account is greater than or equal to 100000:
  214.         give magma cream of smite 1 named "&6Amulet Magicznego Uzdrowienia" to player
  215.         send "&6[SignShop] &fYou have bought &6Amulet Magicznego Uzdrowienia!"
  216.         remove 100000 from player's account
  217.     else:
  218.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  219. on rightclick on sign:
  220.     line 2 is "&1OGNISTY"
  221.     player's account is greater than or equal to 100000:
  222.         give blaze powder of smite 1 named "&1Ognisty Amulet Szybkosci" to player
  223.         send "&6[SignShop] &fYou have bought &1Ognisty Amulet Szybkosci!"
  224.         remove 100000 from player's account
  225.     else:
  226.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  227. on rightclick on sign:
  228.     line 2 is "&4AMULET"
  229.     player's account is greater than or equal to 100000:
  230.         give nether star of smite 1 named "&4Amulet Boskiego Swiatla" to player
  231.         send "&6[SignShop] &fYou have bought &4Amulet Boskiego Swiatla!"
  232.         remove 100000 from player's account
  233.     else:
  234.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  235. on rightclick on sign:
  236.     line 2 is "&eMAGICZNA"
  237.     player's account is greater than or equal to 100000:
  238.         give blaze rod of smite 1 named "&eMagiczna rozdzka Mocy" to player
  239.         send "&6[SignShop] &fYou have bought &eMagiczna rozdzka Mocy!"
  240.         remove 100000 from player's account
  241.     else:
  242.         send "&6[SignShop] &fYou don't have &a$100000 &fto pay!"
  243.  
  244. command /kilof:
  245.     permission: essentials.item
  246.     trigger:
  247.         if player's held item is air:
  248.             execute console command "/give %player% diamond_pickaxe 1 name:&b&lStarorzytny_kilof lore:&2Starozytny_Kilof_zostal,|&2wykonany_przez_mistrza_rzemieslnictwa.|&2Jego_diamentowa_ostrosc,|&2niszczy_skaly_na_drobny_mak.|&2Podobno_w_dawnych_czasach,|&2byl_wykorzystywany_do_rozbijania_diamentow"
  249.             enchant tool with unbreaking 10
  250.             enchant tool with fortune 3
  251.             enchant tool with efficiency 6
  252. on rightclick on sign:
  253.     line 2 is "&b&lStarozytny"

 

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-84476
Udostępnij na innych stronach

  • 0
Gość Usunięty#3468
Dnia 24.05.2016 o 15:07, Krzysiek Rysiek napisał:

Chłopie... Wystarczy plugin TimTheEnchanter, ItemNamer i SignShop
TimTheEnchanter do enchantowania itemów aż do 1000 enchantu
ItemNamer do dawania opisu i nazwy przedmiotu (Da się na kolorowo)
SignShop do kupywania za kase
w signshop
1. Linijka: [iBuy]
2. Linijka: byle co
3. Linijka: byle co
4. Linijka: $(KASA)
jesli napiszesz tabliczke ukryj gdzies skrzynie i wloz do tej skrzyni ten excalibur albo inną broń
a następnie kliknij czerwonym proszkiem najpierw na skrzynie a potem na tabliczke
Gotowe!
Do signshop wymagany vault

TimTHEeNCHANTER mozna napisac w skript.

Itemrenamer, kolejny skript, nawet ja go wstawilem ;p

signshop jest skypt

 

//Poprawiłem post z mojej dobroci ~Derpy

Odnośnik do komentarza
https://skript.pl/temat/11215-excalibur-i-inne-bronie/#findComment-86334
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...