soo, im trying to make the "Axe of Perun" like the one in hypixel uhc, but when the lightning strikes, fire comes with it and ruins it much. heres the skript i got:
on damage:
if projectile exists:
stop
else:
attacker is a player:
victim is not a player:
attacker is holding diamond axe named "&6Axe of Perun"
wait 1 tick
if {smite.timer} is above 1:
stop
if {smite.timer} is 0:
strike lightning at the victim <-- i dont want the fire here!
set {smite.timer} to 5 <-- and also wanna make it personal cooldown, not global
stop
every second:
if {smite.timer} is 0:
stop
else:
remove 1 from {smite.timer}
command /perun:
trigger:
player has permission "perun.get.sk":
give 1 diamond axe named "&6Axe of Perun" to player
command /peru:
permission: "perun.peru.sk"
trigger:
set {smite.timer} to 0
send "&fYou can now use &6Axe of Perun"
on damage:
if projectile exists:
stop
else:
attacker is a player:
victim is not a player:
attacker is holding diamond axe named "&6Axe of Perun"
wait 1 tick
if {smite.timer} is above 1:
stop
if {smite.timer} is 0:
strike lightning at the victim <-- i dont want the fire here!
set {smite.timer} to 5 <-- and also wanna make it personal cooldown, not global
stop
every second:
if {smite.timer} is 0:
stop
else:
remove 1 from {smite.timer}
command /perun:
trigger:
player has permission "perun.get.sk":
give 1 diamond axe named "&6Axe of Perun" to player
command /peru:
permission: "perun.peru.sk"
trigger:
set {smite.timer} to 0
send "&fYou can now use &6Axe of Perun"