Skocz do zawartości
  • 0

Dlaczego moby się nie repią?


Pytanie

Witam,

Mam problem o tuz robię serwer RPG i napisałem skript : https://code.skript.pl/tfncYCXN na moby. No i jak ustawiam respa mobów to one się nie repią. Nawet z Pluginy MysticMobs.

Pozdrawiam i proszę o szybką pomoc! (błedy 0)

Odnośnik do komentarza
https://skript.pl/temat/26423-dlaczego-moby-si%C4%99-nie-repi%C4%85/
Udostępnij na innych stronach

14 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Godzinę temu, Magiczny_Miki napisał:

Czy masz ustawione difficulty na easy lub normal lub hard? Albo zabezpieczyłeś spawna i wpisałeś żeby moby się nie spawniły? 

To by było za proste :( 

Odnośnik do komentarza
https://skript.pl/temat/26423-dlaczego-moby-si%C4%99-nie-repi%C4%85/#findComment-174076
Udostępnij na innych stronach

  • 0

on rightclick with chest:
        cancel event
        player is holding a chest named "&6Skrzynia Energi":
        remove 1 chest named "&6Skrzynia Energi" from the player
        set {wylosowanydmg} to "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11" or "12" or "13" or "14" or "15" or "16" or "17" or "18" or "19" or "20" or "21" or "22" or "23" or "24" or "25" or "26" or "27" or "28" or "29" or "30" or "31" or "32" or "33" or "34" or "35" or "36" or "37" or "38" or "39" or "40" or "41" or "42" or "43" or "44" or "45" or "46" or "47" or "48" or "49" or "50" or "51" or "52" or "53" or "54" or "55" or "56" or "57" or "58" or "59" or "60" or "61" or "62" or "63" or "64" or "65" or "66" or "67" or "68" or "69" or "70" or "71" or "72" or "73" or "74" or "75" or "76" or "77" or "78" or "79" or "80" or "81" or "82" or "83" or "84" or "85" or "86" or "87" or "88" or "89" or "90" or "91" or "92" or "93" or "94" or "95" or "96" or "97" or "98" or "99" or "100"
        add 1 gold ingot of unbreaking 10 named "&6Energia DMG &c-%{wylosowanydmg}%%%" to player
        
                
                
every 100 second:
    clear {moby::australium::spawn}
                    
                    
on death:
    if victim is Wither Skeleton:
        if name of victim is "&ePotwor Australium":
            chance of 25%:
                drop 1 263 of unbreaking 10 named "&9Dusza potwora australium" with lore "&aMozesz to wymienic na warp wieza!" at victim
            chance of 10%:
                drop 1 399 of unbreaking 10 named "&9Serce potwora australium" at victim
                    
                    
                    
        
command /setspawnaustralium:
    trigger:
        set {aust} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 50
        set chestplate of the spawned entity to a iron chestplate of protection 50
        set leggings of the spawned entity to a iron leggings of protection 50
        set boots of the spawned entity to a iron boots of protection 50    
        set tool of last spawned entity to diamond sword of sharpness 45
        
command /setspawnaustralium2:
    trigger:
        set {aust1} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust1}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 5001
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to diamond sword of sharpness 1000
        
command /setspawnaustralium3:
    trigger:
        set {aust2} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust2}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 500
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to diamond sword of sharpness 1000
        
command /setspawnaustralium4:
    trigger:
        set {aust3} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust3}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 500
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to iron sword of sharpness 1800

 

Skrypty poprawiony :). Dodałem też, że jest napisane kiedy ustawiasz spawn dla tych potworów oraz naprawiłem błąd z usuwaniem skrzynki, bo jej nie usuwało po kliknięciu. Mam nadzieję, że wszystko działa :) u mnie wszystko działało.

        
        
        


        
        


     
        
        
        

Edytowane przez Magiczny_Miki
Odnośnik do komentarza
https://skript.pl/temat/26423-dlaczego-moby-si%C4%99-nie-repi%C4%85/#findComment-174086
Udostępnij na innych stronach

  • 0

Może pomogę, bo nie wiem czy wiesz, ale jak się rzuci potką na leczenie w agresywnego moba (zombie, szkielet itp) to możesz go zabić. W skrypcie masz napisane aby uleczyć tego moba i może tu właśnie tkwić twój problem.

Odnośnik do komentarza
https://skript.pl/temat/26423-dlaczego-moby-si%C4%99-nie-repi%C4%85/#findComment-174116
Udostępnij na innych stronach

  • 0

Już rozwiązałem problem, do zamknięcia

 

3 godziny temu, Magiczny_Miki napisał:

on rightclick with chest:
        cancel event
        player is holding a chest named "&6Skrzynia Energi":
        remove 1 chest named "&6Skrzynia Energi" from the player
        set {wylosowanydmg} to "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11" or "12" or "13" or "14" or "15" or "16" or "17" or "18" or "19" or "20" or "21" or "22" or "23" or "24" or "25" or "26" or "27" or "28" or "29" or "30" or "31" or "32" or "33" or "34" or "35" or "36" or "37" or "38" or "39" or "40" or "41" or "42" or "43" or "44" or "45" or "46" or "47" or "48" or "49" or "50" or "51" or "52" or "53" or "54" or "55" or "56" or "57" or "58" or "59" or "60" or "61" or "62" or "63" or "64" or "65" or "66" or "67" or "68" or "69" or "70" or "71" or "72" or "73" or "74" or "75" or "76" or "77" or "78" or "79" or "80" or "81" or "82" or "83" or "84" or "85" or "86" or "87" or "88" or "89" or "90" or "91" or "92" or "93" or "94" or "95" or "96" or "97" or "98" or "99" or "100"
        add 1 gold ingot of unbreaking 10 named "&6Energia DMG &c-%{wylosowanydmg}%%%" to player
        
                
                
every 100 second:
    clear {moby::australium::spawn}
                    
                    
on death:
    if victim is Wither Skeleton:
        if name of victim is "&ePotwor Australium":
            chance of 25%:
                drop 1 263 of unbreaking 10 named "&9Dusza potwora australium" with lore "&aMozesz to wymienic na warp wieza!" at victim
            chance of 10%:
                drop 1 399 of unbreaking 10 named "&9Serce potwora australium" at victim
                    
                    
                    
        
command /setspawnaustralium:
    trigger:
        set {aust} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 50
        set chestplate of the spawned entity to a iron chestplate of protection 50
        set leggings of the spawned entity to a iron leggings of protection 50
        set boots of the spawned entity to a iron boots of protection 50    
        set tool of last spawned entity to diamond sword of sharpness 45
        
command /setspawnaustralium2:
    trigger:
        set {aust1} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust1}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 5001
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to diamond sword of sharpness 1000
        
command /setspawnaustralium3:
    trigger:
        set {aust2} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust2}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 500
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to diamond sword of sharpness 1000
        
command /setspawnaustralium4:
    trigger:
        set {aust3} to location of player
        send "&aPomyslnie ustawiono spawn &ePotworow Australium"
every 60 second:
    chance of 100%:
        clear {moby::australium::spawn}
        spawn 1 Wither Skeleton at {aust3}
        set the spawned Wither Skeleton's display name to "&ePotwor Australium"
        set the last spawned entity's max health to 50
        heal the last spawned entity
        set helmet of the spawned entity to a iron helmet of protection 500
        set chestplate of the spawned entity to a iron chestplate of protection 500
        set leggings of the spawned entity to a iron leggings of protection 500
        set boots of the spawned entity to a iron boots of protection 500    
        set tool of last spawned entity to iron sword of sharpness 1800

 

Skrypty poprawiony :). Dodałem też, że jest napisane kiedy ustawiasz spawn dla tych potworów oraz naprawiłem błąd z usuwaniem skrzynki, bo jej nie usuwało po kliknięciu. Mam nadzieję, że wszystko działa :) u mnie wszystko działało.

        
        
        


        
        


     
        
        
        

Daje najlepszą odp bo dużo napisałeś :):kappa: 

//Łączę ~ JanekJaran

Odnośnik do komentarza
https://skript.pl/temat/26423-dlaczego-moby-si%C4%99-nie-repi%C4%85/#findComment-174120
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ę...