Skocz do zawartości
  • 0

Pomoc przy błędzie z pandorami


Pytanie

Witam, mam problem, napisałem skript na pandorki, ale nie wiem dlaczego po otrzymaniu pandory  i położeniu jej nie dostaję itemów, tylko tej skrzynki się nie da położyć i wraca do EQ. Pomocy!
Skript:

 

Edytowane przez xAxee
Odnośnik do komentarza
https://skript.pl/temat/25192-pomoc-przy-b%C5%82%C4%99dzie-z-pandorami/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
on place trapped chest:
    if player is holding a trapped chest named "{@pandoraname}" with lore "{@pandoralore}":
        if {puszki.kithc.on} is not set:
            remove 1 trapped chest named "{@pandoraname}" with lore "{@pandoralore}" from the player 
            chance of 15%:
                if player can hold diamond sword:
                    give player {@item11}
                    stop
                else:
                    drop {@item11}
                    stop
            chance of 10%:
                loop 24 times:
                    if player can hold 1 enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka":
                        give player enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka"		
                    else:
                        drop enchantment table of infinity 1 named "&cKOPACZ FOSY" with lore "&5-&7Poloz Na Ziemi A Wykopie Dziure Do &8Bedroka"
                stop
            chance of 30%:
                if player can hold diamond pickaxe:
                    give player {@item21}
                    stop
                else:
                    drop {@item21}
                    stop
            chance of 30%:
                if player can hold diamond helmet:
                    give player {@item31}
                    stop
                else:
                    drop {@item31}
                    stop
            chance of 30%:
                if player can hold diamond chestplate:
                    give player {@item41}
                    stop
                else:
                    drop {@item41}
                    stop
            chance of 30%:
                if player can hold diamond Leggings:
                    give player {@item51}
                    stop
                else:
                    drop {@item51}
                    stop
            chance of 30%:
                if player can hold diamond boots:
                    give player {@item61}
                    stop
                else:
                    drop {@item61}
                    stop
            chance of 30%:
                loop 16 times:
                    if player can hold emerald block:
                        give player {@item71}
                    else:
                        drop {@item71}	
                stop	
            chance of 25%:
                loop 3 times:
                    if player can hold enchanted golden apple:
                        give player {@item81}
                    else:
                        drop {@item81}
                stop
            chance of 25%:
                loop 15 times:
                    if player can hold golden apple:
                        give player {@item91}
                    else:
                        drop {@item91}
                stop
            chance of 10%:
                loop 3 times:
                    if player can hold ender pearl:
                        give player {@item101}
                    else:
                        drop {@item101}
                stop
            chance of 100%:
                if player can hold chest named "{@pandoraname}" with lore "{@pandoralore}":
                    give player trapped chest named "{@pandoraname}" with lore "{@pandoralore}"
                    stop
                else:
                    drop trapped chest named "{@pandoraname}" with lore "{@pandoralore}"
                    stop

on place:
	if player's tool is trapped chest named "{@pandoraname}" with lore "{@pandoralore}":
		cancel event

Spróbuj tak. Nie testowane jak coś bo nie chce mi się mc włączać :D

Odnośnik do komentarza
https://skript.pl/temat/25192-pomoc-przy-b%C5%82%C4%99dzie-z-pandorami/#findComment-167554
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ę...