Croqueta Posted January 6, 2013 Report Share Posted January 6, 2013 escriben en quest_functions esto pc.is_riding() en la quest estan cosas escribido para ajudar a editar la quest. Con la quest se puede llamar los Caballos como el leon, tigre ... y los demas y te da tambien los bonus el nivel de los Mounts(Caballos) se pude cambiar aqi, un ejemplo [71114]={20110, 999999999, 75, el 75 es el Nivel que nesesita para montar el Caballo quest power_mount beginstate start begin--: Itemswhen 71114.use or 71116.use or 71118.use or 71120.use or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use or 52006.use or 52021.use or 52051.use or 52036.use or 52011.use or 52026.use or 52056.use or 52041.use or 52066.use or 52071.use or 52076.use or 52081.use or 52086.use begin-- Nuevos items se escribe arriba-- para pones mas bonus sige el esquema--: Bonuslocal mB = {[71114]={20110, 999999999, 75,{{apply.ATT_GRADE_BONUS, 100, 999999999},{apply.DEF_GRADE_BONUS, 50, 999999999}}},[71116]={20111, 999999999, 75,{{apply.ATT_GRADE_BONUS, 100, 999999999},{apply.DEF_GRADE_BONUS, 50, 999999999}}},[71118]={20112, 999999999, 75,{{apply.ATT_GRADE_BONUS, 100, 999999999},{apply.DEF_GRADE_BONUS, 50, 999999999}}},[71120]={20113, 999999999, 75,{{apply.ATT_GRADE_BONUS, 100, 999999999},{apply.DEF_GRADE_BONUS, 50, 999999999}}},[71124]={20114, 999999999, 80,{{apply.ATT_GRADE_BONUS, 150, 999999999},{apply.DEF_GRADE_BONUS, 80, 999999999}}},[71125]={20115, 999999999, 90,{{apply.ATT_GRADE_BONUS, 200, 999999999},{apply.MAX_HP, 2000, 999999999}}},[71126]={20116, 999999999, 90,{{apply.ATT_GRADE_BONUS, 200, 999999999},{apply.MAX_HP, 2000, 999999999}}},[71127]={20117, 999999999, 90,{{apply.ATT_GRADE_BONUS, 200, 999999999},{apply.MAX_HP, 2000, 999999999}}},[71128]={20118, 999999999, 90,{{apply.ATT_GRADE_BONUS, 200, 999999999},{apply.MAX_HP, 2000, 999999999}}},[52006]={20201, 999999999, 100,{{apply.ATT_GRADE_BONUS, 250, 999999999},{apply.MAX_HP, 2500, 999999999},{apply.BLOCK, 10, 999999999}}},[52021]={20202, 999999999, 100,{{apply.ATT_GRADE_BONUS, 250, 999999999},{apply.MAX_HP, 2500, 999999999},{apply.BLOCK, 10, 999999999}}},[52051]={20203, 999999999, 100,{{apply.ATT_GRADE_BONUS, 250, 999999999},{apply.MAX_HP, 2500, 999999999},{apply.BLOCK, 10, 999999999}}},[52036]={20204, 999999999, 100,{{apply.ATT_GRADE_BONUS, 250, 999999999},{apply.MAX_HP, 2500, 999999999},{apply.BLOCK, 10, 999999999}}},[52011]={20209, 999999999, 110,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.MAX_HP, 3000, 999999999},{apply.CRITICAL_PCT, 15, 999999999}}},[52026]={20210, 999999999, 110,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.MAX_HP, 3000, 999999999},{apply.CRITICAL_PCT, 15, 999999999}}},[52056]={20211, 999999999, 110,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.MAX_HP, 3000, 999999999},{apply.CRITICAL_PCT, 15, 999999999}}},[52041]={20212, 999999999, 110,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.MAX_HP, 3000, 999999999},{apply.CRITICAL_PCT, 15, 999999999}}},[52061]={20213, 999999999, 1,{{apply.ATT_GRADE_BONUS, 50, 999999999}}},[52066]={20214, 999999999, 120,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.ATTBONUS_MONSTER, 10, 999999999},{apply.CRITICAL_PCT, 25, 999999999}}},[52071]={20215, 999999999, 130,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.ATTBONUS_MONSTER, 15, 999999999},{apply.BLOCK, 15, 999999999},{apply.CRITICAL_PCT, 20, 999999999}}},[52076]={20216, 999999999, 1,{{apply.ATT_GRADE_BONUS, 50, 999999999}}},[52081]={20217, 999999999, 120,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.ATTBONUS_MONSTER, 10, 999999999},{apply.CRITICAL_PCT, 25, 999999999}}},[52086]={20218, 999999999, 130,{{apply.ATT_GRADE_BONUS, 300, 999999999},{apply.ATTBONUS_MONSTER, 15, 999999999},{apply.BLOCK, 15, 999999999},{apply.CRITICAL_PCT, 20, 999999999}}}}-- es mejor no editir nada que no tenga esto --> --cambiarlocal item = item.get_vnum()local lvl = pc.get_level()local mM = mB[item][1]local mTime = mB[item][2]local nlvl = mB[item][3]local bN = table.getn(mB[item][4])--Controllarif pc.is_mount() or pc.is_riding() or pc.is_polymorphed()==false thenif lvl >= nlvl thenchat("Cuando el Mount se llamo!") --cambiarpc.mount(mM, mTime)for i=1, bN dopc.mount_bonus(mB[item][4][i][1], mB[item][4][i][2], mB[item][4][i][3])endelsesyschat(string.format(" tienes que ser %d nivel", nlvl)) --cambiarendendendendend[/Php] KeKo and Dextrok 2 Quote Link to comment Share on other sites More sharing options...
Sr.Kiwi Posted January 6, 2013 Report Share Posted January 6, 2013 podrias explicar un poco mas para que sirve Quote Link to comment Share on other sites More sharing options...
Croqueta Posted January 7, 2013 Author Report Share Posted January 7, 2013 esta quest es para todos los caballos que tienes en el server, lo que no estan en la table se puede editar, ademas te da el caballo que montas un bonus que tambien lo puede editar. no se si lo explique falso, esa quest tambien se puede usar para los monturas como lla lo explique Quote Link to comment Share on other sites More sharing options...
Sr.Kiwi Posted January 8, 2013 Report Share Posted January 8, 2013 esta quest es para todos los caballos que tienes en el server, lo que no estan en la table se puede editar, ademas te da el caballo que montas un bonus que tambien lo puede editar. no se si lo explique falso, esa quest tambien se puede usar para los monturas como lla lo explique te dejo un gracias Quote Link to comment Share on other sites More sharing options...
Hawk Server's Posted November 10, 2013 Report Share Posted November 10, 2013 uhmmm olvidaste mencionar que hay que poner pc.mount_bonus en el quest_functions pero esta bueno =) MUCHAS GRACIAS PD solo me da defensa los demas bonus no 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.