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

Pisanie / Poprawa Questów !


PoczatKujacy

Rekomendowane odpowiedzi

Opublikowano

Dupa nie działa.

Opiszę od początku jak on ma wyglądać.

A więc tak.

Wbijasz 55lvl, idziesz do NPC:2604

U niego są do wyboru misje i klikasz na Quest na broszke.

On Ci coś tam gada.

Po nacisnieciu opcji Zgadzam się, wychodzi z menu od tego NPC i pojawia się z boku taki zwój.

Na tym zwoju pisze że masz zabić 200, 731, 732 lub 733.

No i w tym zwoju pisze Ci ile jeszcze zostało do zabicia.

Oczywiście ma to też pisać tak jak masz questa na 2lvl z dzikimi psami ze jak klikniesz n to masz tam okienko z misjiami i tam psize zostalo dio zabicia: 199 potworów.

Gdy już zabijemy, na chacie pojawia się wiadomość, Brawo pokonałeś potwory, udaj sie do 2604.

Gdy do niego zajdziemy on coś do nas gada, i daje nam 70031.

  • Odpowiedzi 8,7 tys.
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

@Vatu powinno być teraz dobrze

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest test begin
state start begin
 when login with pc.get_level() >= 55 begin
  local v = find_npc_by_vnum(2604)
if v != 0 then
 target.vid("__TARGET__",v,"2604")
 setstate(cz1)
end
 end
end
state cz1 begin
 when 2604.chat."Quest na broszke" begin
  say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
  say("on cos tam ci gada ")
  target.delete("__TARGET__")
  setstate(rozwal)
 end
end
state rozwal begin
 when 731.kill or 732.kill or 733.kill begin
  local a = pc.getqf("mob")+1
if a < 200 then
 pc.getqf("mob",a)
 when letter begin
  send_letter("ILE ??")
 end
 when button or info begin
  say_title("Ile musisz jeszcze rozwalic")
  say("Musisz rozwalic moby o id: ")
  say("731 , 732 , 733")
  say("pozostalo ci jeszcze"..a.."do rozwalenia")
 end
elseif a >= 200 then
 chat("Brawo pokonales potwory")
 chat("udaj sie do 2604")
 local vv = find_npc_by_vnum(2604)
  if vv != 0 then
   target.vid("__TARGET__",vv,"2604")
   setstate(cz2)
  end
end
 end
end
state cz2 begin
 when __TARGET__.target.click or 2604.chat."Daj broszke" begin
  say_title("Gratulacje")
  say_reward("Otrzymales broszke")
  say("Za 8 godin bedziesz mogl")
  say("ponownie wykonac misje")
  pc.give_item2(70031)
  target.delete("__TARGET__")
  delay(60*60*8)
  restart_quest()
 end
end
end

 

@edit był jeden błąd ale już go poprawiłem

Opublikowano

zobacz teraz

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest test begin
state start begin
 when login with pc.get_level() >= 55 begin
  local v = find_npc_by_vnum(2604)
   if v != 0 then
 target.vid("__TARGET__",v,"2604")
 setstate(cz1)
   end 
 end
end
state cz1 begin
 when 2604.chat."Quest na broszke" begin
  say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
  say("on cos tam ci gada ")
  target.delete("__TARGET__")
  setstate(roz)
 end
end
state roz begin
 when 731.kill or 732.kill or 733.kill begin
  local a = pc.getqf("mob")+1
   if a < 200 then
 pc.getqf("mob",a)
 when letter begin
  send_letter("ILE ??")
 end
 when button or info begin
  say_title("Ile musisz jeszcze rozwalic")
  say("Musisz rozwalic moby o id: ")
  say("731 , 732 , 733")
  say("pozostalo ci jeszcze"..a.."do rozwalenia")
 end
   elseif a >= 200 then
 chat("Brawo pokonales potwory")
 chat("udaj sie do 2604")
 local vv = find_npc_by_vnum(2604)
  if vv != 0 then
   target.vid("__TARGET__",vv,"2604")
   setstate(cz2)
  end
   end
 end
end
state cz2 begin
 when __TARGET__.target.click or 2604.chat."Daj broszke" begin
  say_title("Gratulacje")
  say_reward("Otrzymales broszke")
  say("Za 8 godin bedziesz mogl")
  say("ponownie wykonac misje")
  pc.give_item2(70031)
  target.delete("__TARGET__")
  delay(60*60*8)
  restart_quest()
 end
end
end

 

ja zrobiłem że jak nie minie 8 godzin to nic ci u npc 2604 nic nie pokaże dopiero po 8 godzinach będzie strzałka na tym npc i będzie mógł jak coś to napisz na moje gg to ci pomogę gg mam w profilu jak coś

Opublikowano

spróbuj teraz poprawiłem when bo był błąd

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest test begin
   state start begin
       when login with pc.get_level() >= 55 begin
           local v = find_npc_by_vnum(2604)
               if v != 0 then
                   target.vid("__TARGET__",v,"2604")
                   setstate(cz1)
               end        
       end
   end
   state cz1 begin
       when 2604.chat."Quest na broszke" begin
           say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
           say("on cos tam ci gada ")
           target.delete("__TARGET__")
           setstate(roz)
       end
   end
   state roz begin
       when kill with 731.kill or 732.kill or 733.kill begin
           local a = pc.getqf("mob")+1
               if a < 200 then
                   pc.getqf("mob",a)
                   when letter begin
                       send_letter("ILE ??")
                   end
                   when button or info begin
                       say_title("Ile musisz jeszcze rozwalic")
                       say("Musisz rozwalic moby o id: ")
                       say("731 , 732 , 733")
                       say("pozostalo ci jeszcze"..a.."do rozwalenia")
                   end
               elseif a >= 200 then
                   chat("Brawo pokonales potwory")
                   chat("udaj sie do 2604")
                   local vv = find_npc_by_vnum(2604)
                       if vv != 0 then
                           target.vid("__TARGET__",vv,"2604")
                           setstate(cz2)
                       end
               end
       end
   end
   state cz2 begin
       when __TARGET__.target.click or 2604.chat."Daj broszke" begin
           say_title("Gratulacje")
           say_reward("Otrzymales broszke")
           say("Za 8 godin bedziesz mogl")
           say("ponownie wykonac misje")
           pc.give_item2(70031)
           target.delete("__TARGET__")
           delay(60*60*8)
           restart_quest()
       end
   end
end

Opublikowano

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest test begin
   state start begin
       when login with pc.get_level() >= 55 begin
           local v = find_npc_by_vnum(2604)
               if v != 0 then
                   target.vid("__TARGET__",v,"2604")
                   setstate(cz1)
               end        
       end
   end
   state cz1 begin
       when 2604.chat."Quest na broszke" begin
           say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
           say("on cos tam ci gada ")
           target.delete("__TARGET__")
           setstate(roz)
       end
   end
   state roz begin
       when 731.kill or 732.kill or 733.kill begin
           setstate(roz2)
       end
   end
   state roz2 begin
       local a = pc.getqf("mob")+1
           if a < 200 then
               pc.getqf("mob",a)
               when letter begin
                   send_letter("ILE ??")
               end
               when button or info begin
                   say_title("Ile musisz jeszcze rozwalic")
                   say("Musisz rozwalic moby o id: ")
                   say("731 , 732 , 733")
                   say("pozostalo ci jeszcze"..a.."do rozwalenia")
               end
           elseif a >= 200 then
               chat("Brawo pokonales potwory")
               chat("udaj sie do 2604")
               local vv = find_npc_by_vnum(2604)
                   if vv != 0 then
                       target.vid("__TARGET__",vv,"2604")
                       setstate(cz2)
                   end
           end
   end
   state cz2 begin
       when __TARGET__.target.click or 2604.chat."Daj broszke" begin
           say_title("Gratulacje")
           say_reward("Otrzymales broszke")
           say("Za 8 godin bedziesz mogl")
           say("ponownie wykonac misje")
           pc.give_item2(70031)
           target.delete("__TARGET__")
           delay(60*60*8)
           restart_quest()
       end
   end
end

 

sorry że mój kod ma błędy ale nie mam na czym sprawdzić kod

@Stelios już jest w spoiler i poprawiłem te when

Opublikowano

Wytłumacz mi co to jest?

state rozwal begin
 when 731.kill or 732.kill or 733.kill begin
  local a = pc.getqf("mob")+1
	if a < 200 then
	 pc.getqf("mob",a)
	 when letter begin
	  send_letter("ILE ??")
	 end
	 when button or info begin
	  say_title("Ile musisz jeszcze rozwalic")
	  say("Musisz rozwalic moby o id: ")
	  say("731 , 732 , 733")
	  say("pozostalo ci jeszcze"..a.."do rozwalenia")
	 end
	elseif a >= 200 then
	 chat("Brawo pokonales potwory")
	 chat("udaj sie do 2604")
	 local vv = find_npc_by_vnum(2604)
	  if vv != 0 then
	   target.vid("__TARGET__",vv,"2604")
	   setstate(cz2)
	  end
	end
 end
end

 

Jeśli masz when z czymś to musisz go zamknąć żeby zacząć kolejnego when, a nie otwierać jeden w drugim..

 

@I wstaw to wszystko do spoilerów, kur** mac!!

@Dzięki... ale naucz się od razu wstawiać w spoiler.

 

@EDIT

@Poprawka:

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest test begin
   state start begin
       when login with pc.get_level() >= 55 begin
           local v = find_npc_by_vnum(2604)
               if v != 0 then
                   target.vid("__TARGET__",v,"2604")
                   setstate(cz1)
               end        
       end
   end
   state cz1 begin
       when 2604.chat."Quest na broszke" begin
           target.delete("__TARGET__")
           say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
           say("on cos tam ci gada ")
           target.delete("__TARGET__")
           setstate(roz)
       end
   end
   state roz begin
       when 731.kill or 732.kill or 733.kill begin
       local a = pc.setqf("mob")+1
           if a < 200 then
               pc.setqf("mob",a)
           elseif a >= 200 then
               chat("Brawo pokonales potwory")
               chat("udaj sie do 2604")
               setstate(cz2)
               local vv = find_npc_by_vnum(2604)
                   if vv != 0 then
                       target.vid("__TARGET__",vv,"2604")
                   end
           end
       end
       when letter begin
           send_letter("ILE ??")
       end
       when button or info begin
           say_title("Ile musisz jeszcze rozwalic")
           say("Musisz rozwalic: ")
           say(mob_name(731).." , "..mob_name(732).." , "..mob_name(733).." ")
           say("pozostalo ci jeszcze "..a.." do rozwalenia")
       end
   end
   state cz2 begin
       when __TARGET__.target.click or 2604.chat."Daj broszke" begin
           target.delete("__TARGET__")
           say_title("Gratulacje")
           say_reward("Otrzymales broszke")
           say("Za 8 godin bedziesz mogl")
           say("ponownie wykonac misje")
           pc.give_item2(70031)
           target.delete("__TARGET__")
           delay(60*60*8)
           restart_quest()
       end
   end
end

 

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

@Vatu teraz powinno ci już dobrze działać bo zmienna a była zmienną localną i nie docierała do zwoju żeby pokazać ile zostało do zabicia teraz zrobiłem że jest zmienną globalną i powinno być już dobrze. u mnie quest wgrał się bez żadnych problemów

 

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest lvl55 begin
state start begin
 when login with pc.get_level() >= 55 begin
  local v = find_npc_by_vnum(2604)
   if v != 0 then
 target.vid("__TARGET__",v,"2604")
 setstate(cz1)
   end 
 end
end
state cz1 begin
 when 2604.chat."Quest na broszke" begin
  say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
  say("on cos tam ci gada ")
  target.delete("__TARGET__")
  setstate(roz)
 end
end
state roz begin
 when 731.kill or 732.kill or 733.kill begin
  a = pc.setqf("mob")+1
	    if a < 200 then
		    pc.setqf("mob",a)
   send_letter("ILE ??")
	    elseif a >= 200 then
		    chat("Brawo pokonales potwory")
		    chat("udaj sie do 2604")
		    local vv = find_npc_by_vnum(2604)
			    if vv != 0 then
				    target.vid("__TARGET__",vv,"2604")
			    end
   setstate(cz2)
	    end
    end
    when button or info begin
	    say_title("Rozwaliles")
	    say("Musisz rozwalic: ")
	    say(mob_name(731).." , "..mob_name(732).." , "..mob_name(733).." ")
	    say("rozwaliles juz "..a.."z 200")
    end
end
state cz2 begin
 when __TARGET__.target.click or 2604.chat."Daj broszke" begin
  say_title("Gratulacje")
  say_reward("Otrzymales broszke")
  say("Za 8 godin bedziesz mogl")
  say("ponownie wykonac misje")
  pc.give_item2(70031)
  target.delete("__TARGET__")
  delay(60*60*8)
  restart_quest()
 end
end
end

 

Opublikowano

Naprawi ktoś ten quest:

 

 

quest riper begin

state start begin

when login or levelup with pc.level >= 100 and pc.level <= 255 begin

setstate(rip)

end

end

state rip begin

when letter begin

send_letter("Zabij Umarłego Rozpruwacza (100lv)! ")

end

when button or info begin

say_zloto("Witaj! ")

say("Masz może czas i siłę aby mi pomóc. ")

say("Jeśli tak to możesz dla mnie zabić 5 Umarłych Rozprówaczy? ")

say("Które nękają mojego brata Kowala. ")

say("Za zabicie pięciu Umarłych Rozpruwaczy dostaniesz: ")

say_red("Pieczęć Wojennego Dzika (10h) ")

say_red("Pierściń Doświadczenia (1h) ")

say_red("50.000.000 Yang ")

say_red("Oraz niespodzianę :> ")

say_title("Jeśli masz wystarczająco sił pomóż Handlarce! ")

say("")

say_reward("Przyjmujesz misje? ")

say("")

local s = select("Przyjmuje", "Nie mam czasu!")

if s == 2 then

setstate(koniec)

end

if s == 1 then

setstate(rip2)

end

end

end

state rip2 begin

when letter begin

send_letter("Zabij Umarłego Rozpruwacza (100lv)! ")

end

when 1093.kill begin

local count = pc.setqf("ripery")+1

if count < 5 then

pc.setqf("ripery", count)

else

setstate(list)

end

end

when button or info begin

say_zloto("Pomóż handlarce i zabij pięciu Umarłych Rozprówaczy. ")

say("Handlarka za zabicie 5 Umarłych Rozprówaczy da Ci cenne przedmioty! ")

say("Umarłego Rozprówacza znajdziesz w Wierzy Demonów. ")

say("Za zabicie pięciu Umarłych Rozpruwaczy dostaniesz: ")

say_red("Pieczęć Wojennego Dzika (10h) ")

say_red("Pierściń Doświadczenia (1h) ")

say_red("Oraz niespodzianę :> ")

say_title("Jeśli masz wystarczająco sił pomóż Handlarce! ")

say("")

say_reward("Zabiłeś dotychczas: "..pc.getqf("ripery").." z 5 ")

end

end

state list begin

when letter begin

send_letter("Zabiłeś Umarłego Rozprówacza! ")

end

when button or info begin

say_blue("Zabiłeś pięciu Umarłych Rozprówaczy! ")

say("")

say_red("Dostajesz: ")

say_red("Otrzymujesz: 200.000.000 yang ")

say_red("Otrzymujesz: 200.000.000 DD¦ ")

say("")

pc.change_money( 50.000.000 )

pc.give_item2( 71138 )

say_red("Wybierz bonus dla siebie: ")

say("")

local s = select("+1000 HP", "+200 ataku", "+20% krytyk")

if s == 1 then

say_title(mob_name(20086)..":")

say("Przydzielono bonus +1000 HP na stałe ")

say("")

affect.add(apply.MAX_HP, 1000, 60*60*24*365*60)

setstate(koniec)

end

if s == 1 then

say_title(mob_name(20086)..":")

say("Przydzielono bonus +200 ataku na stałe ")

say("")

affect.add(apply.GRADE_BONUS, 200, 60*60*24*365*60)

setstate(koniec)

end

if s == 1 then

say_title(mob_name(20086)..":")

say("Przydzielono bonus +20% krytyka na stałe ")

say("")

affect.add(apply.POINT_CRITICAL_PCT, 20, 60*60*24*365*60)

setstate(koniec)

end

end

end

state koniec begin

end

end

 

 

Jak zabije Ripiera to nic zalicza :(

Opublikowano

@WrollMT2 po pierwsze masz błąd w tym kodzie

 

 

	   	 local s = select("+1000 HP", "+200 ataku", "+20% krytyk")
			if s == 1 then
				say_title(mob_name(20086)..":")
				say("Przydzielono bonus +1000 HP na stałe ")
				say("")
				affect.add(apply.MAX_HP, 1000, 60*60*24*365*60)
				setstate(koniec)
			end
			if s == 1 then
				say_title(mob_name(20086)..":")
				say("Przydzielono bonus +200 ataku na stałe ")
				say("")
				affect.add(apply.GRADE_BONUS, 200, 60*60*24*365*60)
				setstate(koniec)
			end
			if s == 1 then
				say_title(mob_name(20086)..":")
				say("Przydzielono bonus +20% krytyka na stałe ")
				say("")
				affect.add(apply.POINT_CRITICAL_PCT, 20, 60*60*24*365*60)
				setstate(koniec)
			end

 

nie może być kilka razy if s == 1 then tylko po kolei 1, 2, 3.

zaraz dam edit i poprawię cały kod

 

po drugie w pc.change_money( 50.000.000 ) nie mogą być kropki

po trzecie na początku nie musiałeś pisać że od 100 do 255 ponieważ 255 to jest już ostatni lvl więc wystarczyło tak dać

when login or levelup with pc.level >= 100 begin

 

 

teraz powinien działać

 

quest riper begin
   state start begin
       when login or levelup with pc.level >= 100 begin
           setstate(rip)
       end
   end
   state rip begin
       when letter begin
           send_letter("Zabij Umarłego Rozpruwacza (100lv)! ")
       end
       when button or info begin
           say_zloto("Witaj! ")
           say("Masz może czas i siłę aby mi pomóc. ")
           say("Jeśli tak to możesz dla mnie zabić 5 Umarłych Rozprówaczy? ")
           say("Które nękają mojego brata Kowala. ")
           say("Za zabicie pięciu Umarłych Rozpruwaczy dostaniesz: ")
           say_red("Pieczęć Wojennego Dzika (10h) ")
           say_red("Pierściń Doświadczenia (1h) ")
           say_red("50.000.000 Yang ")
           say_red("Oraz niespodzianę :> ")
           say_title("Jeśli masz wystarczająco sił pomóż Handlarce! ")
           say("")
           say_reward("Przyjmujesz misje? ")
           say("")
           local s = select("Przyjmuje", "Nie mam czasu!")
               if s == 1 then
                   setstate(rip2)
               elseif s == 2 then
                   setstate(koniec)
               end
       end
   end
   state rip2 begin
       when letter begin
           send_letter("Zabij Umarłego Rozpruwacza (100lv)! ")
       end
       when 1093.kill begin
           local count = pc.setqf("ripery")+1
               if count < 5 then
                   pc.setqf("ripery", count)
               else
                   setstate(list)
               end
       end
       when button or info begin
           say_zloto("Pomóż handlarce i zabij pięciu Umarłych Rozprówaczy. ")
           say("Handlarka za zabicie 5 Umarłych Rozprówaczy da Ci cenne przedmioty! ")
           say("Umarłego Rozprówacza znajdziesz w Wierzy Demonów. ")
           say("Za zabicie pięciu Umarłych Rozpruwaczy dostaniesz: ")
           say_red("Pieczęć Wojennego Dzika (10h) ")
           say_red("Pierściń Doświadczenia (1h) ")
           say_red("Oraz niespodzianę :> ")
           say_title("Jeśli masz wystarczająco sił pomóż Handlarce! ")
           say("")
           say_reward("Zabiłeś dotychczas: "..pc.getqf("ripery").." z 5 ")
       end
   end
   state list begin
       when letter begin
           send_letter("Zabiłeś Umarłego Rozprówacza! ")
       end
       when button or info begin
           say_blue("Zabiłeś pięciu Umarłych Rozprówaczy! ")
           say("")
           say_red("Dostajesz: ")
           say_red("Otrzymujesz: 50.000.000 yang ")
           say_red("Otrzymujesz: Pierscien expa ")
           say("")
           pc.change_money( 50000000 )
           pc.give_item2( 71138 )
           say_red("Wybierz bonus dla siebie: ")
           say("")
           local s = select("+1000 HP", "+200 ataku", "+20% krytyk")
               if s == 1 then
                   say_title(mob_name(20086)..":")
                   say("Przydzielono bonus +1000 HP na stałe ")
                   say("")
                   affect.add(apply.MAX_HP, 1000, 60*60*24*365*60)
                   setstate(koniec)
               end
               if s == 2 then
                   say_title(mob_name(20086)..":")
                   say("Przydzielono bonus +200 ataku na stałe ")
                   say("")
                   affect.add(apply.GRADE_BONUS, 200, 60*60*24*365*60)
                   setstate(koniec)
               end
               if s == 3 then
                   say_title(mob_name(20086)..":")
                   say("Przydzielono bonus +20% krytyka na stałe ")
                   say("")
                   affect.add(apply.POINT_CRITICAL_PCT, 20, 60*60*24*365*60)
                   setstate(koniec)
               end
       end
   end
   state koniec begin
   end
end

 

Opublikowano

@Vatu teraz powinno ci już dobrze działać bo zmienna a była zmienną localną i nie docierała do zwoju żeby pokazać ile zostało do zabicia teraz zrobiłem że jest zmienną globalną i powinno być już dobrze. u mnie quest wgrał się bez żadnych problemów

 

 

------------------------------
-----By Rower1310(Maniek)-----
------------------------------
quest lvl55 begin
state start begin
 when login with pc.get_level() >= 55 begin
  local v = find_npc_by_vnum(2604)
if v != 0 then
 target.vid("__TARGET__",v,"2604")
 setstate(cz1)
end
 end
end
state cz1 begin
 when 2604.chat."Quest na broszke" begin
  say_title("TYTUL QUESTU PO KLIKNIECIU NA NPC")
  say("on cos tam ci gada ")
  target.delete("__TARGET__")
  setstate(roz)
 end
end
state roz begin
 when 731.kill or 732.kill or 733.kill begin
  a = pc.setqf("mob")+1
		if a < 200 then
			pc.setqf("mob",a)
send_letter("ILE ??")
		elseif a >= 200 then
			chat("Brawo pokonales potwory")
			chat("udaj sie do 2604")
			local vv = find_npc_by_vnum(2604)
				if vv != 0 then
					target.vid("__TARGET__",vv,"2604")
				end
setstate(cz2)
		end
	end
	when button or info begin
		say_title("Rozwaliles")
		say("Musisz rozwalic: ")
		say(mob_name(731).." , "..mob_name(732).." , "..mob_name(733).." ")
		say("rozwaliles juz "..a.."z 200")
	end
end
state cz2 begin
 when __TARGET__.target.click or 2604.chat."Daj broszke" begin
  say_title("Gratulacje")
  say_reward("Otrzymales broszke")
  say("Za 8 godin bedziesz mogl")
  say("ponownie wykonac misje")
  pc.give_item2(70031)
  target.delete("__TARGET__")
  delay(60*60*8)
  restart_quest()
 end
end
end

 

Wgrać się wgrywa ale nie działa teraz w grze :)

Opublikowano

@OrientalWarrior ale po kliknięciu jakiego itemu chcesz ??

 

ok masz zamiast 80009 wpisz id itemu po którego kliknięciu ma się wykonać quest

 

 

quest yangi begin
   state start begin
       when 80009.use begin
           say_title("Wymien")
           say( "Co chcesz wymienic yang na barylke" )
           say( "czy barylke na yang" )
           local s = select ( "420kk za barylke" , "barylke na 420kk" )
               if s == 1 then
                   pc.change_money(-420000000)
                   pc.give_item2(80008)
               elseif s == 2 then
                   pc.remove_item(80008,1)
                   pc.change_money(420000000)
               end
       end
   end
end

 

Opublikowano

@OrientalWarrior ale po kliknięciu jakiego itemu chcesz ??

 

chce zeby u npc o id 30008 czyli hisoryk [u mnie]

były 2 opcja

 

Wymien yang za bryłke o wartosci 420kk

i bryłke za yang 420kk

reflinki

Opublikowano

@OrientalWarrior już poprawiłem

 

quest yangi begin
   state start begin
    when 30008.chat."Chcesz otrzymać nagrodę ??" begin
	    say_title("Wymien")
	    say( "Co chcesz wymienic yang na barylke" )
	    say( "czy barylke na yang" )
	    local s = select ( "420kk za barylke" , "barylke na 420kk" )
		    if s == 1 then
			    pc.change_money(-420000000)
			    pc.give_item2(80008)
		    elseif s == 2 then
			    pc.remove_item(80008,1)
			    pc.change_money(420000000)
		    end
    end
   end
end

Opublikowano

hmm kto poprawi tego questa ma full lajk

quest icerun begin

state start begin

when 9010.chat."Wchodzisz w Atlantyde" with pc.get_map_index() == 113 begin

say_title("Straznik od atlantydy")

say("Musisz byc bardzo odwazny skoro podejmujesz sie tego zadania")

say("")

say_title("Czy masz dosc sily na walke ?")

say("")

say("Czy chcesz wejsc do Atlantydy pokrytej lodem")

say("")

 

local s = select("Tak jestem gotowy!", "Nie nie jestem na to gotowy.")

if s == 1 then

--if party.get_near_count() >=6 then

--game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)

d.new_jump_all(15, 5106 , 4089)

d.regen_file("data/dungeon/icerun_regen.txt")

d.notice("Nie proszone odwiedziny !!")

d.notice("Wynos sie z mojej krainy !")

d.notice("....")

--else

-- say_title("Straznik od atlantydy")

-- say("Aby wejsc do Lodowej Atlantydy musisz mieć,")

-- say("6 osoby sklad.")

-- say("")

-- say("Nie masz wystarczajacej grupy "..party.get_near_count()+1.." ludzi.")

-- say("Abym mogl was wpuscic.")

-- return

--end

else

return

end

end

when 21552.chat."Wstęp tylko dla GM xD" with pc.get_map_index() == 207 and pc.is_gm() begin

say_title("Jako GM mozesz wejsc bez 6 osobowego party")

say_title("mozesz wejsc w lodowa atlantyde")

say("Jak widac masz dosc sily na walke w pojedynke,")

say("Chcesz wejsc?.")

say("")

 

local s = select("Aber klar!", "Nein, lieber nicht.")

if s == 1 then

d.new_jump_all(15, 5106 , 4089)

d.regen_file("data/dungeon/icerun_regen.txt")

d.notice("Nieproszone odwiedziny!!")

d.notice("JUZ CIE TU NIE MA !")

else

return

end

end

when 21552.chat."Opuszczacie Kraine" with pc.get_map_index() == 207 begin

say_title("Straznik Atlantydy:")

say("Chcecie Opuscic lodowa Atlantyde")

say("")

 

 

local s = select("Tak!", "Nie!")

if s == 1 then

local empire = pc.get_empire()

if empire == 1 then

pc.warp(474300,954800)

elseif empire == 2 then

pc.warp(63800,166400)

elseif empire == 3 then

pc.warp(959900,269200)

end

else

return

end

end

--when logout begin

-- if pc.get_map_index() == 207 then

-- game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)

-- end

--end

when login begin

--if pc.get_map_index() == 207 then

--game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")+1)

--end

if pc.get_map_index() >= 150000 and pc.get_map_index() < 2090000 then

if pc.get_empire () == 1 then

pc.set_warp_location(1, 4693,9642)

end

if pc.get_empire () == 2 then

pc.set_warp_location(21, 557,1579)

end

if pc.get_empire () == 3 then

pc.set_warp_location(41, 9696,2784)

end

end

end

when 21578.kill with pc.get_map_index()>= 150000 and pc.get_map_index() < 2090000 begin

timer("erster_metin", 6)

d.notice("NIEEEEEEEE! MOJ KAMYRDOL !")

d.notice("Przeklinam was!")

d.notice("Wasz koniec jest bliski")

d.notice("moi ludzie sie wami zajma")

end

when erster_metin.timer begin

d.jump_all(5380 , 4122)

d.regen_file("data/dungeon/icerun1_regen.txt")

d.setf("keule", 0)

d.set_warp_at_eliminate(4, d.get_map_index(), (5000+432), (4000+122), "data/dungeon/icerun2_regen.txt")

--pc.give_item2(30003)

end

when 21581.chat."Skrut GM BOSS" with pc.get_map_index() >= 150000 and pc.get_map_index() < 2090000 and pc.is_gm() begin

say("Przechodzisz do may z bosem")

wait()

npc.purge()

d.setf("statue", 5)

timer("ice_jump", 6)

end

when 21581.chat."Wolna Droga ?" with pc.get_map_index() >= 150000 and pc.get_map_index() < 2090000 begin

say("...")

wait()

d.notice("Grantelbart:")

d.notice(".....")

d.notice("Ta droga jest lodowata")

d.notice(".....")

d.notice("..NIE WIEM ...")

d.notice(".....")

d.notice("Neralex:")

d.notice("Co zgubiliscie tutaj.")

d.notice("Natychmiast uciekajcie!!")

npc.purge()

d.kill_all()

timer("erster_spruch", 10)

end

when erster_spruch.timer begin

--d.jump_all(5000+484, 4000+451)

d.regen_file("data/dungeon/icerun_small_boss.txt")

--d.exit_all()

end

when 2604.kill begin

d.notice("Neralex:")

d.notice("1")

d.notice("2")

d.notice("3")

d.notice("4")

d.regen_file("data/dungeon/icerun_statue.txt")

timer("miniboss", 10)

end

when miniboss.timer begin

d.setf("statue", 0)

d.setf("keulenmann", 0)

d.setf("keule", 1)

d.jump_all(5000+705, 4000+519)

end

when 21579.take with item.vnum == 50084 begin

npc.purge()

item.remove()

d.setf("keulenmann", 0)

d.setf("statue", d.getf("statue")+1)

timer("ice_jump", 6)

if d.getf("statue")==5 then

d.notice("Neralex:")

d.notice("Widze was jezeli chcecie wyjsc z tad zywi ")

d.notice("radze wam zawrucic do domu !")

d.setf("keule", 0)

end

end

when 2627.kill with d.getf("keule")==1 begin

d.setf("keulenmann", d.getf("keulenmann")+1)

if d.getf("keulenmann")== 9 then

game.drop_item("50084")

end

end

when ice_jump.timer begin

local positionsss = {

{754, 494},

{705, 459},

{754, 424},

{705, 389},

{144, 449},

}

local fisssh = d.getf("statue")

d.jump_all(5000+positionsss[fisssh][1], 4000+positionsss[fisssh][2])

if fisssh==5 then

timer("ice_boss1", 20)

d.spawn_mob(2636, 124, 446)

d.spawn_mob(2635, 124, 450)

d.notice("Neralex:")

d.notice("Ahhh, jestescie no to zaczynamy :>")

else

d.regen_file("data/dungeon/icerun4_"..fisssh.."_regen.txt")

end

--d.jump_all(5000+122, 4000+89)

--d.exit_all()

end

when ice_boss1.timer begin

d.notice("Los Valons!! Zabijcie Introzow !!!! ")

for i = 1, 132 do

local firts= number(138, 231)

local secodn= number(413, 483)

d.spawn_mob(2633, firts, secodn)

end

d.setf("schild", 1)

d.setf("schildmann" , 0)

end

when 2633.kill with d.getf("schild")==1 begin

d.setf("schildmann", d.getf("schildmann")+1)

d.notice("Noch "..120-d.getf("schildmann").." Wächter besiegen.")

if d.getf("schildmann")== 120 then

d.notice("Neralex:")

d.notice("Ihr denkt wohl, das war alles!!")

d.notice("Los Kristallfelsen!! Sperrt sie ein!!! ")

timer("ice_boss2", 15)

d.setf("schild", 0)

d.setf("kristallmann", 0)

end

end

when ice_boss2.timer begin

for i = 1, 220 do

local firts= number(138, 231)

local secodn= number(413, 483)

d.spawn_mob(21580, firts, secodn)

end

d.setf("kristall", 1)

end

when 21580.kill with d.getf("kristall")==1 begin

d.setf("kristallmann", d.getf("kristallmann")+1)

d.notice("Noch "..200-d.getf("kristallmann").." Kristalle zerschlagen.")

if d.getf("kristallmann")== 200 then

d.notice("Neralex:")

d.notice("WAS!? Ihr habt noch nicht genug?")

d.notice("Los Frau!! Geh die Kinder verprügeln!!!")

d.notice("Nerala:")

d.notice("-.-'")

timer("ice_boss3", 15)

d.setf("kristall", 0)

end

end

when ice_boss3.timer begin

d.purge()

d.spawn_mob(2493, 144, 449)

d.setf("Nerala", 1)

end

when 2493.kill with d.getf("Nerala")==1 begin

d.notice("Neralex:")

d.notice("Wozu hat man heutzutage noch eine Frau...")

d.notice("Sie sind zu nichts Nutze!!!")

d.notice("Jetzt komme ich!!")

timer("ice_boss4", 15)

d.setf("Nerala", 0)

end

end

end

Szukam Ekipy / Gildii na s9 agronas czerwoni lv +35

Opublikowano

@OrientalWarrior już poprawiłem

 

quest yangi begin
state start begin
	when 30008.chat."Chcesz otrzymać nagrodę ??" begin
		say_title("Wymien")
		say( "Co chcesz wymienic yang na barylke" )
		say( "czy barylke na yang" )
		local s = select ( "420kk za barylke" , "barylke na 420kk" )
			if s == 1 then
				pc.change_money(-420000000)
				pc.give_item2(80008)
			elseif s == 2 then
				pc.remove_item(80008,1)
				pc.change_money(420000000)
			end
	end
end
end

 

Ten quest jest zbugowany...

jak nawet nie mam bryłki i daje wymien brylke za yang to dostaje yang -.-

możesz naprawić to??

reflinki

Opublikowano

rower poprawisz to ?:

 

 

quest icerun begin

state start begin

when 9010.chat."Atlantis betreten" with pc.get_map_index() == 113 begin

say_title("Wächter von Atlantis:")

say("Ihr müsst ganz schön mutig sein")

say("hierher zu kommen.")

say("")

say_title("Ihr seid stark genug??")

say("")

say("Wollt ihr das vereiste Atlantis betreten?.")

say("")

 

local s = select("Aber klar!", "Nein, lieber nicht.")

if s == 1 then

--if party.get_near_count() >=5 then

--game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)

d.new_jump_all(208, 5106 , 4089)

d.regen_file("data/dungeon/icerun_regen.txt")

d.notice("Ungebetener Besuch!!")

d.notice("Verschwindet aus meinem Atlantis!")

d.notice("Wehe ihr berührt meinen Metin!")

--else

-- say_title("Wächter von Atlantis:")

-- say("Ihr müsst mit mindestens 6 Leuten")

-- say("in der Gruppe sein.")

-- say("")

-- say("Ihr seid aber nur "..party.get_near_count()+1.." Leute.")

-- say("Ich kann euch nicht reinlassen.")

-- return

--end

else

return

end

end

when 21552.chat."GM-Zutritt" with pc.get_map_index() == 207 and pc.is_gm() begin

say_title("Du kannst auch ohne Gruppe")

say_title("das vereiste Atlantis betreten.")

say("Wie ich sehe bist du stark genug =)")

say("Wollt ihr das vereiste Atlantis betreten?.")

say("")

 

local s = select("Aber klar!", "Nein, lieber nicht.")

if s == 1 then

d.new_jump_all(208, 5106 , 4089)

d.regen_file("data/dungeon/icerun_regen.txt")

d.notice("Ungebetener Besuch!!")

d.notice("Verschwindet aus meinem Atlantis!")

else

return

end

end

when 21552.chat."Heilige Halle verlassen" with pc.get_map_index() == 207 begin

say_title("Wächter von Atlantis:")

say("Ihr wollt die Heilige Halle verlassen?")

say("")

 

 

local s = select("Ja!", "Nein.")

if s == 1 then

local empire = pc.get_empire()

if empire == 1 then

pc.warp(474300,954800)

elseif empire == 2 then

pc.warp(63800,166400)

elseif empire == 3 then

pc.warp(959900,269200)

end

else

return

end

end

--when logout begin

-- if pc.get_map_index() == 207 then

-- game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")-1)

-- end

--end

when login begin

--if pc.get_map_index() == 207 then

--game.set_event_flag("besuchinheiligerhalle", game.get_event_flag("besuchinheiligerhalle")+1)

--end

if pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 then

pc.set_warp_location(204, 37743,37743)

end

end

when 21578.kill with pc.get_map_index()>= 2080000 and pc.get_map_index() < 2090000 begin

timer("erster_metin", 6)

d.notice("NEEEIIIN!!Mein Stein..!")

d.notice("Ich verfluche euch!")

d.notice("Los tapfere Krieger, erledigt die Eindringlinge!!!")

d.notice("Ich hoffe ihr tötet nicht alle meine tapferen Krieger!")

end

when erster_metin.timer begin

d.jump_all(5380 , 4122)

d.regen_file("data/dungeon/icerun1_regen.txt")

d.setf("keule", 0)

d.set_warp_at_eliminate(4, d.get_map_index(), (5000+432), (4000+122), "data/dungeon/icerun2_regen.txt")

--pc.give_item2(30003)

end

when 21581.chat."GM-Abkürzung BOSS" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 and pc.is_gm() begin

say("Du kommst zum Bossraum")

wait()

npc.purge()

d.setf("statue", 5)

timer("ice_jump", 6)

end

when 21581.chat."Wolang des Weges?" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 begin

say("...")

wait()

d.notice("Grantelbart:")

d.notice(".....")

d.notice("..Dieser Weg ist kalt..")

d.notice(".....")

d.notice("..Nehmt euch vor Neralex in Acht!....")

d.notice(".....")

d.notice("Neralex:")

d.notice("Was habt ihr hier verloren!")

d.notice("Sucht das Weite und zwar sofort!!")

npc.purge()

d.kill_all()

timer("erster_spruch", 10)

end

when erster_spruch.timer begin

d.jump_all(5000+685, 4000+82)

d.setf("insel1", 0)

d.setf("insel2", 0)

d.setf("insel3", 0)

d.setf("insel4", 0)

d.setf("alleinseln", 0)

d.regen_file("data/dungeon/icerun3_1_regen.txt")

d.notice("Besuche jede der 4 Inseln einmal. Beim wiederholten")

d.notice("erreichen einer Insel erscheinen Kämpfer die")

d.notice("dann getötet werden müssen, bevor man zur nächsten")

d.notice("Insel kommt.")

end

when 20350.chat."GM-Abkürzung Mini-Bossraum" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 and pc.is_gm() begin

say("Du kommst zum Mini-Bossraum")

wait()

npc.purge()

timer("inseln_fertigg", 10)

end

when 20350.chat."Die 4 Inseln" with pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 begin

npc.lock()

say_title("Nerolfrös:")

say("Ich kann euch auf eine andere")

say("Insel befördern. Bitte wähle eine aus:")

local s=select ("1","2","3","4","Abbruch")

if s<=4 then

local positions = {

{685, 82},

{590, 82},

{590, 177},

{685, 177},

}

local fish = number(1,4)

if d.getf("insel"..fish) < 1 then

d.setf("insel"..fish, 1)

d.setf("alleinseln", d.getf("alleinseln")+1)

d.kill_all()

if d.getf("alleinseln")==4 then

d.notice("Nerolfrös:")

d.notice("Dies war die letzte Insel.")

d.notice("Nun kann ich euch nicht mehr helfen.")

d.notice("Ihr müsst den Weg nun alleine finden.")

timer("inseln_fertig", 10)

return

end

d.notice("Nerolfrös:")

d.notice("Ihr wart bisher auf "..d.getf("alleinseln").." Inseln.")

d.notice("Ihr müsst auf allen vier einmal gewesen sein.")

d.regen_file("data/dungeon/icerun3_"..fish.."_regen.txt")

else

d.purge()

d.regen_file("data/dungeon/icerun3_"..fish.."more_regen.txt")

d.set_warp_at_eliminate(4, d.get_map_index(), 5000 + positions[fish][1], 4000 + positions[fish][2], "data/dungeon/icerun3_"..fish.."_regen.txt")

end

npc.unlock()

d.jump_all(5000+positions[fish][1], 4000+positions[fish][2])

else

npc.unlock()

return

end

end

when 101.kill with pc.is_gm() begin

chat("Dein Mapindex: "..pc.get_map_index())

end

when 30003.use with pc.in_dungeon begin

pc.remove_item(30003)

local empire = pc.get_empire()

if empire == 1 then

pc.warp(474300,954800)

elseif empire == 2 then

pc.warp(63800,166400)

elseif empire == 3 then

pc.warp(959900,269200)

end

end

when inseln_fertig.timer begin

timer("inseln_fertigg", 10)

d.notice("Neralex:")

d.notice("So Freunde!! Jetzt ist aber Schluß!")

d.notice("Ich will hier KEINEN mehr sehen!!!")

end

when inseln_fertigg.timer begin

local positionss = {

{473, 441},

{483, 451},

{473, 461},

{464, 451},

}

local fissh = number(1,4)

d.jump_all(5000+positionss[fissh][1], 4000+positionss[fissh][2])

d.regen_file("data/dungeon/icerun_small_boss.txt")

--d.jump_all(5000+122, 4000+89)

--d.exit_all()

end

when 2623.kill begin

d.notice("Neralex:")

d.notice("Komm geht nach Hause!!")

d.notice("Ihr seid ja absolut lächerlich!!!")

d.notice("Ihr schafft es nicht die Volvins zu töten um")

d.notice("ein Eismedallion auf die Säulen zu ziehen...")

d.regen_file("data/dungeon/icerun_statue.txt")

timer("miniboss", 10)

end

when miniboss.timer begin

d.setf("statue", 0)

d.setf("keulenmann", 0)

d.setf("keule", 1)

d.jump_all(5000+705, 4000+519)

end

when 21579.take with item.vnum == 90033 begin

npc.purge()

item.remove()

d.setf("keulenmann", 0)

d.setf("statue", d.getf("statue")+1)

timer("ice_jump", 6)

if d.getf("statue")==5 then

d.notice("Neralex:")

d.notice("Ihr denkt wohl, ich sehe euch nicht!!")

d.notice("Seid jetzt ruhig und geht nach Hause!!!")

d.setf("keule", 0)

end

end

when 2627.kill with d.getf("keule")==1 begin

d.setf("keulenmann", d.getf("keulenmann")+1)

if d.getf("keulenmann")== 9 then

game.drop_item("90033")

end

end

when ice_jump.timer begin

local positionsss = {

{754, 494},

{705, 459},

{754, 424},

{705, 389},

{144, 449},

}

local fisssh = d.getf("statue")

d.jump_all(5000+positionsss[fisssh][1], 4000+positionsss[fisssh][2])

if fisssh==5 then

timer("ice_boss1", 20)

d.spawn_mob(2636, 124, 446)

d.spawn_mob(2635, 124, 450)

d.notice("Neralex:")

d.notice("Ah, da seid ihr ja. Ich freue mich auf die Show!")

else

d.regen_file("data/dungeon/icerun4_"..fisssh.."_regen.txt")

end

--d.jump_all(5000+122, 4000+89)

--d.exit_all()

end

when ice_boss1.timer begin

d.notice("Los Valons!! Ergreift die Eindringlinge!!! ")

for i = 1, 132 do

local firts= number(138, 231)

local secodn= number(413, 483)

d.spawn_mob(2633, firts, secodn)

end

d.setf("schild", 1)

d.setf("schildmann" , 0)

end

when 2633.kill with d.getf("schild")==1 begin

d.setf("schildmann", d.getf("schildmann")+1)

d.notice("Noch "..120-d.getf("schildmann").." Wächter besiegen.")

if d.getf("schildmann")== 120 then

d.notice("Neralex:")

d.notice("Ihr denkt wohl, das war alles!!")

d.notice("Los Kristallfelsen!! Sperrt sie ein!!! ")

timer("ice_boss2", 15)

d.setf("schild", 0)

d.setf("kristallmann", 0)

end

end

when ice_boss2.timer begin

for i = 1, 220 do

local firts= number(138, 231)

local secodn= number(413, 483)

d.spawn_mob(21580, firts, secodn)

end

d.setf("kristall", 1)

end

when 21580.kill with d.getf("kristall")==1 begin

d.setf("kristallmann", d.getf("kristallmann")+1)

d.notice("Noch "..200-d.getf("kristallmann").." Kristalle zerschlagen.")

if d.getf("kristallmann")== 200 then

d.notice("Neralex:")

d.notice("WAS!? Ihr habt noch nicht genug?")

d.notice("Los Frau!! Geh die Kinder verprügeln!!!")

d.notice("Nerala:")

d.notice(" -.-'")

timer("ice_boss3", 15)

d.setf("kristall", 0)

end

end

when ice_boss3.timer begin

d.purge()

d.spawn_mob(2624, 144, 449)

d.spawn_mob(2636, 124, 450)

d.setf("Nerala", 1)

end

when 2624.kill with d.getf("Nerala")==1 begin

d.notice("Neralex:")

d.notice("Wozu hat man heutzutage noch eine Frau...")

d.notice("Sie sind zu nichts Nutze!!!")

d.notice("Jetzt komme ich!!")

timer("ice_boss4", 15)

d.setf("Nerala", 0)

end

when ice_boss4.timer begin

d.purge()

d.spawn_mob(2625, 144, 449)

d.setf("Neralex", 1)

end

when 2625.kill with d.getf("Neralex")==1 begin

d.notice("Neralex:")

d.notice("Ich bin noch längst nicht besiegt...")

d.notice("Spürt meine Drachenmacht!!")

timer("ice_boss5", 5)

d.setf("Neralex", 0)

end

when ice_boss5.timer begin

d.purge()

d.spawn_mob(2620, 144, 449)

d.setf("Neralexdragon", 1)

end

when 2620.kill with d.getf("Neralexdragon")==1 begin

for i= 1, 100 do

game.drop_item("1")

end

game.drop_item("90032")

d.notice("Neralex:")

d.notice("OK...Ihr seid würdig.")

notice_all("".. pc.get_name() .." + Team haben den Ice-Run gemeistert!")

--notice_all("Sie haben Neralex besiegt und seine Truhe bekommen.")

d.setf("Neralex", 0)

d.spawn_mob(21601, 154, 449)

server_timer('iceruns_boss', 60, pc.get_map_index())

server_timer('iceruns_boss2', 120, pc.get_map_index())

server_timer('iceruns_boss3', 180, pc.get_map_index())

server_timer('iceruns_boss4', 240, pc.get_map_index())

server_timer('iceruns_boss5', 300, pc.get_map_index())

end

when 21601.chat."Belohnung abholen" with pc.in_dungeon() and pc.get_map_index() >= 2080000 and pc.get_map_index() < 2090000 begin

end

when iceruns_boss.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Noch vier Minuten bis zum Verlassen!")

end

end

when iceruns_boss2.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Noch drei Minuten bis zum Verlassen!")

end

end

when iceruns_boss3.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Noch zwei Minuten bis zum Verlassen!")

end

end

when iceruns_boss4.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Noch eine Minute bis zum Verlassen!")

end

end

when iceruns_boss5.server_timer begin

if d.select(get_server_timer_arg()) then

d.exit_all()

end

end

end

end

Szukam Ekipy / Gildii na s9 agronas czerwoni lv +35

Opublikowano

@OrientalWarrior już zrobiłem

 

 

quest yangi begin
state start begin
	when 30008.chat."Chcesz otrzymać nagrodę ??" begin
		say_title("Wymien")
		say( "Co chcesz wymienic yang na barylke" )
		say( "czy barylke na yang" )
		local s = select ( "420kk za barylke" , "barylke na 420kk" )
			if s == 1 then
				if pc.get_money() >= 420000000 then
					pc.change_money(-420000000)
					pc.give_item2(80008)
				else
					say_title("Niestety")
					say("Nie masz odpowiedniej liczby yang")
					say("zeby dostac brylke za yangi")
				end
			elseif s == 2 then
				if pc.countitem(27987) <= 1 then
					pc.remove_item(80008,1)
					pc.change_money(420000000)
				else
					say_title("Niestety")
					say("Nie masz brylek zlota")
					say("przyjdz jak bedziesz mial")
				end
			end
	end
end
end

 

 

@ZbieramPlusiki daj to w spoiler bo za dużo miejsca zajmuje

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...