Mam problem gdyz zrobilem plik yml i tam wszystko jest ale nic mi nie dropi :c Macie kod (Nie caly)
on script load:
if folder "plugins/test" doesn't exists:
create folder "plugins/test"
if file "plugins/Drop/config.yml" doesn't exists:
create file "plugins/test/config.yml"
wf "szansa-diament: 100%%" to "plugins/test/config.yml"
on break of stone:
if {diament.%player%} is true:
if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe:
if block's y-coordinate is smaller than {@diament-y}:
chance of {diament}:
if player can hold 1 diamond:
give 1 diamond to player's inventory
add 1 to {diament.%player%.sztuki}
set {xp} to random integer between 1 and 5
add {xp} to {xp.%player%}
Pytanie
kerpson 533
Mam problem gdyz zrobilem plik yml i tam wszystko jest ale nic mi nie dropi :c Macie kod (Nie caly)
on script load: if folder "plugins/test" doesn't exists: create folder "plugins/test" if file "plugins/Drop/config.yml" doesn't exists: create file "plugins/test/config.yml" wf "szansa-diament: 100%%" to "plugins/test/config.yml" on break of stone: if {diament.%player%} is true: if player's tool is iron pickaxe or gold pickaxe or diamond pickaxe: if block's y-coordinate is smaller than {@diament-y}: chance of {diament}: if player can hold 1 diamond: give 1 diamond to player's inventory add 1 to {diament.%player%.sztuki} set {xp} to random integer between 1 and 5 add {xp} to {xp.%player%}
Odnośnik do komentarza
Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi