Jump to content

[Bonus]Power_Mount


Croqueta

Mensajes recomendados

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 begin
state start begin
--: Items
when 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

--: Bonus
local 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 --> --cambiar
local 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])
--Controllar
if pc.is_mount() or pc.is_riding() or pc.is_polymorphed()==false then
if lvl >= nlvl then
chat("Cuando el Mount se llamo!") --cambiar
pc.mount(mM, mTime)
for i=1, bN do
pc.mount_bonus(mB[item][4][i][1], mB[item][4][i][2], mB[item][4][i][3])
end
else
syschat(string.format(" tienes que ser %d nivel", nlvl)) --cambiar
end
end
end
end
end[/Php]

Enlace para comentar
Compartir en otros sitios

  • 10 months later...

Unirse a la conversación

Puedes publicar ahora y registrarte más tarde. Si tienes una cuenta, regístrate para publicar con su cuenta.

Guest
Responder a este tema...

×   Has pegado contenido con formato .   Eliminar formato

  Only 75 emoji are allowed.

×   Tu enlace se ha incorporado automáticamente.   Mostrar un enlace en su lugar

×   Se ha restaurado el contenido anterior. .   Borrar editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...