Skocz do zawartości
  • 0

problem z premiumcase


Sandox16
 Udostępnij

Pytanie

Witam Potrzebował bym aby z premium case wylatywały max 2 item'y a nie po 6 tak jak to jest teraz prosił bym o pomoc

options:
 tag: &6PremiumCase 
on place:
 if player's tool is chest:
  if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]":
   cancel event

on right click:
 if player's tool is chest:
  if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]":
   broadcast "&8[&6*&8]----------------&8[&6*&8]"
   broadcast "&6%player% &7Otworzyl Premium Case &7i wydropil:"
   chance of 10%:
    drop 1 311 of protection 4 and unbreaking 3 named "&3klata Cwela"
    broadcast "&7- &61x Klata 4/3"
	
   chance of 51%:
    drop 1 311 of protection 2 and unbreaking 3 named "&3klata"
    broadcast "&7- &61x Klata 2/3"

   chance of 80%:
    drop 5 dirt
    broadcast "&7- &65x dirt"

   chance of 20%:
    drop 16 emerald
    broadcast "&7- &616x Emeraldy"

   chance of 10%:
    drop 1 310 of protection 4 and unbreaking 3 named "&3Bania Cygana"
    broadcast "&7- &61x Helm 4/3"
	
   chance of 50%:
    drop 1 310 of protection 2 and unbreaking 3 named "&3Helm"
    broadcast "&7- &61x Helm 2/3"	

   chance of 40%:
    drop 16 gold ingot
    broadcast "&7- &616x Zelazo"

   chance of 10%:
    drop 1 312 of protection 4 and unbreaking 3 named "&3Kalesony Nameczqa"
    broadcast "&7- &61x Spodnie 4/3"
	
   chance of 51%:
    drop 1 312 of protection 2 and unbreaking 3 named "&3Spodnie"
    broadcast "&7- &61x Spodnie 2/3"

   chance of 5%:
    drop 16 gold ingot
    broadcast "&7- &616x Zloto"

   chance of 1.6%:
    drop 1 276 of sharpness 6 and fire aspect 2 named "&5Lecisz Na Hita"
    broadcast "&7- &61x Miecz 6/2"

   chance of 5%:
    drop 32 TNT
    broadcast "&7- &632x TNT"

   chance of 1.6%:
    drop 1 278 of efficiency 6 named "&4Kilow Szybkosci"
    broadcast "&7- &61x Kilof 6"

   chance of 10%:
    drop 1 313 of protection 4 and unbreaking 3 named "&3Kozaki"
    broadcast "&7- &61x Buty 4/3"

   chance of 51%:
    drop 1 313 of protection 2 and unbreaking 3 named "&3Buty"
    broadcast "&7- &61x Buty 2/3"
	
   chance of 6%:
    drop 8 ender pearl
    broadcast "&7- &68x Perla"

   chance of 5%:
    drop 8 enchanted golden apple
    broadcast "&7- &68x Koxy"

   chance of 5%:
    drop 16 Golden Apple
    broadcast "&7- &616x Refy"

   chance of 8%:
    drop 1 276 of sharpness 5 and fire aspect 2 named "&3Diamentowy Miecz"
    broadcast "&7- &61x Miecz 5/2"

   chance of 8%:
    drop 1 276 of knockback 2 named "&3Diamentowy Miecz"
    broadcast "&7- &61x Miecz 2"

   chance of 4%:
    drop 1 potion:8233
    broadcast "&7- &61x Sila II"

   chance of 10%:
    drop 1 278 of efficiency 5 and fortune 3 and unbreaking 3 named "&3Diamentowy Kilof"
    broadcast "&7- &61x Kilof 5/3/3"

   chance of 65%:
    drop 1 278 of efficiency 3 and fortune 1 and unbreaking 1 named "&3Diamentowy Kilof"
    broadcast "&7- &61x Kilof 3/1/1"
	
   chance of 0.1%:
    drop 1 beacon
    broadcast "&7- &61x &4Becone"
	
   chance of 71%:
    drop 1 261
    broadcast "&7- &61x Luk"

   chance of 8%:
    drop 1 261 of punch 2 and infinity 1
    broadcast "&7- &61x Luk 2/1"

   chance of 8%:
    drop 1 261 of power 5 and infinity 1 and flame 1
    broadcast "&7- &61x Luk 5/1/1"

   broadcast "&8| &7PremiumCase zakupisz na: &6www.craftleave.wex.pl"
   broadcast "&8| &7Za &6PSC &7i &6PRZELEW &7kupisz u: &6Sandox16(Właściciel)"
   broadcast "&8[&6*&8]----------------&8[&6*&8]"
   remove 1 chest named "&8[&6*&8] &7PremiumCase &8[&6*&8]" from player's inventory
   
command /pcase [<player>] [<text>]:
 permission: rex.premiumcase
 trigger:
  if arg 1 is not set:
   if arg 2 is not set:
    send "{@tag} &7/pcase [Nick] [Ilosc]"
  if arg 1 is set:
   if arg 2 is set:
    execute console command "give %arg 1% chest %arg 2%  name:&8[&6*&8]_&7PremiumCase_&8[&6*&8]"
    send "{@tag} &7Otrzymales Premium Case &x%arg 2% !" to player-arg

 

Odnośnik do komentarza
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
 tag: &6PremiumCase 
on place:
 if player's tool is chest:
  if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]":
   cancel event

on right click:
 if player's tool is chest:
  if name of player's tool is "&8[&6*&8] &7PremiumCase &8[&6*&8]":
   broadcast "&8[&6*&8]----------------&8[&6*&8]"
   broadcast "&6%player% &7Otworzyl Premium Case &7i wydropil:"
   chance of 10%:
    drop 1 311 of protection 4 and unbreaking 3 named "&3klata Cwela"
    broadcast "&7- &61x Klata 4/3"
	
   chance of 51%:
    drop 1 311 of protection 2 and unbreaking 3 named "&3klata"
    broadcast "&7- &61x Klata 2/3"
	stop

   chance of 80%:
    drop 5 dirt
    broadcast "&7- &65x dirt"
    stop

   chance of 20%:
    drop 16 emerald
    broadcast "&7- &616x Emeraldy"
    stop

   chance of 10%:
    drop 1 310 of protection 4 and unbreaking 3 named "&3Bania Cygana"
    broadcast "&7- &61x Helm 4/3"
    stop
	
   chance of 50%:
    drop 1 310 of protection 2 and unbreaking 3 named "&3Helm"
    broadcast "&7- &61x Helm 2/3"
    stop

   chance of 40%:
    drop 16 gold ingot
    broadcast "&7- &616x Zelazo"
    stop

   chance of 10%:
    drop 1 312 of protection 4 and unbreaking 3 named "&3Kalesony Nameczqa"
    broadcast "&7- &61x Spodnie 4/3"
    stop
	
   chance of 51%:
    drop 1 312 of protection 2 and unbreaking 3 named "&3Spodnie"
    broadcast "&7- &61x Spodnie 2/3"
    stop

   chance of 5%:
    drop 16 gold ingot
    broadcast "&7- &616x Zloto"
    stop

   chance of 1.6%:
    drop 1 276 of sharpness 6 and fire aspect 2 named "&5Lecisz Na Hita"
    broadcast "&7- &61x Miecz 6/2"
    stop

   chance of 5%:
    drop 32 TNT
    broadcast "&7- &632x TNT"
    stop

   chance of 1.6%:
    drop 1 278 of efficiency 6 named "&4Kilow Szybkosci"
    broadcast "&7- &61x Kilof 6"
    stop

   chance of 10%:
    drop 1 313 of protection 4 and unbreaking 3 named "&3Kozaki"
    broadcast "&7- &61x Buty 4/3"
    stop

   chance of 51%:
    drop 1 313 of protection 2 and unbreaking 3 named "&3Buty"
    broadcast "&7- &61x Buty 2/3"
    stop
	
   chance of 6%:
    drop 8 ender pearl
    broadcast "&7- &68x Perla"
    stop

   chance of 5%:
    drop 8 enchanted golden apple
    broadcast "&7- &68x Koxy"
    stop

   chance of 5%:
    drop 16 Golden Apple
    broadcast "&7- &616x Refy"
    stop

   chance of 8%:
    drop 1 276 of sharpness 5 and fire aspect 2 named "&3Diamentowy Miecz"
    broadcast "&7- &61x Miecz 5/2"
    stop

   chance of 8%:
    drop 1 276 of knockback 2 named "&3Diamentowy Miecz"
    broadcast "&7- &61x Miecz 2"
    stop

   chance of 4%:
    drop 1 potion:8233
    broadcast "&7- &61x Sila II"
    stop

   chance of 10%:
    drop 1 278 of efficiency 5 and fortune 3 and unbreaking 3 named "&3Diamentowy Kilof"
    broadcast "&7- &61x Kilof 5/3/3"
    stop

   chance of 65%:
    drop 1 278 of efficiency 3 and fortune 1 and unbreaking 1 named "&3Diamentowy Kilof"
    broadcast "&7- &61x Kilof 3/1/1"
    stop
	
   chance of 0.1%:
    drop 1 beacon
    broadcast "&7- &61x &4Becone"
    stop
	
   chance of 71%:
    drop 1 261
    broadcast "&7- &61x Luk"
    stop

   chance of 8%:
    drop 1 261 of punch 2 and infinity 1
    broadcast "&7- &61x Luk 2/1"
    stop

   chance of 8%:
    drop 1 261 of power 5 and infinity 1 and flame 1
    broadcast "&7- &61x Luk 5/1/1"
    stop

   broadcast "&8| &7PremiumCase zakupisz na: &6www.craftleave.wex.pl"
   broadcast "&8| &7Za &6PSC &7i &6PRZELEW &7kupisz u: &6Sandox16(Właściciel)"
   broadcast "&8[&6*&8]----------------&8[&6*&8]"
   remove 1 chest named "&8[&6*&8] &7PremiumCase &8[&6*&8]" from player's inventory
   
command /pcase [<player>] [<text>]:
 permission: rex.premiumcase
 trigger:
  if arg 1 is not set:
   if arg 2 is not set:
    send "{@tag} &7/pcase [Nick] [Ilosc]"
  if arg 1 is set:
   if arg 2 is set:
    execute console command "give %arg 1% chest %arg 2%  name:&8[&6*&8]_&7PremiumCase_&8[&6*&8]"
    send "{@tag} &7Otrzymales Premium Case &x%arg 2% !" to player-arg

Wytabuj, wszystko powinno działac

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

jest problem bo jak w powietrzu próbuje ja otworzyć to pisze ze wytropiłem to i to a nic nie dostaje Pomożesz? i jak otwieram je bez gm to nie zabiera mi ich tak jak była nieskończoność (nieskończoność zrobiłem )tylko czemu w powietrzu można ja ozywać a nic nie daje ?

Edytowane przez Sandox16
Sandox16
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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