Jump to content

Npc Habilidades a Perfect


Shiindrex
 Share

Recommended Posts

Hola amigos de Mt2Zone!

Les traigo una quest echa por mi, que te da las habilidades perfect con tan solo seleccionar tu raza!

quest habilidad_p begin
state start begin
when 20094.chat."Habilidades a P" begin
say_title("Habilidades a Perfect")
say("Asi que quieres tener tus")
say("habilidades a perfect? Te")
say("las dare sin ningun precio.")
say_title("Dime, que raza eres?")
local skillp = select ("Guerrero","Ninja","Sura","Shaman","Cambie de idea..")
if skillp == 1 then
pc.set_skill_level (1,59)
pc.set_skill_level (2,59)
pc.set_skill_level (3,59)
pc.set_skill_level (4,59)
pc.set_skill_level (5,59)
pc.set_skill_level (16,59)
pc.set_skill_level (17,59)
pc.set_skill_level (18,59)
pc.set_skill_level (19,59)
pc.set_skill_level (20,59)

elseif skillp == 2 then
pc.set_skill_level (31,59)
pc.set_skill_level (32,59)
pc.set_skill_level (33,59)
pc.set_skill_level (34,59)
pc.set_skill_level (35,59)
pc.set_skill_level (46,59)
pc.set_skill_level (47,59)
pc.set_skill_level (48,59)
pc.set_skill_level (49,59)
pc.set_skill_level (50,59)
elseif skillp == 3 then
pc.set_skill_level (61,59)
pc.set_skill_level (62,59)
pc.set_skill_level (63,59)
pc.set_skill_level (64,59)
pc.set_skill_level (65,59)
pc.set_skill_level (66,59)
pc.set_skill_level (76,59)
pc.set_skill_level (77,59)
pc.set_skill_level (78,59)
pc.set_skill_level (79,59)
pc.set_skill_level (80,59)
pc.set_skill_level (81,59)
elseif skillp == 4 then
pc.set_skill_level (91,59)
pc.set_skill_level (92,59)
pc.set_skill_level (93,59)
pc.set_skill_level (94,59)
pc.set_skill_level (95,59)
pc.set_skill_level (96,59)
pc.set_skill_level (106,59)
pc.set_skill_level (107,59)
pc.set_skill_level (108,59)
pc.set_skill_level (109,59)
pc.set_skill_level (110,59)
pc.set_skill_level (111,59)
elseif skillp == 5 then
return
end
end
end
end

Ya esta arreglada.

 

Para implementarla siguen esta guía:

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

 

Saludos!

Link to comment
Share on other sites

Para que no tengan que seleccionar su raza seria asi

quest habilidad_p begin
state start begin
when 20094.chat."Habilidades a P" begin
say_title("Habilidades a Perfect")
say("Asi que quieres tener tus")
say("habilidades a perfect? Te")
say("las dare sin ningun precio.")
say_title("Quieres las habilidades Perfectas?")
local skillp = select ("Si", "Cambie de idea..")
if skillp == 2 then
return
elseif skillp == 1 then
if pc . job == 0 then
pc.set_skill_level (1,59)
pc.set_skill_level (2,59)
pc.set_skill_level (3,59)
pc.set_skill_level (4,59)
pc.set_skill_level (5,59)
pc.set_skill_level (16,59)
pc.set_skill_level (17,59)
pc.set_skill_level (18,59)
pc.set_skill_level (19,59)
pc.set_skill_level (20,59)
elseif pc . job == 1 then -- ninja
pc.set_skill_level (31,59)
pc.set_skill_level (32,59)
pc.set_skill_level (33,59)
pc.set_skill_level (34,59)
pc.set_skill_level (35,59)
pc.set_skill_level (46,59)
pc.set_skill_level (47,59)
pc.set_skill_level (48,59)
pc.set_skill_level (49,59)
pc.set_skill_level (50,59)
elseif pc . job == 2 then -- sura
pc.set_skill_level (61,59)
pc.set_skill_level (62,59)
pc.set_skill_level (63,59)
pc.set_skill_level (64,59)
pc.set_skill_level (65,59)
pc.set_skill_level (66,59)
pc.set_skill_level (76,59)
pc.set_skill_level (77,59)
pc.set_skill_level (78,59)
pc.set_skill_level (79,59)
pc.set_skill_level (80,59)
pc.set_skill_level (81,59)
elseif pc . job == 3 then -- chaman
pc.set_skill_level (91,59)
pc.set_skill_level (92,59)
pc.set_skill_level (93,59)
pc.set_skill_level (94,59)
pc.set_skill_level (95,59)
pc.set_skill_level (96,59)
pc.set_skill_level (106,59)
pc.set_skill_level (107,59)
pc.set_skill_level (108,59)
pc.set_skill_level (109,59)
pc.set_skill_level (110,59)
pc.set_skill_level (111,59)
end
end
end
end
Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...