Krumb069
Nether Yerlisi
- En iyi cevaplar
- 1
Sağ tıklayınca yıldırım atan balta 25 saniyede bir kullanılabilir.
Kod:
command /yb:
permission: yb.al
trigger:
set {yb.%Player%} to golden axe named "&6Yıldırım &2Baltası"
set 1st line of lore of {yb.%player%} to "&bSağ tıklayınca yıldırım atar."
set 2nd line of lore of {yb.%player%} to "&c25 saniyede bir kullanılabilir."
give {yb.%player%} to player
message "&7[&6Yıldırım &2Baltası&7]&cBalta alındı."
on right click:
player is holding {yb.%player%}:
set {_difference} to difference between {ybkullanma.%player%} and now
if {_difference} is less than 25 seconds:
set {_difference} to difference between {_difference} and 25 seconds
message "&7[&6Yıldırım &2Baltası&7]&bBaltayı tekrar kullanmak için %{_difference}% beklemelisin. "
stop
set {ybkullanma.%player%} to now
strike lightning at the targeted block