Professional Documents
Culture Documents
Points
Points
trigger:
if {%player%.points} is not set:
set {%player%.points} to 0
message "&aYou have currently %{%player%.points}% points"
else:
message "&aYou have currently %{%player%.points}% points"
on death:
victim is a player:
attacker is a player:
if {%attacker%.booster} is true:
add 2 to {%attacker%.points}
message "&a&l+1 Point" to attacker
message "&a1 Additional point thanks to your booster!" to
attacker
else:
add 1 to {%attacker%.points}
message "&a&l+1 Point" to attacker