Skocz do zawartości
  • 0

Pomoze ktos?


marekqa

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Łap klik

Ok thx przetestuje

EDIT:

nie dziala sa bez miecza i nie dropi glowa jest 1 bląd: [21:55:48 ERROR]: [skript] 'at attacker' is not an entity type (wither.sk, line 24: drop wither skull at attacker')

Edytowane przez marekqa
Odnośnik do komentarza
https://skript.pl/temat/3779-pomoze-ktos/#findComment-32580
Udostępnij na innych stronach

  • 0
every 10 minutes:    loop all players:        set {_x} to location of loop-player        set {_resp} to a random integer between 1 and 4        if {_resp} is equal to 1:            Increase x-coordinate of {_x} by 20 or 40 or 50            spawn 1 wither skeleton at {_x}            equip spawned entity with stone sword        if {_resp} is equal to 2:            Increase x-coordinate of {_x} by -20 or -10 or -15            spawn 1 wither skeleton at {_x}            equip spawned entity with stone sword        if {_resp} is equal to 3:            Increase Z-coordinate of {_x} by 20 or 40 or 50            spawn 1 wither skeleton at {_x}            equip spawned entity with stone sword        if {_resp} is equal to 4:            Increase z-coordinate of {_x} by -20 or -40 or -50            spawn 1 wither skeleton at {_x}            equip spawned entity with stone swordon death of wither skeleton:    chance of 50%:        drop wither skull above location of attacker
Odnośnik do komentarza
https://skript.pl/temat/3779-pomoze-ktos/#findComment-32586
Udostępnij na innych stronach

  • 0
on death:	if victim is wither skeleton:		chance of 50%:			clear drops			drop wither skeleton head at victim
every 10 minutes:
loop all players:
set {_x} to location of loop-player
set {_resp} to a random integer between 1 and 4
if {_resp} is equal to 1:
Increase x-coordinate of {_x} by 20 or 40 or 50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 2:
Increase x-coordinate of {_x} by -20 or -10 or -15
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 3:
Increase Z-coordinate of {_x} by 20 or 40 or 50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 4:
Increase z-coordinate of {_x} by -20 or -40 or -50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
Edytowane przez Nieaktywny
Odnośnik do komentarza
https://skript.pl/temat/3779-pomoze-ktos/#findComment-32599
Udostępnij na innych stronach

  • 0
on death:	if victim is wither skeleton:		chance of 50%:			clear drops			drop wither skeleton head at victim
every 10 minutes:
loop all players:
set {_x} to location of loop-player
set {_resp} to a random integer between 1 and 4
if {_resp} is equal to 1:
Increase x-coordinate of {_x} by 20 or 40 or 50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 2:
Increase x-coordinate of {_x} by -20 or -10 or -15
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 3:
Increase Z-coordinate of {_x} by 20 or 40 or 50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword
if {_resp} is equal to 4:
Increase z-coordinate of {_x} by -20 or -40 or -50
spawn 1 wither skeleton at {_x}
set tool of spawned entity to stone sword

 

Ok thx działa Mozna zamknąc

Odnośnik do komentarza
https://skript.pl/temat/3779-pomoze-ktos/#findComment-32604
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ę...