Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Szukam pluginu albo skryptu na LVLE z mobów


Rekomendowane odpowiedzi

Opublikowano

Szukam pluginu albo skryptu na lvle z mobów razem z expem który można samemu skonfigurować.

LVLE mają dropić do danego moba np. Zombie z nazwą Zombie (1 lvl) ma dropić 0.01 expa zwykłego minecraftowego i tak dalej.

Skrypt moge sobie sam dokończyć tylko potrzebuje kilka linijek skryptu żeby się na nim wzorować.

Będe wdzięczny jak ktos mi napisze taki skrypt bo wątpie żeby działał jak na jednym z serwerów p**.i*.pl.

Jeżeli nie będzie tak działał a będzie dzialał dobrze i będzie działał system expa to będzie naprawde ok i dam około 10 likow pod ostatnimi postami.Osoba która też chciała pomóc dostaje 2 like.

Mam też niedziałający skrypt który nie wiem z jakiego powodu:

Oto kod:

options:
    #Exp z danych potworków
    
    expZombie: 0.75
    expSkeleton: 1
    expSpiderCave: 2.5
    expSpider: 3.25
    expPigMan: 5.75
    expSilverFish: 8
    expSlime: 11.5
    expBlaze: 22.5
    expMagma: 35
    expPig: 19.5
    expWolf: 15
    
    
on exp spawn:
    cancel event
on death:
    loop all players:
        if loop-player is "%victim%":
            stop
        if loop-player is "%attacker%":
            send "%victim%" to attacker
            set {_next} to true
            exit loop
    if {_next} is set:    
        if victim is zombie:
            chance of 70%:
                send "&2+&a{@expZombie}" to attacker
                add {@expZombie} exp to attacker
        if victim is skeleton:
            if level of attacker is larger than or equal to 2:
                chance of 50%:    
                    send "&2+&a{@expSkeleton}" to attacker
                    add {@expSkeleton} exp to attacker
        if victim is cave spider:
            if level of attacker is larger than or equal to 3:
                chance of 40%:
                    send "&2+&a{@expSpiderCave}" to attacker
                    add {@expSpiderCave} exp to attacker
        if victim is spider:
            if level of attacker is larger than or equal to 5:
                chance of 35%:
                    send "&2+&a{@expSpider}" to attacker
                    add {@expSpider} exp to attacker    
        if victim is zombie pigman:
            if level of attacker is larger than or equal to 7:
                chance of 33%:
                    send "&2+&a{@expPigMan}" to attacker
                    add {@expPigMan} exp to attacker
        if victim is silverfish:
            if level of attacker is larger than or equal to 12:
                chance of 27%:
                    send "&2+&a{@expSilverFish}" to attacker
                    add {@expSilverFish} exp to attacker
        if victim is slime:
            if level of attacker is larger than or equal to 17:
                chance of 25%:
                    send "&2+&a{@expSlime}" to attacker
                    add {@expSlime} exp to attacker
        if victim is wither skeleton:
            if level of attacker is larger than or equal to 17:
                chance of 20%:
                    send "&2+&a{@expWither}" to attacker
                    add {@expWither} exp to attacker
        if victim is blaze:
            if level of attacker is larger than or equal to 30:
                chance of 20%:
                    send "&2+&a{@expBlaze}" to attacker
                    add {@expBlaze} exp to attacker
        if victim is magma cube:
            if level of attacker is larger than or equal to 40:
                chance of 15%:
                    send "&2+&a{@expMagma}" to attacker
                    add {@expMagma} exp to attacker
        if victim is iron golem:
            if level of attacker is larger than or equal to 40:
                chance of 20%:
                    send "&2+&a{@expPig}" to attacker
                    add {@expPig} exp to attacker
        if victim is wolf:
            if level of attacker is larger than or equal to 15:
                chance of 30%:
                    send "&2+&a{@expWolf}" to attacker
                    add {@expWolf} exp to attacker
        if victim is pig:
            if level of attacker is larger than or equal to 15:
                chance of 30%:
                    send "&2+&a{@expPig}" to attacker
                    add {@expPig} exp to attacker            
        if level of attacker is larger than or equal to 105:
            set level of attacker to 105
            set level progress of attacker to 0.99
            stop

Jezeli ktos napisze mi skrypt na exp poprawnie działający to nie potrzebuje już poprawionego skryptu powyżej.

 

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...