Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Poprawa] Quest na konia


Rekomendowane odpowiedzi

Opublikowano

mam taki oto quest
Celem jego działania jest kliknięcie w grze na brązowy certyfikat a następnie otrzymanie 1 lvl konia bądź jak klikniemy drugi certyfikat dostaniemy 2lvl konia i chodzi o to ze nie wiem co wtym quescie jest nie tak ze nie działa to . W navi type/subtype 18/10 w cliencie też.

quest certyfikat begin
state start begin
when 50038.use with horse.get_level()==1
local pass_percent=70
local s=number(1,70)
pc.remove_item(50038, 1)
if s<=pass_procent then
chat("szkolenie przebiegło pomyślnie")
chat("udaj się do handlarza po zdjęcie konia")
horse.unride()
horse.ride()
else
chat("Szkolenie nie powiodło się przykro mi")
end
end
end
end
end
Opublikowano

oto quest dzieki ktoremu po uzyciu itemu 50038 dostaniesz wyzszy lvl konia

quest certyfikat begin
	state start begin
		when 50038.use with horse.get_level()==1 begin
			pc.remove_item(50038, 1)
			horse.set_level(2)
			say("otrzymales 2 lvl konia ")
		end
		when 50038.use with horse.get_level()==2 begin
			pc.remove_item(50038, 1)
			horse.set_level(3)
			say("otrzymales 3 lvl konia ")
		end
		when 50038.use with horse.get_level()==3 begin
			pc.remove_item(50038, 1)
			horse.set_level(4)
			say("otrzymales 4 lvl konia ")
		end
		when 50038.use with horse.get_level()==4 begin
			pc.remove_item(50038, 1)
			horse.set_level(5)
			say("otrzymales 5 lvl konia ")
		end
		when 50038.use with horse.get_level()==5 begin
			pc.remove_item(50038, 1)
			horse.set_level(6)
			say("otrzymales 6 lvl konia ")
		end
		when 50038.use with horse.get_level()==5 begin
			pc.remove_item(50038, 1)
			horse.set_level(7)
			say("otrzymales 7 lvl konia ")
		end
		when 50038.use with horse.get_level()==7 begin
			pc.remove_item(50038, 1)
			horse.set_level(8)
			say("otrzymales 8 lvl konia ")
		end
		when 50038.use with horse.get_level()==8 begin
			pc.remove_item(50038, 1)
			horse.set_level(9)
			say("otrzymales 9 lvl konia ")
		end
		when 50038.use with horse.get_level()==9 begin
			pc.remove_item(50038, 1)
			horse.set_level(10)
			say("otrzymales 10 lvl konia ")
		end
		when 50038.use with horse.get_level()==10 begin
			pc.remove_item(50038, 1)
			horse.set_level(11)
			say("otrzymales 11 lvl konia ")
		end
		when 50038.use with horse.get_level()==11 begin
			pc.remove_item(50038, 1)
			horse.set_level(12)
			say("otrzymales 12 lvl konia ")
		end
		when 50038.use with horse.get_level()==12 begin
			pc.remove_item(50038, 1)
			horse.set_level(13)
			say("otrzymales 13 lvl konia ")
		end
		when 50038.use with horse.get_level()==13 begin
			pc.remove_item(50038, 1)
			horse.set_level(14)
			say("otrzymales 14 lvl konia ")
		end
		when 50038.use with horse.get_level()==14 begin
			pc.remove_item(50038, 1)
			horse.set_level(15)
			say("otrzymales 15 lvl konia ")
		end
		when 50038.use with horse.get_level()==15 begin
			pc.remove_item(50038, 1)
			horse.set_level(16)
			say("otrzymales 16 lvl konia ")
		end
		when 50038.use with horse.get_level()==16 begin
			pc.remove_item(50038, 1)
			horse.set_level(17)
			say("otrzymales 17 lvl konia ")
		end
		when 50038.use with horse.get_level()==17 begin
			pc.remove_item(50038, 1)
			horse.set_level(18)
			say("otrzymales 18 lvl konia ")
		end
		when 50038.use with horse.get_level()==18 begin
			pc.remove_item(50038, 1)
			horse.set_level(19)
			say("otrzymales 19 lvl konia ")
		end
		when 50038.use with horse.get_level()==19 begin
			pc.remove_item(50038, 1)
			horse.set_level(20)
			say("otrzymales 20 lvl konia ")
		end
		when 50038.use with horse.get_level()==20 begin
			pc.remove_item(50038, 1)
			horse.set_level(21)
			say("otrzymales 21 lvl konia ")
		end
	end
end

to jest quest na 100% zwiekszenia lvl konia, jezeli chcesz aby bylo 70% to musisz dodac:

przed kazdym pc.remove_item(50038, 0)

local rand = math.random(100)
if rand >= 30 then

a po kazdym say("otrzymales 21 lvl konia ")

musisz dodac

else
                chat("Szkolenie nie powiodło się przykro mi")
                end

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...