Tipologie server(PvM / PvP): -test-
*Resursă folosită: -
*ServerFiles utilizat: nu mai stiu, il am de mult, o sa mai caut
*Syserr: nu functioneaza
Poză: -
*Detalii suplimentare: Salutare, am luat questul de la piatra curcubeu si am incercat sa-l implementez pe o carte (adaugata de mine pe server si client, cu un nou .tga), dar nu functioneaza, pur si simplu dau click draeapta dupa reboot si nu face nimic.
Quest
Cod: Selectaţi tot
quest Cartea_competentei_a_P begin
state start begin
-- DEFAULT --
when 27202.use with pc.get_skill_group() == 0 begin
say("(RO) Nu ai nicio competenta aleaasa!")
say("(EN) You have no selected competency!")
say("")
end
-- WARRIOR --
when 27202.use with pc.get_job() == 0 and pc.get_skill_group() == 1 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Incizia Tripa","Vartejul Sabiei","Iures","Aura Sabiei","Izbitura","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(1) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(1, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(2) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(2, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(3) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(3, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(4) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(4, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(5) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(5, 59)
pc.remove_item(27202, 1)
end
end
end
when 27202.use with pc.get_job() == 0 and pc.get_skill_group() == 2 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Atacul Spiritului","Zdrobire","Zdruncinare","Corp Rezistent","Atacul Sabiei","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(16) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(16, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(17) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(17, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(18) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(18, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(19) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(19, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(20) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(20, 59)
pc.remove_item(27202, 1)
end
end
end
-- ASSASSIN --
when 27202.use with pc.get_job() == 1 and pc.get_skill_group() == 1 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Ambuscada","Atac Mortal","Rulant","Camuflaj","Norul","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(31) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(31, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(32) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(32, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(33) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(33, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(34) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(34, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(35) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(35, 59)
pc.remove_item(27202, 1)
end
end
end
when 27202.use with pc.get_job() == 1 and pc.get_skill_group() == 2 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Foc repetat","Ploaie de Sageti","Sageata de Foc","Mers de Fulg","Sageata Otravita","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(46) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(46, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(47) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(47, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(48) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(48, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(49) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(49, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(50) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(50, 59)
pc.remove_item(27202, 1)
end
end
end
-- SURA --
when 27202.use with pc.get_job() == 2 and pc.get_skill_group() == 1 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Lovitura Degetului","Vartejul Dragonului","Tais Vrajit","Teama","Armura Vrajita","Risipirea Magiei","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(61) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(61, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(62) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(62, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(63) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(63, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(64) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(64, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(65) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(65, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 6 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(66) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(66, 59)
pc.remove_item(27202, 1)
end
end
end
when 27202.use with pc.get_job() == 2 and pc.get_skill_group() == 2 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Lovitura Intunecata","Lovitura Focului","Spiritul Flacarii","Protectia Intunecata","Lovitura Spiritului","Sfera Intunecata","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(76) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(76, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(1) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(77, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(78) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(78, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(79) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(79, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(80) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(80, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 6 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(81) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(81, 59)
pc.remove_item(27202, 1)
end
end
end
-- SHAMAN --
when 27202.use with pc.get_job() == 3 and pc.get_skill_group() == 1 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Talismant Zburator","Aruncarea Dragonului","Ragetul Dragonului","Binecuvantare","Reflexie","Forta Dragonului","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(91) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(91, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(92) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(92, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(93) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(93, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(94) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(94, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(95) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(95, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 6 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(96) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(96, 59)
pc.remove_item(27202, 1)
end
end
end
when 27202.use with pc.get_job() == 3 and pc.get_skill_group() == 2 begin
say_title("Cartea competentei P")
say_alb("")
say_alb("(RO) Selecteaza o competenta...")
say_alb("(EN) Choose a competence...")
local mandi = select("Aruncarea Fulgerului","Chemarea Fulgerului","Gheara Fulgerului","Leac","Accelerare","Atac Fortat","Inchide")
if mandi == 1 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(106) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(106, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 2 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(107) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(107, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 3 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(108) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(108, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 4 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(109) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(109, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 5 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(110) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(110, 59)
pc.remove_item(27202, 1)
end
end
if mandi == 6 and pc.count_item(27202) >= 1 then
if pc.get_skill_level(111) >= 40 then
syschat("(RO) Ai deja acesta competenta Perfecta!")
syschat("(EN) You have already this competence perfectly!")
else
pc.set_skill_level(111, 59)
pc.remove_item(27202, 1)
end
end
end
end
end
Ma puteti ajuta, cum sa repar asta, iar cand dai click dreapta pe ea sa apara questul si sa functioneze? Multumesc!



daca te-am ajutat
