couleurs deacoudre nice jump
This commit is contained in:
parent
d890f2421e
commit
4fbe7e42a8
1 changed files with 10 additions and 8 deletions
|
@ -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 {thimble.dead.%uuid of loop-value%} is not set:
|
||||||
if {_niceJump} is true:
|
if {_niceJump} is true:
|
||||||
set block at loop-value to gold block
|
set block at loop-value to gold block
|
||||||
set {_player} to loop-value
|
set {_player} to loop-value
|
||||||
loop {party.list::*}:
|
loop {party.list::*}:
|
||||||
if gamemode of {_player} is adventure:
|
send "&a&l%{_player}%&r&e a fait un beau jump !" to loop-value-2
|
||||||
send "%{_player}% 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
|
||||||
|
|
Loading…
Reference in a new issue