Category: Need help with adding an ability to my item
Suggested name: Slice of Flesh
Spigot/Skript Version: 2.8.2
When I'd like it by: whenever is fine
What I want:
vvv
Could someone help add this ability to my skript called:
Id like the ability to active when the item is dropped and returned to the player right away. Id also like a 30 second cooldown on the ability, thank you.
And if someone could fix the cooldown system it would be much appreciated
Thank you!
&4Slice of &cFlesh
Which does the following effects on the next hit:
Takes away 25% from your health
Gives you strength 3 for 10 seconds
Gives the next hit slowness 1 for 10 seconds
Gives the hit darkness 1 for 10 seconds
this is the skript i have currently
on rightclick:
If name of player's tool contains "&cScythe of Reaping":
if {cooldown.%player%} is less than 1:
add 1 to {cooldown.%player%}
push player in direction the player is looking with force 2
wait 1 tick
set {cooldown.%player%} to 0
send "&6You performed a short dash with the &cScythe of Reaping!"
else:
if name of player's offhand tool contains "&cScythe of Reaping":
if {cooldown.%player%} is less than 1:
add 3 to {cooldown.%player%}
push player in direction the player is looking with force 5
wait 1 tick
set {cooldown.%player%} to 0
send "&6You performed a long dash with the &cScythe of Reaping!"
on join:
set {cooldown.%player%} to 0
PS. feel free to add/change anything as you see fit, or change something in the drop ability thatll have a similair affect
Suggested name: Slice of Flesh
Spigot/Skript Version: 2.8.2
When I'd like it by: whenever is fine
What I want:
vvv
Could someone help add this ability to my skript called:
Id like the ability to active when the item is dropped and returned to the player right away. Id also like a 30 second cooldown on the ability, thank you.
And if someone could fix the cooldown system it would be much appreciated
Thank you!
&4Slice of &cFlesh
Which does the following effects on the next hit:
Takes away 25% from your health
Gives you strength 3 for 10 seconds
Gives the next hit slowness 1 for 10 seconds
Gives the hit darkness 1 for 10 seconds
this is the skript i have currently
on rightclick:
If name of player's tool contains "&cScythe of Reaping":
if {cooldown.%player%} is less than 1:
add 1 to {cooldown.%player%}
push player in direction the player is looking with force 2
wait 1 tick
set {cooldown.%player%} to 0
send "&6You performed a short dash with the &cScythe of Reaping!"
else:
if name of player's offhand tool contains "&cScythe of Reaping":
if {cooldown.%player%} is less than 1:
add 3 to {cooldown.%player%}
push player in direction the player is looking with force 5
wait 1 tick
set {cooldown.%player%} to 0
send "&6You performed a long dash with the &cScythe of Reaping!"
on join:
set {cooldown.%player%} to 0
PS. feel free to add/change anything as you see fit, or change something in the drop ability thatll have a similair affect