Skocz do zawartości
  • 0

Pojedynczy drop


Koxiqq

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /luckyblock:
    permission: luckyblock.daj
    trigger:
        execute player command "/i sponge 64 name:&e&lLucky_&6&lBlock"

on place of sponge:
    if player's tool is sponge named "&e&lLucky &6&lBlock":
        spawn 50 of "totem" offset by 0.9, 0.9, 0.9 with extra 0.5 at target block of player
        set block to air
        send "&6%player% &7otworzył &6Lucky Blocka &7i otrzymał:"
        chance of 7%:
            drop 1 trident
            send "&8» &7Trójząb"
            stop
        chance of 5%:
            drop 1 totem of undying
            send "&8» &7Totem nieśmiertelności"
            stop
        chance of 10%:
            drop 1 netherite ingot
            send "&8» &7Sztabka netherytu"
            stop
        chance of 3%:
            drop 1 chainmail boots of depth strider 4 and feather falling 10 named "&eCloud &fboots" with lore "&7Skacz!"
            send "&8» &7CloudBootsy"
            stop
        chance of 1%:
            execute console command "/boss"
            send "&8» &7Boss na arenie"
            stop
        chance of 20%:
            drop music disc stal
            send "&8» &7Płyta"
            stop
        chance of 1%:
            drop wither skeleton skull
            send "&8» &7Głowa witherowego szkieleta"
            stop
        chance of 35%:
            drop 4 diamonds
            drop 24 iron ingot
            drop 8 emeralds
            drop 12 gold ingot
            stop
        send "&8» &7Mieszanka surowców"
        chance of 15%:
            spawn 50 of "soul_fire_flame" offset by 0.9, 0.9, 0.9 with extra 0.3 at target block of player
            spawn 1 zombie in front of player    
            equip last spawned entity with all diamond armor of protection 4 and unbreaking 3
            set last spawned entity's tool to diamond sword of sharpness 5 and fire aspect 2 and unbreaking 3    
            set name of last spawned entity to "&e&lBob"
            send "&8» &7Lucky Zombie"
            stop
        chance of 3%:
            drop dragon head
            send "&8» &7Głowa smoka"
            stop

 

45 minut temu, Koxiqq napisał:

Witam. Zrobiłem skrypt na luckyblocki i działa dobrze, gdyby nie to, że czasami dropi dużo rzeczy, a wolałbym, aby był pojedynczy drop.
Link do skryptu: 

 

 

Odnośnik do komentarza
https://skript.pl/temat/47412-pojedynczy-drop/#findComment-297352
Udostępnij na innych stronach

  • 0
10 godzin temu, WIZIBANG napisał:

command /luckyblock:
    permission: luckyblock.daj
    trigger:
        execute player command "/i sponge 64 name:&e&lLucky_&6&lBlock"

on place of sponge:
    if player's tool is sponge named "&e&lLucky &6&lBlock":
        spawn 50 of "totem" offset by 0.9, 0.9, 0.9 with extra 0.5 at target block of player
        set block to air
        send "&6%player% &7otworzył &6Lucky Blocka &7i otrzymał:"
        chance of 7%:
            drop 1 trident
            send "&8» &7Trójząb"
            stop
        chance of 5%:
            drop 1 totem of undying
            send "&8» &7Totem nieśmiertelności"
            stop
        chance of 10%:
            drop 1 netherite ingot
            send "&8» &7Sztabka netherytu"
            stop
        chance of 3%:
            drop 1 chainmail boots of depth strider 4 and feather falling 10 named "&eCloud &fboots" with lore "&7Skacz!"
            send "&8» &7CloudBootsy"
            stop
        chance of 1%:
            execute console command "/boss"
            send "&8» &7Boss na arenie"
            stop
        chance of 20%:
            drop music disc stal
            send "&8» &7Płyta"
            stop
        chance of 1%:
            drop wither skeleton skull
            send "&8» &7Głowa witherowego szkieleta"
            stop
        chance of 35%:
            drop 4 diamonds
            drop 24 iron ingot
            drop 8 emeralds
            drop 12 gold ingot
            stop
        send "&8» &7Mieszanka surowców"
        chance of 15%:
            spawn 50 of "soul_fire_flame" offset by 0.9, 0.9, 0.9 with extra 0.3 at target block of player
            spawn 1 zombie in front of player    
            equip last spawned entity with all diamond armor of protection 4 and unbreaking 3
            set last spawned entity's tool to diamond sword of sharpness 5 and fire aspect 2 and unbreaking 3    
            set name of last spawned entity to "&e&lBob"
            send "&8» &7Lucky Zombie"
            stop
        chance of 3%:
            drop dragon head
            send "&8» &7Głowa smoka"
            stop

 

 

Dzięki, działa.

Odnośnik do komentarza
https://skript.pl/temat/47412-pojedynczy-drop/#findComment-297361
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ę...