command /emeraldblade:
usage: /emeraldblade
trigger:
if player has permission "emeraldblade.use":
set {_coins} to 0
if {Coins::%player%} is set:
set {_coins} to {Coins::%player%}
else:
send "You don't have any coins in your purse."
stop
if {_coins} > 2000000000:
set {_coins} to 2000000000
set {_damage} to 130 + 2.5 * (({_coins} ^ (1/4)))
add {_damage} to damage of player
send "Your Emerald Blade's damage is now {_damage}!"
My friend made this but its not working I am using Skript 2.7.1 and SkBee 1.15.3 server veirson 1.17.1
usage: /emeraldblade
trigger:
if player has permission "emeraldblade.use":
set {_coins} to 0
if {Coins::%player%} is set:
set {_coins} to {Coins::%player%}
else:
send "You don't have any coins in your purse."
stop
if {_coins} > 2000000000:
set {_coins} to 2000000000
set {_damage} to 130 + 2.5 * (({_coins} ^ (1/4)))
add {_damage} to damage of player
send "Your Emerald Blade's damage is now {_damage}!"
My friend made this but its not working I am using Skript 2.7.1 and SkBee 1.15.3 server veirson 1.17.1