on block place:
set {BlockByPlayer::%event-location%} to player
on break of any log:
if {BlockByPlayer::%event-location%} is set:
stop
^
#In this place, all works fine |
if player contains hase:
stop
^
|
#As I didn't mock here, I couldn't get the script to stop
apply weakness 4 to player for 15 seconds
apply slow digging 4 to player for 15 seconds
apply slowness 4 to player for 4 seconds
chance of 6%:
apply weakness 1 to player for 99999 seconds
apply slow digging 1 to player for 99999 seconds
send "Ты повредил палец" to player
send "%player% повредил палец" to all players in radius 20 of player
stop
chance of 1%:
apply weakness 2 to player for 99999 seconds
apply slow digging 2 to player for 99999 seconds
send "Ты повредил руку" to player
send "%player% повредил руку" to all players in radius 20 of player
stop
on break of stone:
if {BlockByPlayer::%event-location%} is set:
stop
if player contains haste:
stop
if player has permission "group.[minerlvl1":
stop
chance of 50%:
apply weakness 1 to player for 2 seconds
apply slow digging 3 to player for 2 seconds
apply slowness 1 to player for 2 seconds
chance of 6%:
apply weakness 1 to player for 99999 seconds
apply slow digging 1 to player for 99999 seconds
send "Ты повредил палец" to player
send "%player% повредил палец" to all players in radius 20 of player
stop
chance of 1%:
apply weakness 2 to player for 99999 seconds
apply slow digging 2 to player for 99999 seconds
send "Ты повредил руку" to player
send "%player% повредил руку" to all players in radius 20 of player
stop
set {BlockByPlayer::%event-location%} to player
on break of any log:
if {BlockByPlayer::%event-location%} is set:
stop
^
#In this place, all works fine |
if player contains hase:
stop
^
|
#As I didn't mock here, I couldn't get the script to stop
apply weakness 4 to player for 15 seconds
apply slow digging 4 to player for 15 seconds
apply slowness 4 to player for 4 seconds
chance of 6%:
apply weakness 1 to player for 99999 seconds
apply slow digging 1 to player for 99999 seconds
send "Ты повредил палец" to player
send "%player% повредил палец" to all players in radius 20 of player
stop
chance of 1%:
apply weakness 2 to player for 99999 seconds
apply slow digging 2 to player for 99999 seconds
send "Ты повредил руку" to player
send "%player% повредил руку" to all players in radius 20 of player
stop
on break of stone:
if {BlockByPlayer::%event-location%} is set:
stop
if player contains haste:
stop
if player has permission "group.[minerlvl1":
stop
chance of 50%:
apply weakness 1 to player for 2 seconds
apply slow digging 3 to player for 2 seconds
apply slowness 1 to player for 2 seconds
chance of 6%:
apply weakness 1 to player for 99999 seconds
apply slow digging 1 to player for 99999 seconds
send "Ты повредил палец" to player
send "%player% повредил палец" to all players in radius 20 of player
stop
chance of 1%:
apply weakness 2 to player for 99999 seconds
apply slow digging 2 to player for 99999 seconds
send "Ты повредил руку" to player
send "%player% повредил руку" to all players in radius 20 of player
stop