on rightclick on entity:
entity's display name is "&e&lArcheolog":
if player's tool is clay:
if name of player's tool is "&7&LNiezidentyfikowany kamyk":
if lore of player's tool is "&eMoze archeolog bedzie wiedzial co to jest..":
if amount of item player's tool is equal to 1:
remove 1 clay named "&7&LNiezidentyfikowany kamyk" from player
chance of 30%:
give 351:8 of unbreaking 1 named "&7&lDIOZYT" to player
send "&eTak.. to jest diozyt."
stop
chance of 30%:
give 351:9 of unbreaking 2 named "&5&lROKSANIT" to player
send "&eTak.. to jest roksanit."
stop
chance of 30%:
give 351:5 of unbreaking 3 named "&4&lLAMENOR" to player
send "&eTak.. to jest lamenor."
stop
jak zrobić by po kliknięciu na npc dawał tylko 1 przedmiot z tych 3?
Pytanie
xXx_Skrypter_xXx 17
on rightclick on entity: entity's display name is "&e&lArcheolog": if player's tool is clay: if name of player's tool is "&7&LNiezidentyfikowany kamyk": if lore of player's tool is "&eMoze archeolog bedzie wiedzial co to jest..": if amount of item player's tool is equal to 1: remove 1 clay named "&7&LNiezidentyfikowany kamyk" from player chance of 30%: give 351:8 of unbreaking 1 named "&7&lDIOZYT" to player send "&eTak.. to jest diozyt." stop chance of 30%: give 351:9 of unbreaking 2 named "&5&lROKSANIT" to player send "&eTak.. to jest roksanit." stop chance of 30%: give 351:5 of unbreaking 3 named "&4&lLAMENOR" to player send "&eTak.. to jest lamenor." stopjak zrobić by po kliknięciu na npc dawał tylko 1 przedmiot z tych 3?
Odnośnik do komentarza
https://skript.pl/temat/30560-problem-skrypt111/Udostępnij na innych stronach
7 odpowiedzi na to pytanie
Rekomendowane odpowiedzi