Skocz do zawartości
  • 0

Poprawa skryptu


NDmarian

Pytanie

every 1 second:
        loop all players:
                if boots of loop-player is diamond boots named "&4&lCloud Boots":
                        apply jump boost 10 to the loop-player for 1 seconds
                        apply speed 3 to the loop-player for 1 seconds
command /cloudboots [<text>]:
    trigger:
        if arg 1 is "give":
        if player has permission "Johnny.cloudboots.give" or "*":
        give diamond boots of protection 5 named "&4&lCloud Boots" to player
        send "&c&lDostales cloudboots!"
    else:
    send "&4Blad: &cnie masz permisji!"
    on damage:
    if boots of victim is diamond boots named "&3Cloud Boots":
    damage cause is fall
    set {_a} to location of victim
    spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
    spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
    spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
    spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
    spawn 15 of particle Spell offset by 1, 1, 1 at {_a}
    cancel event
    on jump:
    if boots of player is diamond boots named "&4&lCloud Boots!":
    set {_a} to location of player
    spawn 15 of particle fireworks Spark offset by 1, 1, 1 at {_a}
    spawn 15 of particle smoke offset by 1, 1, 1 at {_a}
    spawn 15 of particle magic crit offset by 1, 1, 1 at {_a}
    spawn 15 of particle instant Spell offset by 1, 1, 1 at {_a}
    spawn 15 of particle Spell offset by 1, 1, 1 at {_a}

Chcę dodać crafting do CloudBoots jednak nie wiem jak... Próbowałem dodać "on load:
    register new shaped recipe for diamond boots of protection 5 named "&4&lCloud Boots" using air, gold block, air, air, diamond, air, feather, diamond boots, feather" - na początku jak i na końcu skryptu i nie działa :/ 

Edytowane przez Ixidi
Odnośnik do komentarza
https://skript.pl/temat/25330-poprawa-skryptu/
Udostępnij na innych stronach

0 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nie udzielono jeszcze odpowiedzi na to pytanie

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ę...