MÓJÓ Posted October 25, 2017 at 12:17 AM Share Posted October 25, 2017 at 12:17 AM Estou aqui com um problema nesta quest que é o seguinte á primeira vista ela está impecavél , quando a char começa da as skillz passivas como lá está e dá me o cofre do aprendiz o problema é q apartir dai tento abrir o cofre e não me abre ou seja o que era suposto dar no 1 cofre tal como os equipes iniciais etc . Terei que adicionar os items do cofre ao special item group? Ou estou a fazer aqui algo errado ou tenho que adicionar algo em algum lado? cumprimentos quest anfangstruhe begin state start begin when login with pc.getqf('firstlogin') == 0 begin pc.setqf('firstlogin', 1) pc.give_item2(50187, 1) set_state(truhen) end end state truhen begin when 50187.use begin if pc.get_empty_inventory_count() < 45 then chat("Não há espaço suficiente!") return else if pc.get_job() == 0 then pc.give_item2(72725, 1) pc.give_item2(72729, 1) pc.give_item2(53012, 1) pc.give_item2(71145, 1) pc.give_item2(71126, 1) pc.give_item2(50188, 1) pc.give_item2(70007, 1) pc.give_item2(70038, 1) pc.give_item2(71510, 1) pc.give_item2(72501, 1) pc.give_item2(27102, 20) pc.give_item2(13009) pc.give_item2(14009) pc.give_item2(15009) pc.give_item2(16009) pc.give_item2(17009) horse.set_level(21) pc.set_skill_level(137, 20) pc.set_skill_level(138, 20) pc.set_skill_level(139, 20) pc.set_skill_level(140, 20) pc.set_skill_level(131, 10) pc.set_skill_level(126, 20) pc.set_skill_level(127, 20) pc.set_skill_level(128, 20) pc.give_item2(19) pc.give_item2(11209) pc.give_item2(12209) elseif pc.get_job() == 1 then pc.give_item2(72725, 1) pc.give_item2(72729, 1) pc.give_item2(53012, 1) pc.give_item2(71145, 1) pc.give_item2(71126, 1) pc.give_item2(50188, 1) pc.give_item2(70007, 1) pc.give_item2(70038, 1) pc.give_item2(71510, 1) pc.give_item2(72501, 1) pc.give_item2(27102, 20) pc.give_item2(13009) pc.give_item2(14009) pc.give_item2(15009) pc.give_item2(16009) pc.give_item2(17009) horse.set_level(21) pc.set_skill_level(137, 20) pc.set_skill_level(138, 20) pc.set_skill_level(139, 20) pc.set_skill_level(140, 20) pc.set_skill_level(131, 10) pc.set_skill_level(126, 20) pc.set_skill_level(127, 20) pc.set_skill_level(128, 20) pc.give_item2(1009) --Dolche+0 pc.give_item2(11409) pc.give_item2(19) pc.give_item2(2009) pc.give_item2(12349) elseif pc.get_job() == 2 then pc.give_item2(72725, 1) pc.give_item2(72729, 1) pc.give_item2(53012, 1) pc.give_item2(71145, 1) pc.give_item2(71126, 1) pc.give_item2(50188, 1) pc.give_item2(70007, 1) pc.give_item2(70038, 1) pc.give_item2(71510, 1) pc.give_item2(72501, 1) pc.give_item2(27102, 20) pc.give_item2(13009) pc.give_item2(14009) pc.give_item2(15009) pc.give_item2(16009) pc.give_item2(17009) horse.set_level(21) pc.set_skill_level(137, 20) pc.set_skill_level(138, 20) pc.set_skill_level(139, 20) pc.set_skill_level(140, 20) pc.set_skill_level(131, 10) pc.set_skill_level(126, 20) pc.set_skill_level(127, 20) pc.set_skill_level(128, 20) pc.give_item2(19) --Schwert+0 pc.give_item2(11609) pc.give_item2(12489) elseif pc.get_job() == 3 then pc.give_item2(72725, 1) pc.give_item2(72729, 1) pc.give_item2(53012, 1) pc.give_item2(71145, 1) pc.give_item2(71126, 1) pc.give_item2(50188, 1) pc.give_item2(70007, 1) pc.give_item2(70038, 1) pc.give_item2(71510, 1) pc.give_item2(72501, 1) pc.give_item2(27102, 20) pc.give_item2(13009) pc.give_item2(14009) pc.give_item2(15009) pc.give_item2(16009) pc.give_item2(17009) horse.set_level(21) pc.set_skill_level(137, 20) pc.set_skill_level(138, 20) pc.set_skill_level(139, 20) pc.set_skill_level(140, 20) pc.set_skill_level(131, 10) pc.set_skill_level(126, 20) pc.set_skill_level(127, 20) pc.set_skill_level(128, 20) pc.give_item2(7009) --Fächer+0 pc.give_item2(5009) pc.give_item2(11809) pc.give_item2(12629) elseif pc.get_job() == 4 then pc.give_item2(72725, 1) pc.give_item2(72729, 1) pc.give_item2(53012, 1) pc.give_item2(71145, 1) pc.give_item2(71126, 1) pc.give_item2(50188, 1) pc.give_item2(70007, 1) pc.give_item2(70038, 1) pc.give_item2(71510, 1) pc.give_item2(72501, 1) pc.give_item2(27102, 20) pc.give_item2(13009) pc.give_item2(14009) pc.give_item2(15009) pc.give_item2(16009) pc.give_item2(17009) horse.set_level(21) pc.set_skill_level(137, 20) pc.set_skill_level(138, 20) pc.set_skill_level(139, 20) pc.set_skill_level(140, 20) pc.set_skill_level(131, 10) pc.set_skill_level(126, 20) pc.set_skill_level(127, 20) pc.set_skill_level(128, 20) pc.give_item2(6009) --Fächer+0 pc.give_item2(21009) pc.give_item2(21509) end pc.remove_item(50187, 1) --Lehrlingstruhe I verschwindet end end when 50188.use with pc.get_level() >= 10 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71151, 20) --Elixier der Sonne (K) pc.give_item2(71152, 8) --Grüner Trank(M) pc.give_item2(76015, 2) pc.give_item2(76016, 4) pc.give_item2(71044, 10) --Geschwindigkeits Trank(K) pc.give_item2(71045, 10) --Lehrlingstruhe III pc.give_item2(50189, 1) --Lehrlingstruhe III pc.give_item2(71009, 1) --Lehrlingstruhe III pc.remove_item(50188, 1) --Lehrlingstruhe II verschwindet end end when 50189.use with pc.get_level() >= 20 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71027, 10) --DrachengottLeben pc.give_item2(71028, 10) --DrachengottAngriff pc.give_item2(71030, 10) --Drachengott-Int pc.give_item2(71152, 12) --Grüner Trank(M) pc.give_item2(76015, 3) pc.give_item2(76016, 4) pc.give_item2(50190, 1) --Expertentruhe I pc.remove_item(50189, 1) --Lehrlingstruhe III verschwindet end end when 50190.use with pc.get_level() >= 30 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71151, 80) pc.give_item2(76016, 10) pc.give_item2(50191, 1) --Expertentruhe II pc.remove_item(50190, 1) --Expertentruhe I verschwindet end end when 50191.use with pc.get_level() >= 40 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71517, 10) --Exo pc.give_item2(71518, 10) --Konzi pc.give_item2(76016, 10) --Konzi pc.give_item2(71510, 1) pc.give_item2(76025, 1) pc.give_item2(50192, 1) --Expertentruhe III pc.remove_item(50191, 1) --Expertentruhe II verschwindet end end when 50192.use with pc.get_level() >= 50 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71084, 200) pc.give_item2(71517, 25) --Exo pc.give_item2(71518, 25) --Konzi pc.give_item2(71519, 1) pc.give_item2(50193, 1) pc.remove_item(50192, 1) end end when 50193.use with pc.get_level() >= 60 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71517, 20) --Schriftrolle des Drachen pc.give_item2(71518, 20) --Schriftrolle des Drachen pc.give_item2(71519, 3) pc.give_item2(50194, 1) --Meistertruhe II pc.remove_item(50193, 1) --Meistertruhe I verschwindet end end when 50194.use with pc.get_level() >= 70 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(70005, 1) --Trank des Angriffs pc.give_item2(71519, 5) --Gegenstand verzaubern pc.give_item2(50195, 1) --Meistertruhe III pc.remove_item(50194, 1) --Meistertruhe II verschwindet end end when 50195.use with pc.get_level() >= 80 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71517, 20) pc.give_item2(71518, 20) pc.give_item2(50196, 1) pc.give_item2(30319, 5) pc.give_item2(71519, 3) pc.remove_item(50195, 1) end end when 50196.use with pc.get_level() >= 90 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(27987, 100) pc.give_item2(53012, 1) pc.give_item2(76026, 1) --Schrumpfkopf pc.give_item2(50197, 1) --Schrumpfkopf pc.remove_item(50196, 1) --Großmeistertruhe verschwindet end end when 50197.use with pc.get_level() >= 95 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(50254, 3) --Elixier des Mondes (M) pc.give_item2(50198, 1) --Großmeistertruhe pc.remove_item(50197, 1) --Meistertruhe III verschwindet end end when 50198.use with pc.get_level() >= 100 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(51001, 200) --Trank der Hast pc.give_item2(51001, 200) --Trank der Hast pc.give_item2(51001, 200) --Trank der Hast pc.give_item2(50199, 1) --Großmeistertruhe pc.remove_item(50198, 1) --Meistertruhe III verschwindet end end when 50199.use with pc.get_level() >= 105 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(71145, 1) --Trank der Hast pc.give_item2(50203, 1) --Großmeistertruhe pc.remove_item(50199, 1) --Meistertruhe III verschwindet end end when 50203.use with pc.get_level() >= 110 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(25041, 5) --Trank der Hast pc.give_item2(71522, 4) --Trank der Hast pc.give_item2(50204, 1) --Großmeistertruhe pc.remove_item(50203, 1) --Meistertruhe III verschwindet end end when 50204.use with pc.get_level() >= 115 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(55403, 1) --Trank der Hast pc.give_item2(30616, 1) --Trank der Hast pc.give_item2(50205, 1) --Großmeistertruhe pc.remove_item(50204, 1) --Meistertruhe III verschwindet end end when 50205.use with pc.get_level() >= 120 begin if pc.get_empty_inventory_count() < 10 then chat("Arranja 10 slots disponíveis no inventário") else pc.give_item2(55405, 1) --Trank der Hast pc.give_item2(30617, 1) --Trank der Hast pc.give_item2(30618, 1) --Trank der Hast pc.remove_item(50205, 1) --Meistertruhe III verschwindet end end end end anfangstruhe.quest Link to comment Share on other sites More sharing options...
MÓJÓ Posted October 25, 2017 at 09:35 AM Author Share Posted October 25, 2017 at 09:35 AM já está resolvido .... gracias Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now