On rightclick: if player is holding Paper named "&bLatający Talizman": if player has permission "szaman.1": if difference between {szaman1::%player%::lastuse} and now is smaller than 7 seconds: send "&cUmiejętności tej możesz używać co 7 sekund" stop set {szaman1::%player%::lastuse} to now wait 1 second shoot a wither skull at speed 1 else: send "<red>Nie Możesz Tego Używać." on projectile hit: projectile is an wither skull: event-entity is player: damage event-entity by 13 hearts
# +2
On rightclick: if player is holding Paper named "&bLatający Talizman +2": if player has permission "szaman.1": if difference between {szaman12::%player%::lastuse} and now is smaller than 6 seconds: send "&cUmiejętności tej możesz używać co 6 sekund" stop set {szaman12::%player%::lastuse} to now shoot a wither skull at speed 1 else: send "<red>Nie Możesz Tego Używać."
# +3
On rightclick: if player is holding Paper named "&bLatający Talizman +3": if player has permission "szaman.1": if difference between {szaman13::%player%::lastuse} and now is smaller than 5 seconds: send "&cUmiejętności tej możesz używać co 5 sekund" stop set {szaman13::%player%::lastuse} to now shoot a wither skull at speed 1 else: send "<red>Nie Możesz Tego Używać."
# + 4
On rightclick: if player is holding Paper named "&bLatający Talizman +4": if player has permission "szaman.1": if difference between {szaman14::%player%::lastuse} and now is smaller than 4 seconds: send "&cUmiejętności tej możesz używać co 4 sekund" stop set {szaman14::%player%::lastuse} to now shoot a wither skull at speed 2 else: send "<red>Nie Możesz Tego Używać."
# + 5
On rightclick: if player is holding Paper named "&bLatający Talizman +5": if player has permission "szaman.1": if difference between {szaman15::%player%::lastuse} and now is smaller than 3 seconds: send "&cUmiejętności tej możesz używać co 3 sekund" stop set {szaman15::%player%::lastuse} to now shoot a wither skull at speed 3 else: send "<red>Nie Możesz Tego Używać."
# + Max
On rightclick: if player is holding Paper named "&bLatający Talizman &6Max": if player has permission "szaman.1": if difference between {szaman16::%player%::lastuse} and now is smaller than 1 seconds: send "&cUmiejętności tej możesz używać co 1 sekund" stop set {szaman16::%player%::lastuse} to now shoot a wither skull at speed 3 else: send "<red>Nie Możesz Tego Używać."
Dlaczego damage nie wchodzi tak jak tam pisze ? (13 żyć) świnie zawsze na 2 hity a endermana na 8 hitów dlaczego tak jest ? jak zwiększyć damage by działał ?
Pytanie
Nieaktywny
On rightclick:
if player is holding Paper named "&bLatający Talizman":
if player has permission "szaman.1":
if difference between {szaman1::%player%::lastuse} and now is smaller than 7 seconds:
send "&cUmiejętności tej możesz używać co 7 sekund"
stop
set {szaman1::%player%::lastuse} to now
wait 1 second
shoot a wither skull at speed 1
else:
send "<red>Nie Możesz Tego Używać."
on projectile hit:
projectile is an wither skull:
event-entity is player:
damage event-entity by 13 hearts
# +2
On rightclick:
if player is holding Paper named "&bLatający Talizman +2":
if player has permission "szaman.1":
if difference between {szaman12::%player%::lastuse} and now is smaller than 6 seconds:
send "&cUmiejętności tej możesz używać co 6 sekund"
stop
set {szaman12::%player%::lastuse} to now
shoot a wither skull at speed 1
else:
send "<red>Nie Możesz Tego Używać."
# +3
On rightclick:
if player is holding Paper named "&bLatający Talizman +3":
if player has permission "szaman.1":
if difference between {szaman13::%player%::lastuse} and now is smaller than 5 seconds:
send "&cUmiejętności tej możesz używać co 5 sekund"
stop
set {szaman13::%player%::lastuse} to now
shoot a wither skull at speed 1
else:
send "<red>Nie Możesz Tego Używać."
# + 4
On rightclick:
if player is holding Paper named "&bLatający Talizman +4":
if player has permission "szaman.1":
if difference between {szaman14::%player%::lastuse} and now is smaller than 4 seconds:
send "&cUmiejętności tej możesz używać co 4 sekund"
stop
set {szaman14::%player%::lastuse} to now
shoot a wither skull at speed 2
else:
send "<red>Nie Możesz Tego Używać."
# + 5
On rightclick:
if player is holding Paper named "&bLatający Talizman +5":
if player has permission "szaman.1":
if difference between {szaman15::%player%::lastuse} and now is smaller than 3 seconds:
send "&cUmiejętności tej możesz używać co 3 sekund"
stop
set {szaman15::%player%::lastuse} to now
shoot a wither skull at speed 3
else:
send "<red>Nie Możesz Tego Używać."
# + Max
On rightclick:
if player is holding Paper named "&bLatający Talizman &6Max":
if player has permission "szaman.1":
if difference between {szaman16::%player%::lastuse} and now is smaller than 1 seconds:
send "&cUmiejętności tej możesz używać co 1 sekund"
stop
set {szaman16::%player%::lastuse} to now
shoot a wither skull at speed 3
else:
send "<red>Nie Możesz Tego Używać."
Dlaczego damage nie wchodzi tak jak tam pisze ? (13 żyć) świnie zawsze na 2 hity a endermana na 8 hitów dlaczego tak jest ? jak zwiększyć damage by działał ?
Edytowane przez NieaktywnyOdnośnik do komentarza
https://skript.pl/temat/9290-wither-skill/Udostępnij na innych stronach
12 odpowiedzi na to pytanie
Rekomendowane odpowiedzi