Skocz do zawartości

bludis

Użytkownik
  • Ilość zawartości

    2271
  • Rejestracja

  • Wygrane w rankingu

    23

Treść opublikowana przez bludis

  1. bludis

    Kupie paczkę rpg

    A co ta paczka ma zawierac? Przedstaw dokładnie czego oczekujesz.
  2. podaj caly kod, inaczej Ci nie pomoge
  3. set slot 1 of player's current inventory to {wartosc::%location of event-block%} of iron ore named "&8Metal Ore"
  4. bludis

    Potrzebuje skrypta na pracę.

    on load: add ("górnik", "drwal" and "budowniczy") to {validJobs::*} command /praca <text>: usage: /praca <górnik/drwal/budowniczy> trigger: set {_job} to arg 1 in lowercase if {validJobs::*} doesn't contain {_job}: send "Nie znaleziono takiej pracy." stop if {job::%player%} is {_job}: send "Jesteś już w tej pracy." stop set {job::%player%} to {_job} send "Dołączyłeś do pracy: %{_job}%." on mine of stone: add 0.5 to player's balance if {job::%player%} is "górnik" on mine of any planks or any log: add 0.5 to player's balance if {job::%player%} is "drwal" on place: add 0.1 to player's balance if {job::%player%} is "budowniczy"
  5. on damage of player: if (victim's health - damage) is less than or equal to 0: if victim isn't holding totem of undying in main hand: if victim isn't holding totem of undying in off hand: stop cancel event heal the victim send subtitle "&aTotem zostal uzyty" to victim apply regeneration 3 to the victim for 40 seconds apply absorption 5 to the victim for 40 seconds apply fire resistance 2 to the victim for 120 seconds remove 1 totem of undying from victim ewentualnie on damage of player: if (victim's health - damage) is less than or equal to 0: if victim is holding totem of undying in main hand: cancel event heal the victim send subtitle "&aTotem zostal uzyty" to victim apply regeneration 3 to the victim for 40 seconds apply absorption 5 to the victim for 40 seconds apply fire resistance 2 to the victim for 120 seconds remove 1 totem of undying from victim stop else if victim is holding totem of undying in off hand: cancel event heal the victim send subtitle "&aTotem zostal uzyty" to victim apply regeneration 3 to the victim for 40 seconds apply absorption 5 to the victim for 40 seconds apply fire resistance 2 to the victim for 120 seconds remove 1 totem of undying from victim stop
  6. bludis

    Koń

    W takim wypadku na konia nie dziala ten efekt i nie da sie go nalozyc.
  7. https://code.skript.pl/qqmNb62w wymaga skripta min. 2.3 i silnika PaperSpigot
  8. bludis

    Koń

    A jesli rzucisz na niego miksture samodzielenie, to efekt sie nada i kon rzeczywiscie bedzie wyzej skakal?
  9. bludis

    Mythic mobs

    Z tego co widze, nie ma takiej mozliwosci. Jedynym sposobem jest zrobienie tego w skript-reflecie uzywajac api mythic mobs.
  10. niestety nie ma takiej mozliwosci, jedynym sposobem jest napisanie na to osobnego skryptu, a wylaczenie tej komendy w essentialsie lub ustawienie piorytetu skripta na najwyzszy
  11. nie mozesz w ten sposob odczytac placeholderu, do tego potrzebny jest Ci dodatek skript-placeholders. https://forums.skunity.com/resources/skript-placeholders.909/
  12. no przede wszystkim zoptymalizowac kod i zrobic to w funkcjach.
  13. bludis

    Koń

    command /kon: trigger: spawn an adult horse at player set {_h} to spawned horse set max health of {_h} to 40 heal {_h} tame {_h} to player equip {_h} with diamond horse armor equip {_h} with saddle set {_h}'s passenger to player while {_h} is alive: apply speed ({lvl} parsed as integer) to {_h} for 2 seconds apply jump boost ({lvl} parsed as integer) to {_h} for 2 seconds wait 1 second gdy kon bedzie zywy, co sekunde bedzie dostawal efekt speed i jump boost o {lvl} levelu na dwie sekundy
  14. bludis

    Anty-Ez

    on chat: player has permission "ez.pisz" message contains "ez" or "es" replace "ez" and "es" with "lubie grac na tym serwerze" in message
  15. bludis

    Serca

    jakiego pluginu uzywasz na gildie? zakladam, ze funnyguilds on mine of stone: add 1 to {minedstone::%player%} command /kupserce [<text>]: trigger: if {minedstone::%player%} < 15000: send "Nie posiadasz 15 000 wykopanego stone'a." stop if player's guild name is not set: send "Nie jestes w zadnej gildii." stop if player's guild name guild lives >= 5: send "Ta gildia ma juz 5 zyc." remove 15000 from {minedstone::%player%} add 1 live to player's guild name guild send "Zakupiles jedno zycie." wymaga https://github.com/FunnyGuilds/FunnySkAddon (nietestowane)
  16. niestety, ale nic nie rozumiem z tego co napisales - sprobuj wyjasnic bardziej dokladnie i zrozumiale
  17. bludis

    coffein pomoz!

    bruh, podalem ci link z przykladami
  18. bludis

    coffein pomoz!

    ???? Napisałem, żebyś zrobił to za pomocą dodatku tuske. https://forums.skunity.com/threads/gui-manager-tutorial.2349/
  19. bludis

    coffein pomoz!

    Spróbuj zrobić gui w tuske - powinno pomóc.
  20. bludis

    coffein pomoz!

    Do jakiego efektu dazysz - innymi slowy, co nie dziala?
  21. function changeBoolean(p: player, b: text): if {signs::%{_p}%::*} is not set: stop loop {signs::%{_p}%::*}: if block at loop-value is not sign: continue set line 1 of block at {_} to {_b} function getBoolean(p: offlineplayer) :: text: if {_p} is online: return "online" return "offline" on quit: changeBoolean(player, "offline") on join: changeBoolean(player, "online") on sign change: if line 1 is not "[&cstatus]": stop if line 3 is not set: stop set {_player} to (line 3 parsed as offlineplayer) set {_check} to getBoolean({_player}) set line 1 to {_check} add location of event-block to {signs::%{_player}%::*}
  22. bludis

    przechodzenie przez kraty

    on rightclick on iron bar: if player's tool is not sign named "Przepustka": stop set player's tool to (item amount of player's tool - 1) of player's tool teleport player to location at block behind clicked block mozliwe, ze nie bedzie dzialac
  23. every 1 second: loop all players: loop items in inventory of loop-player: if loop-item is not enchanted with mending: continue set loop-item to beetroot skrypt moze wywolac duze lagi, takze nie polecam uzywac przy wiekszej ilosci osob (jednym rozwiazaniem, aby to zniwelowac byloby zrobienie tego asynchronicznie)
  24. Kod można w znacznej postaci uprościć, przede wszystkim; zmień formatowanie gui na formatowanie ze skripta aby tworzyć puste pole jako slot podawaj integers between akcje wykonywane pod kliknięciu itemu wykonuj w evencie on inventory click unikaj drzew ifów Twój problem może rozwiązać funkcja otwierająca gui graczowi podanego w argumencie. Funkcję wywołujesz w momencie kliknięcia na villagera. https://skript.pl/temat/8232-funkcje/ https://skript.pl/temat/21824-funkcje-rozwinięte/ https://skript.pl/temat/44829-tworzenie-gui-w-skript-poradnik/
×
×
  • Dodaj nową pozycję...