TheSanto Publicado 11 de Junio del 2013 Reportar Compartir Publicado 11 de Junio del 2013 Bueno pues he buscado por el foro 1 quest : Que utilice 1 ítem para subirte 1 habilidad a P y luego desaparezca y otra quest que cuando 1 pj se logea y tenga exp negativa que se le ponga en 0 automáticamente. Gracias de antemano ! Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
topekone Publicado 11 de Junio del 2013 Reportar Compartir Publicado 11 de Junio del 2013 Aquí tienes la de los perfect: quest perfect begin state start begin when 70025.use begin table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,59) end) chat("Gracias por utilizarme") chat ("Has recibido tus P") item.remove() end end end Y aquí la de la exp negativa quest negative_exp begin state start begin when login with pc.get_exp() < 0 begin pc.give_exp2(math.abs(pc.get_exp())) end end end Espero que te sirvan Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
TheSanto Publicado 11 de Junio del 2013 Author Reportar Compartir Publicado 11 de Junio del 2013 Aquí tienes la de los perfect: quest perfect begin state start begin when 70025.use begin table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,59) end) chat("Gracias por utilizarme") chat ("Has recibido tus P") item.remove() end end end Y aquí la de la exp negativa quest negative_exp begin state start begin when login with pc.get_exp() < 0 begin pc.give_exp2(math.abs(pc.get_exp())) end end end Espero que te sirvan la primera quest es para todas las habilidades a P mediante 1 itemyo busco 1 que te suba 1 habilidad a P Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
Rafa23Alzira Publicado 11 de Junio del 2013 Reportar Compartir Publicado 11 de Junio del 2013 Aquí tienes una de yuko para subirte una habilidad a p Debes iniciar sesión para ver el contenido del enlace en esta publicación. Te la dejo también aquí pero te recomiendo cojerla de pastebin --** --** Script PDA perfetta --** by BlackYuko Skype: manu___88 --** quest pda_perf_quest begin state start begin ----------********** PDA perfetta (cambiare vnum eventualmente) **********---------- when 50514.use begin say_title ("PDA Perfetta") if pc.get_skill_group() == 0 then say("Non hai ancora preso la dottrina.[ENTER]") return end local vnum_list, name_list = pda_perf_quest.GetSkillList(1) say("Con questo oggetto potrai portare un'abilita'") say("di livello superiore o uguale a 1 direttamente") say("a maestro perfetto.[ENTER]") if table.getn(vnum_list) == 0 then say_reward ("Non hai abilita' da migliorare.[ENTER]") return end wait() say_title ("PDA Perfetta") say("Scegli l'abilita' da migliorare:[ENTER]") table.insert(name_list, "Annulla") local s = select_table(name_list) if s == table.getn(name_list) then return end local skill_name = name_list[s] local skill_vnum = vnum_list[s] say_title ("PDA Perfetta") say("Hai scelto: "..skill_name) say("Sei sicuro di voler continuare?[ENTER]") local a = select("Si","No") if a == 2 then return end say_title ("PDA Perfetta") say (skill_name, " portata a maestro perfetto.[ENTER]") pc.set_skill_level (skill_vnum, 40) pc.remove_item(item.get_vnum(), 1) end ----------********** Funzione **********---------- function GetSkillList(min_level) local skill_list = special.active_skill_list[pc.get_job()+1][pc.get_skill_group()] local vnum_list = {} local name_list = {} for i = 1,table.getn(skill_list) do local skill_vnum = skill_list[i] local skill_level = pc.get_skill_level(skill_vnum) if skill_level >= min_level and skill_level < 40 then table.insert(vnum_list, skill_list[i]) table.insert(name_list, locale.GM_SKILL_NAME_DICT[skill_vnum]) end end return vnum_list, name_list end end end La traducción italiano-español es muy fácil, pero si no te aclaras me lo dices y te la hago. Enlace para comentar Compartir en otros sitios Mas opciones de compartir...
Mensajes recomendados