Wyskakuje coś takiego: [23:12:28 ERROR]: can't understand this condition: 'set {_x} to random integer between 1 and 5' (luckyblock.sk, line 14: set {_x} to random integer between 1 and 5:')
options:
lbName: &6&l&oLucky Block
lore1: &ePoziom I
lore2: &ePoziom II
lore3: &ePoziom III
on place of sponge:
# luckyblocks
if name of tool of player is "{@lbName}":
cancel event
remove 1 sponge from tool of player
# poziom 1
if 1st line of player's tool's lore is "{@lore1}":
set {_y} to random integer between 1 and 5:
if {_y} is eqaul to 1:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop diamonds at event-block
if {_y} is eqaul to 2:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop gold ingot at event-block
if {_y} is eqaul to 3:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop iron ingot at event-block
if {_y} is eqaul to 4:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop coal at event-block
Pytanie
SzlugPL 2
Wyskakuje coś takiego: [23:12:28 ERROR]: can't understand this condition: 'set {_x} to random integer between 1 and 5' (luckyblock.sk, line 14: set {_x} to random integer between 1 and 5:')
options:
lbName: &6&l&oLucky Block
lore1: &ePoziom I
lore2: &ePoziom II
lore3: &ePoziom III
on place of sponge:
# luckyblocks
if name of tool of player is "{@lbName}":
cancel event
remove 1 sponge from tool of player
# poziom 1
if 1st line of player's tool's lore is "{@lore1}":
set {_y} to random integer between 1 and 5:
if {_y} is eqaul to 1:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop diamonds at event-block
if {_y} is eqaul to 2:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop gold ingot at event-block
if {_y} is eqaul to 3:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop iron ingot at event-block
if {_y} is eqaul to 4:
chance of 1%:
set {_x} to random integer from 1 to 5
loop {_x} times:
drop coal at event-block
Odnośnik do komentarza
Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi