Skocz do zawartości
  • 0

Cloud Bootsy zabierają serca po skoku.


Gość Usunięty#3549

Pytanie

Gość Usunięty#3549

Witam ma na swoim serwerze cloud bootsy.. Ale gdy się skaczę zabierają HP poprawicie mi ten kod, zeby po skoku na cloud bootsach nie zabierało serduszek?

 

variables:
#-------------Cloud Bootsy----------------------------------
        {cloudbootsy} = true
on script load:
        {cloudbootsy} is true:
                register new shaped recipe for diamond boots of unbreaking 3 named "<aqua><bold>Cloud Boots" using emerald block, emerald block, emerald block, diamond block, diamond block, diamond block, 313, 313, 313
on player login:
        wait 10 seconds
        if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
                apply jump boost 5 to the player for 999999999 seconds
                apply speed 2 to the player for 999999999 seconds
                set {cloudbootsy.%player%.zalozone} to 1
        else:
                if {cloudbootsy.%player%.zalozone} is set:
                        remove jump boost from the player
                        remove speed from the player
                        delete {cloudbootsy.%player%.zalozone}
 
on jump:
        if boots of player is diamond boots named "<aqua><bold>Cloud Boots":
                if {cloudbootsy.%player%.zalozone} is not set:
                        apply jump boost 5 to the player for 999999999 seconds
                        apply speed 2 to the player for 999999999 seconds
                        set {cloudbootsy.%player%.zalozone} to 1
                spawn 17 of particle smoke offset by 1, 1, 1 at location of player
                spawn 17 of particle fireworks spark offset by 1, 1, 1 at location of player
                spawn 17 of particle instant spell offset by 1, 1, 1 at location of player
                spawn 17 of particle magic crit offset by 1, 1, 1 at location of player
                spawn 17 of particle spell offset by 1, 1, 1 at location of player
        if boots of player is not diamond boots named "<aqua><bold>Cloud Boots":
                if {cloudbootsy.%player%.zalozone} is set:
                        remove jump boost from the player
                        remove speed from the player
                        delete {cloudbootsy.%player%.zalozone}

 

Odnośnik do komentarza
https://skript.pl/temat/12874-cloud-bootsy-zabieraj%C4%85-serca-po-skoku/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Spójrz na to z innej strony:

Zmierz czas od skoku do upadku, jeśli np 4 sek to:

on jump:

    if boots of player is diamond...

                          apply jump boost 5 to the player for 10 seconds

                          apply speed 2 to the player for 10 seconds

                          apply resistance 5 to the player for 10 seconds

 

xD

 

Edit:

A tak serio to dodaj feather falling 5 - 10 do butów albo dodaj linijke z

on falling:

    if player's boots are named "***"

        make the player invuareable (nie wiem jak to się pisze sorka ;p) to falling damage

nie testowałem, ale myślę, że coś takiego da się zrobić.

 

Edytowane przez jasiubor
Odnośnik do komentarza
https://skript.pl/temat/12874-cloud-bootsy-zabieraj%C4%85-serca-po-skoku/#findComment-89857
Udostępnij na innych stronach

  • 0

Jestem na telefonie. Wytabuj sobie.

on damage:

if damage cause is fall:

 if boots of victim is diamond boots named "<aqua><bold>Cloud Boots":

  cancel event

 

       

Odnośnik do komentarza
https://skript.pl/temat/12874-cloud-bootsy-zabieraj%C4%85-serca-po-skoku/#findComment-89872
Udostępnij na innych stronach

  • 0
Gość Usunięty#3549
Dnia 8.08.2016 o 18:39, Ixidi napisał:

Jestem na telefonie. Wytabuj sobie.

on damage:

if damage cause is fall:

 if boots of victim is diamond boots named "<aqua><bold>Cloud Boots":

  cancel event

 

       Przez to gracze na serwerze nie mogli się klepać ;p

 

Odnośnik do komentarza
https://skript.pl/temat/12874-cloud-bootsy-zabieraj%C4%85-serca-po-skoku/#findComment-90190
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...