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

Pierścien , dany lvl


Rekomendowane odpowiedzi

Opublikowano
quest pierscien begin
	state start begin
		when 80009.use begin
			say_title("Pierścień Teleportacji: ")
			local s = select("Miasta ", "Drugie Miasta ", "Łatwe Miejsca ", "Trudne Miejsca ", "Inne", "Zestaw Expowicza " , "Anuluj ")
				if s == 7 then
					return
				end
				if s == 1 then
					local d = select("Shinsoo ", "Chunjo ", "Jinno ", "Anuluj ")
						if d == 4 then
							return
						end
						if d == 1 then
							pc.warp(474100, 954500)
						end
						if d == 2 then
							pc.warp(63600, 166400)
						end
						if d == 3 then
							pc.warp(959900, 269300)
						end
				end
				if s == 2 then
					local f = select("Shinsoo ", "Chunjo ", "Jinno ", "Anuluj ")
						if f == 4 then
							return
						end
						if f == 1 then
							pc.warp(353000, 882700)
						end
						if f == 2 then
							pc.warp(145300, 240500)
						end
						if f == 3 then
							pc.warp(863600, 245900)
						end
				end
				if s == 3 then
					local g = select("Dolina Orków ", "Pustynia ", "Góra Sohan ", "Loch Pajkakow V1 ", "Ognista Ziemia ",  "Anuluj ")
						if g == 6 then
							return
						end
						if g == 1 then
							local empire = pc . get_empire ( ) 
								if empire == 1 then
									pc.warp ( 402100 , 673900 )
								end
								if empire == 2 then 
									pc.warp ( 270400 , 739900 )
								end
								if empire == 3 then 
									pc.warp ( 321300 , 808000 )
								end
						end
						if g == 2 then
							local empire = pc . get_empire ( ) 
								if empire == 1 then 
									pc.warp ( 217800 , 627200 )
								end
								if empire == 2 then 
									pc.warp ( 221900 , 502700 )
								end
								if empire == 3 then 
									pc.warp ( 344000 , 502500 )
								end
						end
						if g == 3 then
							local empire = pc . get_empire ( ) 
								if empire == 1 then 
									pc.warp ( 434200 , 290600 )
								end
								if empire == 2 then 
									pc.warp ( 375200 , 174900 )
								end
								if empire == 3 then 
									pc.warp ( 491800 , 173600 )
								end
						end
						if g == 4 then
							local empire = pc . get_empire ( ) 
								if empire == 1 then 
									pc.warp ( 60000 , 496000 )
								end
								if empire == 2 then 
									pc.warp ( 60000 , 496000 )
								end
								if empire == 3 then 
									pc.warp ( 60000 , 496000 )
								end
						end
						if g == 5 then
                            local empire = pc . get_empire ( ) 
								if empire == 1 then 
									pc.warp ( 599400 , 756300 )
								end
								if empire == 2 then 
									pc.warp ( 597800 , 622200 )
								end
								if empire == 3 then 
									pc.warp ( 730700 , 689800 )
								end
						end
				end
				if s == 4 then		
					local t = select ( "Loch Pająków V2" , "Czerwony Las" , "Alantyda V1" , "Atlantyda V2" , "Anuluj" ) 
						if t == 5 then
							return
						end
						if t == 1 then
							pc.warp ( 704100 , 464100 )
						end
						if t == 2 then
							pc.warp ( 1119900 , 70800 )
						end
						if t == 3 then
							pc.warp ( 9800 , 1215100 )
						end
						if t == 4 then
							pc.warp ( 153600 , 1203200 )
						end
				end
				if s == 6 then							
					local p = select("Czerwone Mikstury ", "Niebieskie Miktury ", "Pelerynki", "Anuluj ")
						if p == 4 then
							return
						end
						if p == 1 then
							say_reward("Otrzymałeś 200 czerwonych mikstur")
							pc.give_item2(27003, 200)
							pc.change_money(-100000)
						end
						if p == 2 then
							say_reward("Otrzymałeś 200 niebieskich mikstur")
							pc.give_item2(27006, 200)
							pc.change_money(-100000)
						end
						if p == 3 then
							say_reward("Otrzymałeś 200 peleryn męstwa")
							pc.give_item2(70038, 200)
							pc.change_money(-1500000)
						end
				end
				if s == 5 then
					local i = select("Wieża demonów ", "Ziemia olbrzymów ", "Anuluj ")
						if i == 3 then
							return
						end
						if i == 1 then
							pc.warp ( 590500 , 110500 )
						end
						if i == 2 then
							pc.warp ( 845100 , 745900 )
						end
				end
		end
	end
end

Doda ktoś mi żeby :

 

Loch v1-30 lvl

Locha v2-45 lvl

Red las-50 lvl

Atla v1-65 lvl

Atla v2-80 lvl

 

 

sygna.png

Opublikowano

Robisz to w ten sposób:

if g == 4 then
   local empire = pc . get_empire ( ) 
   if empire == 1 and pc.level >= 30 then 
      pc.warp ( 60000 , 496000 )
   end
   if empire == 2 and pc.level >= 30 then 
      pc.warp ( 60000 , 496000 )
   end
   if empire == 3 and pc.level >= 30 then 
      pc.warp ( 60000 , 496000 )
   end

Jeśli chcesz jeszcze jakiś komunikat to dopisujesz:

if empire == 3 and pc.level >= 30 then 
      pc.warp ( 60000 , 496000 )
else
   say("Masz za maly poziom! ")
end

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista


"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer


 


Potrzebujesz czegoś? Oznacz mnie @Salur

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...