ALEXANDER2020 Posted September 23, 2023 Report Share Posted September 23, 2023 Debes iniciar sesión para ver el contenido del enlace en esta publicación. Buenas alguien tiene la Quest del baúl experto o special_item_group 50187 50188 50189 50212 50213 50190 50191 50192 Quote Link to comment Share on other sites More sharing options...
ReuS Posted September 23, 2023 Report Share Posted September 23, 2023 quest cofre begin state start begin when login with pc.getqf("papireus") == 0 begin pc.setqf("papireus", 1) pc.give_item2(50187,1) end end end ahi te da el primer cofre, ya luego editas en el special_item_group Quote Link to comment Share on other sites More sharing options...
ALEXANDER2020 Posted September 23, 2023 Author Report Share Posted September 23, 2023 hace 4 horas, ReuS dijo: quest cofre begin state start begin when login with pc.getqf("papireus") == 0 begin pc.setqf("papireus", 1) pc.give_item2(50187,1) end end end ahi te da el primer cofre, ya luego editas en el special_item_group gracias compañero muy gentil Quote Link to comment Share on other sites More sharing options...
ALEXANDER2020 Posted September 23, 2023 Author Report Share Posted September 23, 2023 Group WardBookChest { Vnum 50187 Type Pct 1 41654 1 1000 2 45284 1 1000 3 10156 1 1000 4 72702 1 1000 5 10198 1 1000 } Quote Link to comment Share on other sites More sharing options...
ALEXANDER2020 Posted September 24, 2023 Author Report Share Posted September 24, 2023 Quote quest boxes begin state start begin when login begin if pc.getqf("boxes") == 0 then pc.setqf("boxes", 1) horse.set_level(21) 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) pc.give_item2(50187, 1) end end when 50187.use or 50188.use or 50189.use or 50190.use or 50191.use or 50192.use or 50193.use or 50194.use or 50195.use or 50196.use or 50197.use or 50198.use begin local weapon = 19 if pc.job == 3 then weapon = 7009 elseif pc.job == 1 then weapon = 1009 end local armor = {[0] = 11209, [1] = 11409, [2] = 11609, [3] = 11809} local helmet = {[0] = 12209, [1] = 12349, [2] = 12489, [3] = 12629} local atuendo = {[0] = 41003, [1] = 41004} local box_num = item.vnum-50186 local rewards = { {1,19,weapon,1, armor[pc.get_job()],1, helmet[pc.get_job()],1,27003,200,13009,1,50188,1,50053,1,70058,1,72701,1,16009,1,17009,1,15009,1,14009,1,27006,200,70038,200,27100,200,27103,200,53522,5,53523,5}, {10,4,27105,100,27102,100,50189,1,52045,1}, {20,5,71085,5,71084,10,13028,1,50190,1}, {30,5,70024,3,71084,5,25040,3,50191,1,71017,10}, {40,5,70003,1,70024,5,70005,1,71035,5,50192,1}, {50,4,71109,1,71032,1,50513,5,50193,1}, {60,5,27987,5,50035,1,70005,1,71018,15,50194,1}, {70,6,70043,1,27102,30,72725,1,72728,1,71035,10,50195,1}, {80,6,71020,20,71032,1,72725,1,72728,1,71005,1,50196,1}, {90,6,70005,1,27992,1,27993,1,27994,1,50011,3,50197,1}, {100,6,70005,1,71044,10,71045,10,50011,3,50035,2,50198,1}, {103,6,70005,1,39017,10,39018,10,39019,10,39020,10}, } if rewards[box_num][1] == nil then syschat("Este cofre esta vacio.") elseif pc.get_level() < rewards[box_num][1] then syschat("No tiene suficiente nivel para abrir el cofre.") elseif pc.get_empty_inventory_count() < rewards[box_num][2] then syschat("No tienes suficiente espacio en el inventario para abrir el cofre.") else for i = 1,rewards[box_num][2],1 do pc.give_item2(rewards[box_num][3+2*(i-1)],rewards[box_num][4+2*(i-1)]) end item.remove() end end end end Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.