Skocz do zawartości
  • 0

Gianty


marekqa

Pytanie

Rekomendowane odpowiedzi

  • 0

Lapaj, jutro moge Ci coś jeszcze dodać, czy coś, tylko napisz mi na skype (/boss masz info)
 

on script load:	if {boss.chance} isn't set:		set {boss.chance} to 20	if {boss.hp} isn't set:		set {boss.hp} to 1500	if {boss.msg} isn't set:		set {boss.msg} to "&7[&6Boss&7] &aBoss zespawnowal sie na kordach: {xyz}"on spawn of zombie:	chance of {boss.chance}%:		set {_m} to {boss.msg}		replace "{xyz}" in {_m} with "%event-location%"		broadcast "%{_m}%"		kill event-entity		spawn 1 giant at event-location		set max health of spawned giant to {boss.hp}		set health of spawned giant to max health of spawned gianton death of giant:	set {_amount} to random integer between 1 and 3	add {_amount} of golden apple to drops	command /boss [<text&gt] [<text&gt]:	permission: op	trigger:		if arg 1 isn't set:			send "&7By &amibac138 &7skype: &amibac831 &7:)"			send "&a/boss hp &7<ilosc> &8- HP bossa."			send "&a/boss szansa &7<szansa> &8- Szansa na zespawnowanie sie."			send "&a/boss msg &7<tekst> &8- Wiadomosc przy spawnowaniu bossa                                 (napisz ""{xyz}"", aby wyswietlily sie kordy)."			send "&a/boss info &8- Informacje o bossie"			send "&7Jak gdzies nie podasz 3 argumentu (np. ilosc), wyswietli Ci sie aktualnie ile ma np. hp"			stop						if arg 1 is "hp":			if arg 2 isn't set:				send "&7Boss ma &a%{boss.hp}% &7hp."				stop							send "&7Od teraz boss bedzie mial &a%arg 2% &7hp."			set {boss.hp} to arg 2			stop				if arg 1 is "szansa":			if arg 2 isn't set:				send "&7Jest &a%{boss.chance}%%% &7szans ze zespawnuje sie boss."				stop							send "&7Od teraz jest &a%arg 2%%% &7szans, ze zespawnuje sie boss."			set {boss.chance} to arg 2			stop				if arg 1 is "msg":			if arg 2 isn't set:				send "&7Wiadomosc podczas spawnowania bossa brzmi: ""%{boss.msg}%&7"""				stop						send "&7Od teraz podczas spawnowania bossa, wyswietli sie wiadomosc: ""%colored arg 2%&7"""			set {boss.msg} to colored arg 2			stop					execute player command "/boss"		stop
Edytowane przez mibac138
Odnośnik do komentarza
https://skript.pl/temat/3848-gianty/#findComment-33460
Udostępnij na innych stronach

  • 0

 

Lapaj, jutro moge Ci coś jeszcze dodać, czy coś, tylko napisz mi na skype (/boss masz info)

 

on script load:	if {boss.chance} isn't set:		set {boss.chance} to 20	if {boss.hp} isn't set:		set {boss.hp} to 1500	if {boss.msg} isn't set:		set {boss.msg} to "&7[&6Boss&7] &aBoss zespawnowal sie na kordach: {xyz}"on spawn of zombie:	chance of {boss.chance}%:		set {_m} to {boss.msg}		replace "{xyz}" in {_m} with "%event-location%"		broadcast "%{_m}%"		kill event-entity		spawn 1 giant at event-location		set max health of spawned giant to {boss.hp}		set health of spawned giant to max health of spawned gianton death of giant:	set {_amount} to random integer between 1 and 3	add {_amount} of golden apple to drops	command /boss [<text&gt] [<text&gt]:	permission: op	trigger:		if arg 1 isn't set:			send "&7By &amibac138 &7skype: &amibac831 &7:)"			send "&a/boss hp &7<ilosc> &8- HP bossa."			send "&a/boss szansa &7<szansa> &8- Szansa na zespawnowanie sie."			send "&a/boss msg &7<tekst> &8- Wiadomosc przy spawnowaniu bossa                                 (napisz ""{xyz}"", aby wyswietlily sie kordy)."			send "&a/boss info &8- Informacje o bossie"			send "&7Jak gdzies nie podasz 3 argumentu (np. ilosc), wyswietli Ci sie aktualnie ile ma np. hp"			stop						if arg 1 is "hp":			if arg 2 isn't set:				send "&7Boss ma &a%{boss.hp}% &7hp."				stop							send "&7Od teraz boss bedzie mial &a%arg 2% &7hp."			set {boss.hp} to arg 2			stop				if arg 1 is "szansa":			if arg 2 isn't set:				send "&7Jest &a%{boss.chance}%%% &7szans ze zespawnuje sie boss."				stop							send "&7Od teraz jest &a%arg 2%%% &7szans, ze zespawnuje sie boss."			set {boss.chance} to arg 2			stop				if arg 1 is "msg":			if arg 2 isn't set:				send "&7Wiadomosc podczas spawnowania bossa brzmi: ""%{boss.msg}%&7"""				stop						send "&7Od teraz podczas spawnowania bossa, wyswietli sie wiadomosc: ""%colored arg 2%&7"""			set {boss.msg} to colored arg 2			stop					execute player command "/boss"		stop

ale sie rospisales testowales? a zreszta to zaraz przetestuje thx

Odnośnik do komentarza
https://skript.pl/temat/3848-gianty/#findComment-33461
Udostępnij na innych stronach

  • 0

Prosze bardzo:

 

on spawn of zombie:
    chance of 1.00%:
        set {_giant} to location of event-location
        spawn 1 giant at {_giant}
        set max health of spawned giant to 1000
        broadcast "&cGIANT ZRESPIL SIE NA KORDACH: &o%event-location%"
on death of giant:
    delete drops
    chance of 100.00%:
        add 3 golden apple:1 to attacker
Odnośnik do komentarza
https://skript.pl/temat/3848-gianty/#findComment-33497
Udostępnij na innych stronach

  • 0

 

Prosze bardzo:

 

on spawn of zombie:
    chance of 1.00%:
        set {_giant} to location of event-location
        spawn 1 giant at {_giant}
        set max health of spawned giant to 1000
        broadcast "&cGIANT ZRESPIL SIE NA KORDACH: &o%event-location%"
on death of giant:
    delete drops
    chance of 100.00%:
        add 3 golden apple:1 to attacker

 

Wiesz co dzieki nie sprawdzalem ale @3up dal dobry i bardzo fajny Do zamkniecia

Odnośnik do komentarza
https://skript.pl/temat/3848-gianty/#findComment-33575
Udostępnij na innych stronach

  • 0

Działa ale 1500 hp a czm go bije mieczem 5/2 30min?,nie dropia te koxy, sa 2 errory zobacz:

 

'set {_x} to integer between 1 and 3' is not a boolean (yes/no) (drop.sk, line 307: set {_x} to integer between 1 and 3')

'{_x} golden apple' is not an entity type (drop.sk, line 308: set drops to {_x} golden apple')

[skript] Encountered 2 errors while reloading drop.sk!

YY sory, ale skrypt nie wywala błędów, a sam prosiłeś żeby miał 1500hp więc się zdecyduj

Odnośnik do komentarza
https://skript.pl/temat/3848-gianty/#findComment-33763
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ę...