-
Ilość zawartości
26 -
Rejestracja
-
Ostatnia wizyta
Treść opublikowana przez Sallciq
-
Upgrade itemow - Skrypt na ulepszanie przedmiotow
Sallciq opublikował(a) pytanie w Pytania i problemy
on click on entity: if name of clicked entity contains "Kowal": if player's tool is any sword: if (random integer between 1 and 2) is 1: if lore of player's tool contains "&aObrazenia": set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_dodaj} to {_lore}+2 set lore of player's tool to "&aObrazenia: +%{_dodaj}%" send "Od teraz Twoj przedmiot zadaje +%{_dodaj}% dmg!" stop set lore of player's tool to "&aObrazenia: +2" send "&6&lGothic&e&lmc &cOd teraz Twoj przedmiot zadaje +2 dmg!" stop send "&6&lGothic&e&lmc &cTwoj item sie spalil!" send "Twoim przedmiotem w rece musi byc jakikolwiek miecz!" on damage: if attacker is player: if player's tool is any sword: if lore of player's tool contains "&aObrazenia:": set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_currentDamage} to (player's damage + {_lore}) set player's damage to {_lore} Skrypt nie wyświetla wiadomości oraz nie zwieksza obrazen miecza, nie "spala" itemów, czyli go nie usuwa. Lore dziala, po przeladowaniu skryptu nic nie wywala. Z góry dzięki za pomoc. -
on click on entity: if name of clicked entity contains "Kowal": if player's tool is any sword: if (random integer between 1 and 2) is 1: if lore of player's tool contains "&aObrazenia:" set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_dodaj} to {_lore}+2 set lore of player's tool to "&aObrazenia: +%{_dodaj}%" send "Od teraz Twoj przedmiot zadaje +%{_dodaj}% dmg!" stop set lore of player's tool to "&aObrazenia: +2" send "Od teraz Twoj przedmiot zadaje +2 dmg!" stop send "Twoj item sie spalil!" send "Twoim przedmiotem w rece musi byc jakikolwiek miecz!" on damage: if player's tool is any sword: if lore of player's tool contains "&aObrazenia:": set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_currentDamage} to (player's damage + {_lore}) set player's damage to {_lore} Skrypt wywala:
-
Wywala mi to: https://imgur.com/a/cqyngjw a z skript mirrorem mi serwer krzyczy i wywala go:
-
Nie mogę dołączyć na serwer, wyskakuje "Time out". Skript wywala to: Co zrobiłem: Zainstalowalem skript mirror stąd: https://forums.skunity.com/resources/skript-mirror.254/ wrzuciłem do skryptów mały skrypt: on click on entity: if name of clicked entity contains "Kowal": if player's tool is any sword: if (random integer between 1 and 2) is 1: if lore of player's tool contains "&aObrazenia:" set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_dodaj} to {_lore}+2 set lore of player's tool to "&aObrazenia: +%{_dodaj}%" send "Od teraz Twoj przedmiot zadaje +%{_dodaj}% dmg!" stop set lore of player's tool to "&aObrazenia: +2" send "Od teraz Twoj przedmiot zadaje +2 dmg!" stop send "Twoj item sie spalil!" send "Twoim przedmiotem w rece musi byc jakikolwiek miecz!" on damage: if player's tool is any sword: if lore of player's tool contains "&aObrazenia:": set {_lore} to ("%uncoloured lore of player's tool%".replace("Obrazenia: +", "") parsed as integer) set {_currentDamage} to (player's damage + {_lore}) set player's damage to {_lore} usunąłem mirrora i działa, wie ktoś gdzie mogę pobrać skript-mirror, aby działał?
-
Witam, mam pomysl pewny skrypt, lecz brakuje mi do jego realizacji umiejętności. Potrzebuje aby: - Jesli mamy miecz i klikniemy na NPC o nicku Kowal Posiadamy 50% na jego ulepszenie, badz 50%, ze item sie spali. (Bardzo proszę o jakiś komunikat) Jesli sie ulepszy, to zadawane dmg przedmiotu zwieksza sie o 2. Przy czym jego lore zmienia się w &aObrazenia +2 I jesli to mozliwe: Mozemy go nadal ulepszać w taki sam sposob jak wyzej i wtedy obrazenia znowu zwieksza sie o 2 dmg, a lore zmieni sie z &aObrazenia +2 na &aObrazenia +4 Z góry bardzo dziękuję za każdą linijke kodu Jeśli skrypt jest duży i wykracza poza normy, prosze o odezwanie się w wiadomości prywatnej w celu małego wynagrodzenia
-
Witam, potrzebuje usprawienia tego skryptu, niestety serwer nie ruszy bez naprawy i "podrasowania" tego. Bardzo proszę o pomoc. on right click on entity: if player has permission "Obywatel.ranga": if clicked entity name contains "Mistrz straznikow": if player's level >= 10: execute console command "/lp user nick parent set SM" send "&6Mistrz Straznikow > &cWitaj w szeregach. Zostales &6straznikiem miejskim&c! Niech zyje król." to player else: send "&6Mistrz Straznikow > &cAby zostac straznikiem miejskim musisz posiadac 10 lvl." to player else send "&6Mistrz Straznikow > &cAby zostac Straznikiem Miejskim musisz byc obywatelem miasta. Udaj sie do Harada." to player stop Do zrobienia Jeśli gracz otrzyma range SM poprawnie, wartość {Klasa} gracza będzie równać się Straznik Jeśli gracz ma wartość Straznik, Paladyn, Najemnik, Mag, Nowicjusz = anuluj i wyswietl "&cMasz juz klase." Potwierdzenie tak/nie przez nadaniem rangi SM Wywala linijke if clicked entity name contains "Mistrz straznikow":
-
Dzięki, ale nadal wywala to: if name of clicked entity contains "Mistrz Straznikow":
-
on right click on entity: if player has permission "Obywatel.ranga": if name of clicked entity contains "Mistrz Straznikow": if player's experience level is more than or equal to 10: execute console command "/lp user nick parent set SM send "&6Mistrz Straznikow > &cWitaj w szeregach. Zostales &6straznikiem miejskim&c! Niech zyje król." to player else: send "&6Mistrz Straznikow > &cAby zostac straznikiem miejskim musisz posiadac 10 lvl." to player else send "&6Mistrz Straznikow > &cAby zostac Straznikiem Miejskim musisz byc obywatelem miasta. Udaj sie do Harada." to player stop skrypt sypie cos takiego: Przy okazji jeśli mógłby ktoś wstawić potwierdzenie czy się chce dołączyć ? Jakieś proste.
-
Witam :). Czy ktoś kto ogarnia temat dodałby do poniższego skryptu cooldown 2h oraz po kliknięciu w tabliczke co te 2h dostawało się 5 expa? on rightclick on sign: if line 1 is "&a[Modlitwa]": send "Pomodliles sie do Innosa!"
-
Witam, poszukuje osoby, która napisze dla mnie skrypt. Jeśli masz 10 lvl *na pasku exp* to po kliknięciu na NPC (plugin citizens) "Paladyn" konsola wykonuje operacje "/costam" (potem zeedytuje), jesli natomiast gracz nie ma 10 lvl to po kliknieciu na npc pisze ze musi zdobyc 10 lvl aby dołączyć, lvl po kliknięciu i dołączeniu nie wyzerowywuje się. Z góry dziękuje
-
on mine: if player don't have permission "kopanie.rudy": if event-block is diamond ore: send "&6&lGothic&e&lMc &cNie masz umiejetnosci wydobywania rudy!" cancel event on mine: if player don't have permission "Farmer.plony": if event-block is fully grown carrot plant: send "&6&lGothic&e&lMc &cNie masz umiejetnosci farmerskich, nauczysz sie ich u lobarta!" cancel event Witam, potrzebuje naprawy oto tego skryptu. Nie działa, gdyż przy wykopaniu jakiegokolwiek bloku serwer wysyła wiadomość, a ja chce aby było to przypisane tylko do jednego bloku. Przy czym aby osoba bez permisi nie mogla zniszczyc danego bloku. Dziękuje z góry za pomoc.
-
Dziękuje!
-
"Can't compare a block with 'fully growth carrot plant'' ;/
-
Witam, bardzo proszę o napisanie dla mnie skryptu który: Jesli gracz ma 10 lvl (exp) i wpisze komende /Ranga Serwer nada mu range np. test. (mój plugin na rangi to luckyperms) Komenda na nadanie rangi: /lp user <nickGraczaCoWpisalKomende> parent set test
-
Mam prośbę, aby ktoś ogarniający temat napisał dla mnie krótki skrypt, który po wydobyciu marchewki zmienił jej nazwe na Rzepa. Po czym zasadził na nowo farmland marchewką po 5 sekundach. Z góry wieeeeelkie dzięki ;). Ps: Ewentualnie wystarczy automatyczne zasadzanie farmlandu po 5 sekundach jeśli zmiana nazwy jest skomplikowana lub jeśli będą inne powody. Najważniejsze jest dla mnie zasadzenie automatycznie tego farmlandu.
-
Bardzo proszę jakiegoś przyjaciela o napisanie skryptu na to, iż jeśli wyciągniemy diamentowy miecz po 5 sekundach *komunikat na chacie* wyłącza nam serwer goda i my mozemy bic innych ktorzy wyciagneli miecz a oni nas. Podczas walki schowanie miecza do ekwipunku nic nie daje (aby to mialo jakis sens) Trzeba np. poczekac 20 sekund od walki. Lecz jeśli nie jestesmy juz podczas walki serwer po schowaniu miecza aktywuje nam goda oraz uniemozliwa walke z innymi. Za każdą linijke kodu stokrotnie dziękuje Pozderki.
-
Wie ktoś czemu ten skrypt nie działa? nie wywala ani jednego błędu. on rightclick on stone button: block behind target block is stone: execute console command "/fill 25 85 -43 21 81 -44 air" wait 15 seconds execute console command "/fill 21 81 -44 25 86 -44 iron_bars"
-
Witam, mam problem. Skrypt cały jakby się sypie. przedmiot blaze rod i stick tylko podpala zamiast robić jakieś obrazenia itd. command /KosturMagaWave: permission: kostury trigger: give player 1 blaze rod of sharpness 8 named "&cKostur Maga &7[fala ognia]" send "&3Otrzymales kostur!" send "&3Lewym przyciskiem myszy atakujesz!" send "&3Prawym przyciskiem myszy zmieniasz moc!" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" on leftclick: if name of player's tool is "&cKostur Maga &7[fala ognia]": if {dragonwand::spell::%player%} is true: set {dragonwand::spell::%player%} to false loop blocks from the block in front of player to the block 50 horizontal in front of player: light target of player on fire damage target of player by 1 wait 3 seconds set {dragonwand::spell::%player%} to true stop else if {dragonwand::spell::%player%} is false: send "&7Poczekaj chwile, zanim znow uzyjesz!" stop command /KosturMagaPior: permission: kostury trigger: give player 1 stick of sharpness 8 named "&cKostur Maga 1&7[PIORUN]" send "&3Otrzymales kostur!" send "&3Lewym przyciskiem myszy atakujesz!" send "&3Prawym przyciskiem myszy zmieniasz moc!" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" on leftclick: if name of player's tool is "&cKostur Maga 1 &7[PIORUN]": if {czasczeka:%player%} is true: loop all entities in radius 2 around targeted block: damage loop-entity by 100 detonate trailing ball large firework colored lime at targeted block detonate flickering trailing burst firework colored green at targeted block detonate flickering burst firework colored aqua at targeted block detonate trailing flickering burst firework colored aqua at targeted block wait 8 seconds set {czasczeka:%player%} to true stop else if {czasczeka:%player%} is false: send "&7Poczekaj chwile, zanim znow uzyjesz!" stop
-
https://pasteboard.co/IYaFF1v.png juz chyba wytabowalem kod wygląda tak: command /KosturMagaWave: permission: kostury trigger: give player 1 blaze rod of sharpness 8 named "&cKostur Maga &7[fala ognia]" send "&3Otrzymales kostur!" send "&3Lewym przyciskiem myszy atakujesz!" send "&3Prawym przyciskiem myszy zmieniasz moc!" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" on leftclick: if name of player's tool is "&cKostur Maga &7[fala ognia]": if {dragonwand::spell::%player%} is true: set {dragonwand::spell::%player%} to false loop blocks from the block in front of player to the block 50 horizontal in front of player: play mob spawner flames at loop-block light target of player on fire damage target of player by 1 wait 3 seconds set {dragonwand::spell::%player%} to true stop else if {dragonwand::spell::%player%} is false: send "&7Poczekaj chwile, zanim znow uzyjesz!" stop Logi tak: https://pasteboard.co/IYaFF1v.png
-
Nadal nie działa ;/ Swoją drogą dzieki za wytrwałość.
-
tylko ze skript mówi, aby tabować na płasko, a potem nie działa on leftclick: if name of player's tool is "&cKostur Maga &7[fala ognia]" if {dragonwand::spell::%player%} is true: set {dragonwand::spell::%player%} to false loop blocks from the block in front of player to the block 50 horizontal in front of player: play mob spawner flames at loop-block light target of player on fire damage target of player by 1 wait 3 seconds set {dragonwand::spell::%player%} to true stop else if {dragonwand::spell::%player%} is false: send "&7Poczekaj chwile, zanim znow uzyjesz!" stop tak mi kazał wytabować a i tak nie dziala
-
https://pasteboard.co/IYaxL7e.png teraz tak ;/
-
Teraz to mi nie działa zaklecie ;/ command /KosturMagaWave: permission: kostury trigger: give player 1 blaze rod of sharpness 8 named "&cKostur Maga &7[fala ognia]" send "&3Otrzymales kostur!" send "&3Lewym przyciskiem myszy atakujesz!" send "&3Prawym przyciskiem myszy zmieniasz moc!" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" on leftclick: if name of player's tool is "&cKostur Maga &7[fala ognia]" if {dragonwand::spell::%player%} is true: set {dragonwand::spell::%player%} to false loop blocks from the block in front of player to the block 50 horizontal in front of player: play mob spawner flames at loop-block light target of player on fire amage target of player by 1 wait 3 seconds set {dragonwand::spell::%player%} to true stop else if {dragonwand::spell::%player%} is false: send "&7Poczekaj chwile, zanim znow uzyjesz!" stop https://pasteboard.co/IYat25U.png takie cos mi wyrzuca
-
Mam tutaj kawałek skryptu i potrzebuje, aby po kliknieciu lewym był cooldown 3 sekund do ponownego uzycia. Takze prosze o zalozenie permissi. Dziękuje. Jestem zielony command /KosturMagaWave: trigger: give player 1 blaze rod of sharpness 8 named "&cKostur Maga &7[fala ognia]" message "<aqua>Otrzymales kostur!" message "<aqua>lewy klawisz strzal!" message "<aqua>prawy klawisz zmiana zaklecia!" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" execute console command "ppo %player% add flame feet" wait 1 second permission: OP usage: /Eye description: gives you a Blood Eye on leftclick: tool of player is a blaze rod name of tool of player is "&cKostur Maga &7[fala ognia]" {dragonwand.spell.%player%} is 2: loop blocks from the block in front of player to the block 50 horizontal in front of player: play mob spawner flames at loop-block light target of player on fire damage target of player by 1
