Skocz do zawartości
  • 0

Bonusowa skrzynia


Ciast3k
 Udostępnij

Pytanie

Cześć. Mam problem z dorobieniem do tego drugiego dropu i drugiego takie samego eventu.

Prosilbym o pomoc jakiegos skryptera. Bo jak zrobie juz drugi taki sam if na drugiego bonusa, to sie chrzani, i ani pierwszy ani drugi nie ma dropu (poprostu nic nie leci ..)

 

Oto kod:

options:    item1: diamond    item2: enchanted golden apple named "&6Koxy"    item3: 5 tnt     on load:    add {@item1} to {drop::*}    add {@item2} to {drop::*}    add {@item3} to {drop::*}    stop on place a chest:    if player's tool is chest named "&7BONUS":        cancel event        set event-block to air        remove 1 chest named "&6BONUS" from the player        drop a random item out of {drop::*}        send "&cDostales swojego bonusa!"             on death:    if victim is creeper:        chance of 5%:            drop 1 chest named "&7BONUS" at the victim            send "&aZnalazles BONUSA!" to attacker        chance of 1%:            drop 1 chest named "&6ZLOTY_BONUS" at the victim            send "&aZnalazles ZLOTEGO BONUSA!" to attacker
Edytowane przez Ciast3k
Odnośnik do komentarza
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Tak, ale co z tym. wczesniej tak zrobilem i mie sie zepsulo.. Zrobilem tak. tak jest ok?

 

on place a chest:
if player's tool is chest named "&7BONUS":
cancel event
set event-block to air
remove 1 chest named "&6BONUS" from the player
drop a random item out of {drop::*}
send "&cDostales swojego bonusa!"
if player's tool is chest named "&2BONUSe":
cancel event
set event-block to air
remove 1 chest named "&2BONUSe" from the player
drop a random item out of {drop::*}
send "&cDostales swojego bonusa!"
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on place a chest:    if player's tool is chest named "&7BONUS":        cancel event        set event-block to air        remove 1 chest named "&6BONUS" from the player        drop a random item out of {drop::*}        send "&cDostales swojego bonusa!"    if player's tool is chest named "&2BONUSe":        cancel event        set event-block to air        remove 1 chest named "&2BONUSe" from the player        drop a random item out of {drop::*}        send "&cDostales swojego bonusa!"
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on place a chest:    if player's tool is chest named "&7BONUS":        cancel event        set event-block to air        remove 1 chest named "&6BONUS" from the player        drop a random item out of {drop::*}        send "&cDostales swojego bonusa!"    if player's tool is chest named "&2BONUSe":        cancel event        set event-block to air        remove 1 chest named "&2BONUSe" from the player        drop a random item out of {drop::*}        send "&cDostales swojego bonusa!"

poco to napisałeś?

Napisałeś dokładnie to co ja na górze...

 

 

@TOPIC:

 

A jak to zamienić na np. Jakiś itemek np diament, żeby działało na tej samej zasadzie

Edytowane przez Ciast3k
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ę...