couleurs deacoudre nice jump

This commit is contained in:
Mylloon 2021-06-28 15:28:29 +02:00
parent d890f2421e
commit 4fbe7e42a8

View file

@ -67,15 +67,16 @@ every 0.5 second in "world": # pose du bloc et téléporatation
if block at location {_blockX}, {_blockY}, ({_blockZ} + 1) in world "world" is water: if block at location {_blockX}, {_blockY}, ({_blockZ} + 1) in world "world" is water:
set {_niceJump} to false set {_niceJump} to false
if {_niceJump} is true: if {thimble.dead.%uuid of loop-value%} is not set:
set block at loop-value to gold block if {_niceJump} is true:
set {_player} to loop-value set block at loop-value to gold block
loop {party.list::*}: set {_player} to loop-value
if gamemode of {_player} is adventure: loop {party.list::*}:
send "%{_player}% a fait un beau jump !" to loop-value-2 send "&a&l%{_player}%&r&e a fait un beau jump !" to loop-value-2
else: else:
if gamemode of {_player} is adventure:
set block at loop-value to wool set block at loop-value to wool
else:
delete {thimble.dead.%uuid of loop-value%}
teleport loop-value to {thimble.location} teleport loop-value to {thimble.location}
feed loop-value feed loop-value
heal loop-value heal loop-value
@ -87,3 +88,4 @@ on death:
set gamemode of player to spectator set gamemode of player to spectator
loop {party.list::*}: loop {party.list::*}:
send "&c%player%&b a été éliminé !" to loop-value send "&c%player%&b a été éliminé !" to loop-value
set {thimble.dead.%uuid of player%} to true