Quest bezárás (i)

Indította Magnum, 2015-01-20, 09:24:37

Sziasztok.
Keresgetem questeket és egy ilyen skilles quest elnyerte a tetszésemet, csak egy bajom van vele hogy használat után nem tünik el a quest.
Ebben szeretném a segítségeteket kérni.
Itt a quest:
[spoiler]quest mskill begin
state start begin
when levelup with pc.get_level() >= 5 begin
set_state(information)
end
end
state information begin
when letter with pc.getqf("elfogad") == 0 begin
send_letter("M-SKILL!")
end
when button or info begin
say_title("Gratulálok "..pc.get_name().." megkaptad az m-es skilleket!")
if pc.get_job() == 0 then
pc.set_skill_level (1,20)
pc.set_skill_level (2,20)
pc.set_skill_level (3,20)
pc.set_skill_level (4,20)
pc.set_skill_level (5,20)
pc.set_skill_level (16,20)
pc.set_skill_level (17,20)
pc.set_skill_level (18,20)
pc.set_skill_level (19,20)
pc.set_skill_level (20,20)
pc.set_skill_level (21,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
if pc.get_job() == 1 then
pc.set_skill_level (31,20)
pc.set_skill_level (32,20)
pc.set_skill_level (33,20)
pc.set_skill_level (34,20)
pc.set_skill_level (35,20)
pc.set_skill_level (46,20)
pc.set_skill_level (47,20)
pc.set_skill_level (48,20)
pc.set_skill_level (49,20)
pc.set_skill_level (50,20)
pc.set_skill_level (51,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
pc.set_skill_level (140,20)
end
if pc.get_job() == 2 then
pc.set_skill_level (61,20)
pc.set_skill_level (62,20)
pc.set_skill_level (63,20)
pc.set_skill_level (64,20)
pc.set_skill_level (65,20)
pc.set_skill_level (66,20)
pc.set_skill_level (76,20)
pc.set_skill_level (77,20)
pc.set_skill_level (78,20)
pc.set_skill_level (79,20)
pc.set_skill_level (80,20)
pc.set_skill_level (81,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
if pc.get_job() == 3 then
pc.set_skill_level (91,20)
pc.set_skill_level (92,20)
pc.set_skill_level (93,20)
pc.set_skill_level (94,20)
pc.set_skill_level (95,20)
pc.set_skill_level (96,20)
pc.set_skill_level (106,20)
pc.set_skill_level (107,20)
pc.set_skill_level (108,20)
pc.set_skill_level (109,20)
pc.set_skill_level (110,20)
pc.set_skill_level (111,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
end
end
state vege begin
end
end[/spoiler]
Köszönöm előre is mindenkinek.

Arra gondolsz, hogy ottmarad a tekercs bal oldalon? Ha igen, akkor csak simán egy clear_letter() kell a skilladások után.
[spoiler]quest mskill begin
state start begin
when levelup with pc.get_level() >= 5 begin
set_state(information)
end
end
state information begin
when letter with pc.getqf("elfogad") == 0 begin
send_letter("M-SKILL!")
end
when button or info begin
say_title("Gratulálok "..pc.get_name().." megkaptad az m-es skilleket!")
if pc.get_job() == 0 then
pc.set_skill_level (1,20)
pc.set_skill_level (2,20)
pc.set_skill_level (3,20)
pc.set_skill_level (4,20)
pc.set_skill_level (5,20)
pc.set_skill_level (16,20)
pc.set_skill_level (17,20)
pc.set_skill_level (18,20)
pc.set_skill_level (19,20)
pc.set_skill_level (20,20)
pc.set_skill_level (21,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
if pc.get_job() == 1 then
pc.set_skill_level (31,20)
pc.set_skill_level (32,20)
pc.set_skill_level (33,20)
pc.set_skill_level (34,20)
pc.set_skill_level (35,20)
pc.set_skill_level (46,20)
pc.set_skill_level (47,20)
pc.set_skill_level (48,20)
pc.set_skill_level (49,20)
pc.set_skill_level (50,20)
pc.set_skill_level (51,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
pc.set_skill_level (140,20)
end
if pc.get_job() == 2 then
pc.set_skill_level (61,20)
pc.set_skill_level (62,20)
pc.set_skill_level (63,20)
pc.set_skill_level (64,20)
pc.set_skill_level (65,20)
pc.set_skill_level (66,20)
pc.set_skill_level (76,20)
pc.set_skill_level (77,20)
pc.set_skill_level (78,20)
pc.set_skill_level (79,20)
pc.set_skill_level (80,20)
pc.set_skill_level (81,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
if pc.get_job() == 3 then
pc.set_skill_level (91,20)
pc.set_skill_level (92,20)
pc.set_skill_level (93,20)
pc.set_skill_level (94,20)
pc.set_skill_level (95,20)
pc.set_skill_level (96,20)
pc.set_skill_level (106,20)
pc.set_skill_level (107,20)
pc.set_skill_level (108,20)
pc.set_skill_level (109,20)
pc.set_skill_level (110,20)
pc.set_skill_level (111,20)
pc.set_skill_level (122,2)
pc.set_skill_level (126,20)
pc.set_skill_level (127,20)
pc.set_skill_level (128,20)
pc.set_skill_level (129,20)
pc.set_skill_level (131,10)
pc.set_skill_level (137,20)
pc.set_skill_level (138,20)
pc.set_skill_level (139,20)
end
clear_letter()
end
end
state vege begin
end
end
[/spoiler]

Köszi erre gondoltam.
Jó lett.