Skocz do zawartości
  • 0

Skrypt na lvl'e rpg


Wakal

Pytanie

Witam, dzisiaj chciałem napisac skrypt na lvl'e rpg, widziałem niektóre skrypty, ale ja ich po prostu nie ogarniam, bawiłem się z nimi, i nic z tego nie wyszło.

Czy mógłby ktoś mi napisać skrypt na lvl'e rpg (przynajmniej 4 lvle) i wytłumaczyć dokładnie żebym sam mógł tworzyć lvl'e? 

Za wszystkie odpowiedzi z góry dziękuje!
Daje like i naj.

Odnośnik do komentarza
https://skript.pl/temat/22607-skrypt-na-lvle-rpg/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:
		pktzombie: 20
		pktszkielet: 20
		pktcreeper: 20

		iloscnalvl2: 100
		iloscnalvl3: 200

variables:
		{pkt.%player%} = 0
		{lvl.%player%} = 1

on death of zombie:
	add {@pktzombie} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
on death of skeleton:
	add {@pktszkielet} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
on death of creeper:
	add {@pktcreeper} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0

Tu masz takie najprostsze, nie testowane, myślę że pomogłem.

Odnośnik do komentarza
https://skript.pl/temat/22607-skrypt-na-lvle-rpg/#findComment-153810
Udostępnij na innych stronach

  • 0
5 minut temu, SirGeorge napisał:

options:
		pktzombie: 20
		pktszkielet: 20
		pktcreeper: 20

		iloscnalvl2: 100
		iloscnalvl3: 200

variables:
		{pkt.%player%} = 0
		{lvl.%player%} = 1

on death of zombie:
	add {@pktzombie} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
on death of skeleton:
	add {@pktszkielet} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
on death of creeper:
	add {@pktcreeper} to {pkt.%player%}
	if {pkt.%player%} is more or equal to {@iloscnalvl2}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0
	if {pkt.%player%} is more or equal to {@iloscnalvl3}:
		add 1 to {lvl.%player%}
		set {pkt.%player%} to 0

Tu masz takie najprostsze, nie testowane, myślę że pomogłem.

Dzięki, jutro ogarnę, dzisiaj nie mam już siły.

Odnośnik do komentarza
https://skript.pl/temat/22607-skrypt-na-lvle-rpg/#findComment-153812
Udostępnij na innych stronach

  • 0
variables:
	{exp.%player%} = 0
	{lvl.%player%} = 1
	{pexp.%player%} = 0
		
command /lvl:
	trigger:
		send "&f&lTwoj Lvl: &b%{lvl.%player%}%"
		send "&f&lTwoj Exp: &b%{exp.%player%}%&8/&a%{pexp.%player%}%"
		
command /resetlvl:
	trigger:
		set {lvl.%player%} to 1
		set {pexp.%player%} to 100
		set {exp.%player%} to 0
		
on death:
	if victim is zombie:
		if name of victim is "&6&lZombie - &bLvL 1":
			add 13 to {exp.%attacker%}
			send "&a[&2EXP&a] &2Dodano &a13 &bExpa" to attacker
			set {Zmienna.%attacker%} to {exp.%attacker%} / {pexp.%attacker%}
			set level progress of the attacker to {Zmienna.%attacker%}
			set attacker's level to {lvl.%attacker%}
		
#
#LVLE
#				
on death:
	if attacker is a player:
		if victim is a zombie:
			if name of victim is "&6&lZombie - &bLvL 1":
			if {exp.%attacker%} is greater than 100:
				if {lvl.%attacker%} is 1:
					set {lvl.%attacker%} to 2
					set {pexp.%attacker%} to 200
					send "&aAwansowales na &62 &6LVL" to attacker
			if {exp.%attacker%} is greater than 200:
				if {lvl.%attacker%} is 2:
					set {lvl.%attacker%} to 3
					set {pexp.%attacker%} to 400
					send "&aAwansowales na &63 &6LVL" to attacker
			if {exp.%attacker%} is greater than 400:
				if {lvl.%attacker%} is 3:
					set {lvl.%attacker%} to 4
					set {pexp.%attacker%} to 600
					send "&aAwansowales na &64 &6LVL" to attacker
			if {exp.%attacker%} is greater than 600:
				if {lvl.%attacker%} is 4:
					set {lvl.%attacker%} to 5
					set {pexp.%attacker%} to 800
					send "&aAwansowales na &65 &6LVL" to attacker
			if {exp.%attacker%} is greater than 800:
				if {lvl.%attacker%} is 5:
					set {lvl.%attacker%} to 6
					set {pexp.%attacker%} to 1000
					send "&aAwansowales na &66 &6LVL" to attacker
			if {exp.%attacker%} is greater than 1000:
				if {lvl.%attacker%} is 6:
					set {lvl.%attacker%} to 7
					set {pexp.%attacker%} to 1200
					send "&aAwansowales na &67 &6LVL" to attacker
			if {exp.%attacker%} is greater than 1200:
				if {lvl.%attacker%} is 7:
					set {lvl.%attacker%} to 8
					set {pexp.%attacker%} to 1400
					send "&aAwansowales na &68 &6LVL" to attacker
			if {exp.%attacker%} is greater than 1400:
				if {lvl.%attacker%} is 8:
					set {lvl.%attacker%} to 9
					set {pexp.%attacker%} to 1600
					send "&aAwansowales na &69 &6LVL" to attacker
			if {exp.%attacker%} is greater than 1600:
				if {lvl.%attacker%} is 9:
					set {lvl.%attacker%} to 10
					set {pexp.%attacker%} to 2300
					send "&aAwansowales na &610 &6LVL" to attacker

Proszę :)

Odnośnik do komentarza
https://skript.pl/temat/22607-skrypt-na-lvle-rpg/#findComment-153829
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ę...