[Cerere Quest] Piatra Curcubeu

Închis
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Salut, imi modificati si mie un quest piatra curcubeu, la war nu merge sa fac P .. e questul pentru 1 singur P si piatra va disparea...
La war daca ai lv 30 sau 105 a incercat si cu m1 si fara tot nu-i merge.. daca puteti face la toate rasele sa merga sa faca fara nicio competenta si de la lv 5 sa poata fac P dau +1 :x
quest item_skill_p begin
state start begin

-- DEFAULT --
when 50512.use with pc.get_skill_group() == 0 begin
say("Nu ai nicio competenta aleaasa!")
say("")
end


-- WARRIOR --
when 50512.use with pc.get_job() == 0 and pc.get_skill_group() == 1 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Incizia Tripa","Vartejul Sabiei","Iures","Aura Sabiei","Izbitura","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(1) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(1, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(2) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(2, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(3) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(3, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(4) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(4, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(5) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(5, 59)
pc.remove_item(50512, 1)
end
end
end
when 50512.use with pc.get_job() == 0 and pc.get_skill_group() == 2 begin
say_title("Alege o competenta:")
say("")

local mandi = select("Atacul Spiritului","Zdrobire","Zdruncinare","Corp Rezistent","Atacul Sabiei","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(16) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(16, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(17) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(17, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(18) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(18, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(19) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(19, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(20) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(20, 59)
pc.remove_item(50512, 1)
end
end
end


-- ASSASSIN --
when 50512.use with pc.get_job() == 1 and pc.get_skill_group() == 1 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Ambuscada","Atac Mortal","Rulant","Camuflaj","Norul","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(31) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(31, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(32) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(32, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(33) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(33, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(34) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(34, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(35) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(35, 59)
pc.remove_item(50512, 1)
end
end
end
when 50512.use with pc.get_job() == 1 and pc.get_skill_group() == 2 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Foc repetat","Ploaie de Sageti","Sageata de Foc","Mers de Fulg","Sageata Otravita","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(46) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(46, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(47) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(47, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(48) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(48, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(49) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(49, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(50) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(50, 59)
pc.remove_item(50512, 1)
end
end
end


-- SURA --
when 50512.use with pc.get_job() == 2 and pc.get_skill_group() == 1 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Lovitura Degetului","Vartejul Dragonului","Tais Vrajit","Teama","Armura Vrajita","Risipirea Magiei","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(61) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(61, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(62) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(62, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(63) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(63, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(64) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(64, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(65) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(65, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 6 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(66) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(66, 59)
pc.remove_item(50512, 1)
end
end
end
when 50512.use with pc.get_job() == 2 and pc.get_skill_group() == 2 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Lovitura Intunecata","Lovitura Focului","Spiritul Flacarii","Protectia Intunecata","Lovitura Spiritului","Sfera Intunecata","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(76) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(76, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(1) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(77, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(78) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(78, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(79) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(79, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(80) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(80, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 6 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(81) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(81, 59)
pc.remove_item(50512, 1)
end
end
end


-- SHAMAN --
when 50512.use with pc.get_job() == 3 and pc.get_skill_group() == 1 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Talismant Zburator","Aruncarea Dragonului","Ragetul Dragonului","Binecuvantare","Reflexie","Forta Dragonului","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(91) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(91, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(92) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(92, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(93) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(93, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(94) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(94, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(95) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(95, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 6 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(96) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(96, 59)
pc.remove_item(50512, 1)
end
end
end
when 50512.use with pc.get_job() == 3 and pc.get_skill_group() == 2 begin
say_title("Alege o competenta:")
say("")
local mandi = select("Aruncarea Fulgerului","Chemarea Fulgerului","Gheara Fulgerului","Leac","Accelerare","Atac Fortat","Inchide")
if mandi == 1 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(106) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(106, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 2 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(107) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(107, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 3 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(108) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(108, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 4 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(109) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(109, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 5 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(110) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(110, 59)
pc.remove_item(50512, 1)
end
end
if mandi == 6 and pc.count_item(50512) >= 1 then
if pc.get_skill_level(111) >= 40 then
syschat("Ai deja acesta competenta Perfecta!")
else
pc.set_skill_level(111, 59)
pc.remove_item(50512, 1)
end
end
end
end
end
Avatar utilizator
[ASLAN]
Fost Moderator

Fost Moderator
Mesaje: 253
Membru din: 04 Mar 2017, 14:08
Regat: Jinno
Aprecieri: 51  
Mulţumiri: 8  
 Contact:
Medalii

Nume subiect schimbat.

[ Postat de pe Android ] Imagine
Imagine
Imagine
Afișează semnătura
Avatar utilizator
Braxy
Quest Creator

Quest Creator
Mesaje: 293
Membru din: 04 Mai 2016, 17:13
Regat: Jinno
Aprecieri: 7  
Mulţumiri: 228  
Medalii

quest perfect begin
	state start begin
		when 50512.use begin
			table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,59) end)
			syschat("Competentele dumneavoastra sunt Perfecte acum!")
			item.remove()
		end
	end
end
Iti face toate competentele P pe orice caracter este folosita.
Avatar utilizator
Marin
Membru Club

Membru Club
Mesaje: 627
Membru din: 28 Mar 2017, 18:40
Server: EpicalMetin2
Regat: Jinno
Aprecieri: 206  
Mulţumiri: 39  
Discord: Copiază ID
 Contact:
Medalii

Multumesc pt raspunsuri
Am rezolvat cu Luxen.
Rezolvat.
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Cerere rezolvata.Mutat in cereri rezolvate.
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Închis
Răspunsuri
0
Vizualizări
209
Răspunsuri
3
Vizualizări
348
Răspunsuri
2
Vizualizări
210
Răspunsuri
8
Vizualizări
1088

Înapoi la “Cereri Rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 11 vizitatori