Rabby 11 Opublikowano 29 kwietnia 2017 Udostępnij Opublikowano 29 kwietnia 2017 command /<nazwa> trigger: give player stick Wiec tak, chodzi mi zeby ten patyk byl zenchantowany ale niestety nie umiem tego zrobic. Rowniez chcialbym po wpisaniu tej komendy zeby graczowi sie ekwipunek wyczyscil Odnośnik do komentarza https://skript.pl/temat/18087-enchant/ Udostępnij na innych stronach Więcej opcji udostępniania...
0 Oedeopol 67 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 Godzinę temu, PoweredDragon napisał: Jak efekty mają działac na nametag? Nie można go uleczyć/spowolnić k_k Może chodzi mu o to żeby nametag uleczal gracza? Rabby 1 Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123800 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 21 minut temu, Oedeopol napisał: Może chodzi mu o to żeby nametag uleczal gracza? Logiczne command /ll: trigger: set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: player's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%projectile%} to true on projectile hit: {heal::%projectile%} is true: set {_l} to shooter heal {_l} by 2 apply slowness 2 to {_l} for 3 seconds clear {heal::%projectile%} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123805 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 6 minut temu, PoweredDragon napisał: Logiczne command /ll: trigger: set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: player's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%projectile%} to true on projectile hit: {heal::%projectile%} is true: set {_l} to shooter heal {_l} by 2 apply slowness 2 to {_l} for 3 seconds clear {heal::%projectile%} [18:22:30] [Server thread/ERROR]: indentation error: expected 6 spaces, but found 2 tabs (rakan.sk, line 14: player's tool is bow of unbreaking 3 named "&2&lCleaming Quill" with lore "&a&nHeal 2 ser.||&7&nSlow 3 sek. ":') [18:22:30] [Server thread/ERROR]: indentation error: expected 6 spaces, but found 3 tabs (rakan.sk, line 15: set {heal::%projectile%} to true') [18:22:30] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (rakan.sk, line 13: shooter is player:') [18:22:30] [Server thread/ERROR]: 'loop players in radius 0.1' is not a number (rakan.sk, line 20: loop players in radius 0.1 of {_l}') [18:22:30] [Server thread/ERROR]: There's no loop that matches 'loop-player' (rakan.sk, line 21: heal loop-player by 2') [18:22:30] [Server thread/ERROR]: There's no loop that matches 'loop-player' (rakan.sk, line 22: apply slowness 2 to loop-player for 3 seconds') Wyskakuje mi tylko coś takiego. Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123808 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 command /ll: trigger: set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%projectile%} to true on projectile hit: {heal::%projectile%} is true: heal shooter by 2 apply slowness 2 to shooter for 3 seconds clear {heal::%projectile%} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123816 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 9 minut temu, PoweredDragon napisał: command /ll: trigger: set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%projectile%} to true on projectile hit: {heal::%projectile%} is true: heal shooter by 2 apply slowness 2 to shooter for 3 seconds clear {heal::%projectile%} Działa wszystko poza efektami i "healowaniem" i tak sie zapytam czy mozna do tego dodac jakas cene? Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123822 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: heal shooter by 2 apply slowness 2 to shooter for 3 seconds {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123832 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 9 minut temu, PoweredDragon napisał: command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: heal shooter by 2 apply slowness 2 to shooter for 3 seconds {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Znowu tylko jeden bład, chyba. ponieważ nie moge dostać tego łuku bo nie działa powód >> blad z pieniedzmi: Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket. (rakan.sk, line 4: {_b) > 1300:') Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123838 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 Ty przepisujesz czy kopiujesz i wklejasz? Bo widzę {_b), a w moim skrypcie jest {_b} Zmień to. Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123841 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 Gdy wpisuje /(nazwa) to nic sie nie dzieję, pieniadze mam i nadal nic. Nie zabiera ani nie daje Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123843 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 Skopiuj mój kod i podmień swój, potem dopiero zmieniaj i gdy przestanie działać wstaw zmieniony. Pierwotna komenda to /<nazwa>, nie /(nazwa). Podawaj też błędy z konsoli, bo inaczej nie jestem w stanie ci pomóc Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123844 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 31 minut temu, PoweredDragon napisał: command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: heal shooter by 2 apply slowness 2 to shooter for 3 seconds {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Tym razem otrzymalem luk, lecz pieniedzy mi nie dalo i zauważyłem mały problem, gdy strzelam i strzała upadnie otrzymuje slow a nie powinno być, że CEL otrzymuje Slowa? Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123846 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena remove 1000 from player's balance set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: heal shooter by 2 apply slowness 2 to entity at location of projectile {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123852 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 (edytowane) 34 minuty temu, PoweredDragon napisał: command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena remove 1000 from player's balance set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: heal shooter by 2 apply slowness 2 to entity at location of projectile {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} 'projectile' is not an item stack (rakan.sk, line 23: apply slowness 2 to entity at location of projectile') Serduszka otrzymuje lecz jak widac wyzej nie dziala slow. EDYCJA: A moglbys zrobic cos takiego, ze jak otrzymujesz ten "zestaw" to pisze ze go odebrales? EDYCJA: I cos takiego gdy nie masz tych 100 pieniedzy to pisze wiadomosc ze ich nie posiadasz? Edytowane 30 kwietnia 2017 przez Rabby Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123864 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena remove 1000 from player's balance set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now send "&aOdebrales Luk Lekarza!" stop send "&cPoczekaj jeszcze! 15 sekund nie minelo!" stop send "&cNie masz wystarczajaco srodkow!" on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: set {_l} to location of projectile set {_e} to entity at {_l} heal shooter by 2 apply slowness 2 to {_e} {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123867 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 (edytowane) 4 minuty temu, PoweredDragon napisał: command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena remove 1000 from player's balance set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now send "&aOdebrales Luk Lekarza!" stop send "&cPoczekaj jeszcze! 15 sekund nie minelo!" stop send "&cNie masz wystarczajaco srodkow!" on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: set {_l} to location of projectile set {_e} to entity at {_l} heal shooter by 2 apply slowness 2 to {_e} {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Znowu, wszystko inne dziala poza tym: 'entity' is not a text (rakan.sk, line 28: set {_e} to entity at {_l}') EDYCJA: Chcialbym zapytac jak mozna zrobic cos takiego, zeby ten zestaw np. byłby odblokowany za 1 kupieniem? Edytowane 30 kwietnia 2017 przez Rabby Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123868 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 command /ll: trigger: set {_b} to player's balance {_b} > 1000: #1000 to cena remove 1000 from player's balance set {_d} to difference between {lastUsedNazwa::%player%} and now {_d} >= 15 seconds: clear player's inventory give bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc" to player set {lastUsedNazwa::%player%} to now send "&aOdebrales Luk Lekarza!" stop send "&cPoczekaj jeszcze! 15 sekund nie minelo!" stop send "&cNie masz wystarczajaco srodkow!" on shoot: projectile is arrow: shooter is player: shooter's tool is bow of unbreaking 3 named "&aLuk Lekarza" with lore "&aTen luk leczy i spowalnia||&eStrzel do celu, aby sie uleczyc": set {heal::%shooter%} to true add 1 to {arrows::%shooter%} on projectile hit: {heal::%shooter%} is true: set {_l} to location of projectile loop entities in radius 0.2 of projectile: set {_e::%loop-number%} to loop-entity size of {_e::*} is 0: stop size of {_e::*} = 1: set {_e} to {_e::1} size of {_e::*} > 1: set {_r} to random number between 1 and (size of {_e::*}) set {_e} to {_e::%{_r}%} heal shooter by 2 apply slowness 2 to {_e} {arrows::%shooter%}>=1: remove 1 from {arrows::%shooter%} stop clear {heal::%shooter%} clear {arrows::%shooter%} Odblokowany w sensie: płaci się tylko raz? Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123872 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 3 minuty temu, PoweredDragon napisał: Odblokowany w sensie: płaci się tylko raz? Tak, Co to skryptu błąd: There's no loop that matches 'loop-number' (rakan.sk, line 29: set {_e::%loop-number%} to loop-entity') Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123875 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 set {_e::%loop-number%} to loop-entity zamień na add loop-entity to {_e::*} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123877 Udostępnij na innych stronach Więcej opcji udostępniania...
0 Rabby 11 Opublikowano 30 kwietnia 2017 Autor Udostępnij Opublikowano 30 kwietnia 2017 7 minut temu, PoweredDragon napisał: set {_e::%loop-number%} to loop-entity zamień na add loop-entity to {_e::*} Żaden bład nie wyskakuje lecz nie slowuje Jak coś to chodziło mi ze tylko 1 raz kupisz i masz na zawsze "Odblokowujesz" Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123884 Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 30 kwietnia 2017 Udostępnij Opublikowano 30 kwietnia 2017 No ale jak masz na zawsze? Łuk się nie niszczy? Pojawia się przy respie? Czy po prostu komenda później jest darmowa? Niewielka różnica, ale zawsze jakaś, co wolisz? popraw pętlę na to: loop entities in radius 0.5 of projectile: add loop-entity to {_e::*} Odnośnik do komentarza https://skript.pl/temat/18087-enchant/#findComment-123888 Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Rabby 11
command /<nazwa>
trigger:
give player stick
Wiec tak, chodzi mi zeby ten patyk byl zenchantowany ale niestety nie umiem tego zrobic. Rowniez chcialbym po wpisaniu tej komendy zeby graczowi sie ekwipunek wyczyscil
Odnośnik do komentarza
https://skript.pl/temat/18087-enchant/Udostępnij na innych stronach
Top użytkownicy dla tego pytania
26
24
1
1
Popularne dni
30 Kwi
50
29 Kwi
2
Top użytkownicy dla tego pytania
Rabby 26 odpowiedzi
PoweredDragon 24 odpowiedzi
Oedeopol 1 odpowiedź
KrejzolekPRO 1 odpowiedź
Popularne dni
30 Kwi 2017
50 odpowiedzi
29 Kwi 2017
2 odpowiedzi
Popularne posty
PoweredDragon
command /<nazwa> trigger: clear player's inventory give stick of unbreaking 3, fortune 3, efficiency 5 to player
Oedeopol
Może chodzi mu o to żeby nametag uleczal gracza?
51 odpowiedzi na to pytanie
Rekomendowane odpowiedzi