Ninja 6 Skills!

05/11/2015 22:38 mortovivo13#1
Hello.
I have got this problem, I use the item to change my skills to P.
But with ninja 6 skills , is not changing to P.
It works for everyone except ninja 6 skill!
How Can i fix it?


I am using this Quest!
Code:
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,50) end)
		item.remove()
		pc.remove_item(50512)
		syschat("As Tuas habilidade estão agora no nível máximo.")
		end
	end
end
05/11/2015 23:04 Nick#2
Quote:
Originally Posted by mortovivo13 View Post
Hello.
I have got this problem, I use the item to change my skills to P.
But with ninja 6 skills , is not changing to P.
It works for everyone except ninja 6 skill!
How Can i fix it?


I am using this Quest!
Code:
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,50) end)
		item.remove()
		pc.remove_item(50512)
		syschat("As Tuas habilidade estão agora no nível máximo.")
		end
	end
end
Open the questlib.lua, search for
Code:
special.active_skill_list = {
and enlarge the tables below. The skill values are probably missing.

Greetings
05/12/2015 16:37 mortovivo13#3
#It is solved

Skill missing on questlib!
Thank You!
05/12/2015 17:37 Nick#4
Quote:
Originally Posted by mortovivo13 View Post

Do you know the missing skills?
Code:
special.active_skill_list = {
    {
        { 1, 2, 3, 4, 5, 6},
        { 16, 17, 18, 19, 20, 21},
    },
    {
        {31, 32, 33, 34, 35, 36},
        {46, 47, 48, 49, 50, 51},
    },
    {
        {61, 62, 63, 64, 65, 66},
        {76, 77, 78, 79, 80, 81},
    },
    {
        {91, 92, 93, 94, 95, 96},
        {106, 107, 108, 109, 110, 111},
    },
    {
        {170, 171, 172, 173, 174, 175},
    },
}
This should be correct.

€; Nevermind, i have just noticed you have already figured it out by yourself. (closerequested)

Greetings