Jump to content

Monturas velocidad


mtcosmos

Mensajes recomendados

Vete a la tabla mob_proto, buscas la montura que quieres editar, y creo que habia un campo que era MOB_SPEED o algo asi, ahi le aumentas y aumenta la velocidad de la montura.

Muchas gracias serex!! 

 

Y otra cosilla si alguien sabe:

al subir a torre demonios no aparece nada en la 4º planta sabrías la razón porfavor? o como arreglarlo

Enlace para comentar
Compartir en otros sitios

Vete a la tabla mob_proto, buscas la montura que quieres editar, y creo que habia un campo que era MOB_SPEED o algo asi, ahi le aumentas y aumenta la velocidad de la montura.

serex donde puedo encontrar la montura que es a partir de un item? pls

Enlace para comentar
Compartir en otros sitios

Mira la quest de la montura y te sale el mob que invoca

te dejo la quest

 

----------------------------------------------------
-- Power Mount System
-- lvl x
-- Copyright ©Zymos
----------------------------------------------------
quest p_mount begin
state start begin
when 20349.take begin
if pc.is_mount() then
say_title(""..mob_name(20349).."")
say("")
say("¿Podría bajar de su montura mientras hablamos?")
say("Tengo mucho dolor en el cuello")
say("y es bastante agotador estár mirando hacia,")
say("arriba todo el tiempo.")
say("")
return
end
 
--chat("Tiempo "..item.get_socket(2).."")
--chat("pos "..item.get_cell().."")
item.set_socket( 2,1 )
local vnum = item.get_vnum()
 
local snacks = {{38100,7}, {38101,15}, {38102,30}}
 
if vnum >= 20201 and vnum <= 52100 then
if pc.count_item(38100) >= 1 --Comida (7 Días)
or pc.count_item(38101) >= 1 --Comida (15 Días)
or pc.count_item(38102) >= 1 --Comida (30 Días)
then
 
say_title(""..mob_name(20349).."")
say("")
say("Hola, veo que tienes comida para las monturas")
say("pueden utilizarse para conseguir mas tiempo")
say("en tu montura.")
say("")
say("¿Que quieres hacer despues de esto?")
say("¿Desea mejorar su montura o conseguir mas tiempo?")
say("")
say("")
local i = select ("Mas Tiempo","Mejorar","Salir")
if i == 1 then
local c = select ("Super Comida - 7 Dias", "Super Comida - 15 Dias", "Super Comida - 30 Dias", "Sair")
if c != 4 then
local d, a, i, s = snacks[c][2], 60*60*24, snacks[c][1], item.get_socket(0)
say_title(mob_name(npc.get_race()))
if pc.count_item(i) >= 1 then
say"Con esto, tu montura podrá durar"
say(" "..d.." días mas.")
say_item_vnum(i)
say""
say"Queres continuar?"
if select("Si", "No") == 1 then item.set_socket(0, s + a*d) pc.remove_item(i, 1) 
say("Tu montura va a durar "..d.." días mas.")
else 
say"Vuelva cuando quieras" 
end
end
end
elseif i == 2 then
if p_mount.upgrade(vnum) == true then
pc.give_item2(vnum +5,1)
item.remove()
else
p_mount.fail_message()
end
end
 
elseif vnum >= 52011 and vnum <= 52015
or vnum >= 52026 and vnum <= 52030
or vnum >= 52041 and vnum <= 52045
or vnum >= 52056 and vnum <= 52060
or vnum >= 52071 and vnum <= 52075
or vnum >= 52086 and vnum <= 52090
or vnum >= 52100 and vnum <= 52105 then --Tapferere Mounts
say_title(""..mob_name(20349).."")
say("")
say("Esta montura no se puede seguir mejorando.")
return
elseif pc.count_item(50067) >= 1 or pc.count_item(50068) >= 1 then
say_title(""..mob_name(20349).."")
say("")
say("Veo que probablemente desea mejorar su montura.")
say("")
say("¿Quieres hacerlo?")
say("")
local m = select("Si","No")
if m == 1 then --Ja
if p_mount.upgrade(vnum) == true then
pc.give_item2(vnum +5,1)
--local wert = item.get_socket(2)
--Upgrade 1-4 erhöhen laufzeit? ? item.set_socket(2,wert + 60*24* number(1,3))
item.remove()
else
p_mount.fail_message()
end
else --Nein
return
end
else
p_mount.fail_message()
end
end
end
function upgrade(vnum)
if (vnum >= 52001 and vnum <= 52005
or vnum >= 52016 and vnum <= 52020
or vnum >= 52031 and vnum <= 52035
or vnum >= 52046 and vnum <= 52050
or vnum >= 52061 and vnum <= 52065
or vnum >= 52076 and vnum <= 52080
or vnum >= 52091 and vnum <= 52095) and pc.count_item(50067) >= 1 then --junge Mounts und Rolle der Evolution
pc.remove_item(50067,1)
return true
elseif  (vnum >= 52006 and vnum <= 52010
or vnum >= 52021 and vnum <= 52025
or vnum >= 52036 and vnum <= 52040
or vnum >= 52051 and vnum <= 52055
or vnum >= 52066 and vnum <= 52070
or vnum >= 52081 and vnum <= 52085
or vnum >= 52096 and vnum <= 52100) and pc.count_item(50068) >= 1 then --Wilde Mounts und Rolle der Mutation
pc.remove_item(50068,1)
return true
else
return false
end
 
end
when 20349.chat."Título de Montura" begin 
say_title(""..mob_name(20349).."")
say("")
say("¿Usted me trae algun título de montura?")
say("Si es así, usted podrá entrenar una montura.")
say("")
say("Veamos que tienes...")
wait()
say_title(""..mob_name(20349).."")
say("")
if pc.count_item(52701) >= 1 then --Löwen-Urkunde
say("me traes un "..item_name(52701).."")
pc.setqf("mount",1)
elseif pc.count_item(52702) >= 1 then --Tiger-Urkunde
say("me traes un "..item_name(52702).."")
pc.setqf("mount",2)
elseif pc.count_item(52703) >= 1 then --Keiler-Urkunde
say("me traes un "..item_name(52703).."")
pc.setqf("mount",3)
elseif pc.count_item(52704) >= 1 then --Wolfs-Urkunde
say("me traes un "..item_name(52704).."")
pc.setqf("mount",4)
elseif pc.count_item(52705) >= 1 then --Rentier-Urkunde (m)
say("me traes un "..item_name(52705).."")
pc.setqf("mount",5)
elseif pc.count_item(52706) >= 1 then --Rentier-Urkunde (w)
say("me traes un "..item_name(52706).."")
pc.setqf("mount",6)
elseif pc.count_item(52707) >= 1 then -- titulo de drakor
say("me traes un "..item_name(52707).."")
pc.setqf("mount",7)
else
say("Usted no lleva ningún título de monturas.")
return
end
--
say("Lo que usted elija para los bonos?")
say("")
local b = select("Fuerte contra los monstruos","La experiencia (EXP)","Puntos de vida (HP)","Defensa (DEF)","Valor de ataque ","No, mejor aún no.")
if b == 1 then --Stark gegen Monster
p_mount.give_seal(pc.getqf("mount"),1)
elseif b == 2 then --Erfahrung (EXP)
p_mount.give_seal(pc.getqf("mount"),2)
elseif b == 3 then --Trefferpunkte (TP)
p_mount.give_seal(pc.getqf("mount"),3)
elseif b == 4 then --Verteidigung(DEF)
p_mount.give_seal(pc.getqf("mount"),4)
elseif b == 5 then --Angriffswert (AW)
p_mount.give_seal(pc.getqf("mount"),5)
end
end
function fail_message()
say_title(""..mob_name(20349).."")
say("")
say("Lo siento, sin los documentos adecuados,")
say("yo no hago nada para usted,")
say("tráigame los items necesarios o...")
say("va a pagar por ello.")
end
function give_seal(a,b)
if a == 1 then --Löwen-Urkunde
if b == 1 then --Start
pc.give_item2( 52031 )
item.set_socket( 52031 , 100 )
 
--pc.give_item2(52031,1) --Stark gegen Monster
pc.remove_item(52701,1) --Löwen-Urkunde
return true
elseif b == 2 then
pc.give_item2(52032,1) --Erfahrung
pc.remove_item(52701,1) --Löwen-Urkunde
elseif b == 3 then
pc.give_item2(52033,1) --Tp
pc.remove_item(52701,1) --Löwen-Urkunde
elseif b == 4 then
pc.give_item2(52034,1) --Verteidigungswert
pc.remove_item(52701,1) --Löwen-Urkunde
elseif b == 5 then
pc.give_item2(52035,1) --Angriffswert
pc.remove_item(52701,1) --Löwen-Urkunde
else
return
end
elseif a == 2 then --Tiger-Urkunde
if b == 1 then --Start
pc.give_item2(52046,1) --Stark gegen Monster
pc.remove_item(52702,1) --Tiger-Urkunde
elseif b == 2 then
pc.give_item2(52047,1) --Erfahrung
pc.remove_item(52702,1) --Tiger-Urkunde
elseif b == 3 then
pc.give_item2(52048,1) --Tp
pc.remove_item(52702,1) --Tiger-Urkunde
elseif b == 4 then
pc.give_item2(52049,1) --Verteidigungswert
pc.remove_item(52702,1) --Tiger-Urkunde
elseif b == 5 then
pc.give_item2(52050,1) --Angriffswert
pc.remove_item(52702,1) --Tiger-Urkunde
else
return
end
elseif a == 3 then --Keiler-Urkunde
if b == 1 then --Start
pc.give_item2(52001,1) --Stark gegen Monster
pc.remove_item(52703,1) --Keiler-Urkunde
elseif b == 2 then
pc.give_item2(52002,1) --Erfahrung
pc.remove_item(52703,1) --Keiler-Urkunde
elseif b == 3 then
pc.give_item2(52003,1) --Tp
pc.remove_item(52703,1) --Keiler-Urkunde
elseif b == 4 then
pc.give_item2(52004,1) --Verteidigungswert
pc.remove_item(52703,1) --Keiler-Urkunde
elseif b == 5 then
pc.give_item2(52005,1) --Angriffswert
pc.remove_item(52703,1) --Keiler-Urkunde
else
return
end
elseif a == 4 then --Wolfs-Urkunde
if b == 1 then --Start
pc.give_item2(52016,1) --Stark gegen Monster
pc.remove_item(52704,1) --Wolfs-Urkunde
elseif b == 2 then
pc.give_item2(52017,1) --Erfahrung
pc.remove_item(52704,1) --Wolfs-Urkunde
elseif b == 3 then
pc.give_item2(52018,1) --Tp
pc.remove_item(52704,1) --Wolfs-Urkunde
elseif b == 4 then
pc.give_item2(52019,1) --Verteidigungswert
pc.remove_item(52704,1) --Wolfs-Urkunde
elseif b == 5 then
pc.give_item2(52020,1) --Angriffswert
pc.remove_item(52704,1) --Wolfs-Urkunde
else
return
end
elseif a == 5 then --Rentier-Urkunde m
if b == 1 then --Start
pc.give_item2(52016,1) --Stark gegen Monster
pc.remove_item(52705,1) --Rentier-Urkunde
elseif b == 2 then
pc.give_item2(52062,1) --Erfahrung
pc.remove_item(52705,1) --Rentier-Urkunde
elseif b == 3 then
pc.give_item2(52063,1) --Tp
pc.remove_item(52705,1) --Rentier-Urkunde
elseif b == 4 then
pc.give_item2(52064,1) --Verteidigungswert
pc.remove_item(52705,1) --Rentier-Urkunde
elseif b == 5 then
pc.give_item2(52065,1) --Angriffswert
pc.remove_item(52705,1) --Rentier-Urkunde
else
return
end
elseif a == 6 then --Rentier-Urkunde w
if b == 1 then --Start
pc.give_item2(52076,1) --Stark gegen Monster
pc.remove_item(52706,1) --Rentier-Urkunde
elseif b == 2 then
pc.give_item2(52077,1) --Erfahrung
pc.remove_item(52706,1) --Rentier-Urkunde
elseif b == 3 then
pc.give_item2(52078,1) --Tp
pc.remove_item(52706,1) --Rentier-Urkunde
elseif b == 4 then
pc.give_item2(52079,1) --Verteidigungswert
pc.remove_item(52706,1) --Rentier-Urkunde
elseif b == 5 then
pc.give_item2(52080,1) --Angriffswert
pc.remove_item(52706,1) --Rentier-Urkunde
else
return
end
elseif a == 7 then --drakor
if b == 1 then --Start
pc.give_item2(52091,1) --Stark gegen Monster
pc.remove_item(52707,1) --Rentier-Urkunde
elseif b == 2 then
pc.give_item2(52092,1) --Erfahrung
pc.remove_item(52707,1) --Rentier-Urkunde
elseif b == 3 then
pc.give_item2(52093,1) --Tp
pc.remove_item(52707,1) --Rentier-Urkunde
elseif b == 4 then
pc.give_item2(52094,1) --Verteidigungswert
pc.remove_item(52707,1) --Rentier-Urkunde
elseif b == 5 then
pc.give_item2(52095,1) --Angriffswert
pc.remove_item(52707,1) --Rentier-Urkunde
else
return
end
end
end
when 52001.use or 52002.use or 52003.use or 52004.use or 52005.use or 52006.use or 52007.use or 52008.use or 52009.use or 52010.use
or 52011.use or 52012.use or 52013.use or 52014.use or 52015.use or 52016.use or 52017.use or 52018.use or 52019.use or 52020.use
or 52021.use or 52022.use or 52023.use or 52024.use or 52025.use or 52026.use or 52027.use or 52028.use or 52029.use or 52030.use
or 52031.use or 52032.use or 52033.use or 52034.use or 52035.use or 52036.use or 52037.use or 52038.use or 52039.use or 52040.use
or 52041.use or 52042.use or 52043.use or 52044.use or 52045.use or 52046.use or 52047.use or 52048.use or 52049.use or 52050.use
or 52051.use or 52052.use or 52053.use or 52054.use or 52055.use or 52056.use or 52057.use or 52058.use or 52059.use or 52060.use 
or 52061.use or 52062.use or 52063.use or 52064.use or 52065.use or 52066.use or 52067.use or 52068.use or 52069.use or 52070.use
or 52071.use or 52072.use or 52073.use or 52074.use or 52075.use or 52076.use or 52077.use or 52078.use or 52079.use or 52080.use
or 52081.use or 52082.use or 52083.use or 52084.use or 52085.use or 52086.use or 52087.use or 52088.use or 52089.use or 52090.use
or 52091.use or 52092.use or 52093.use or 52094.use or 52095.use or 52096.use or 52097.use or 52098.use or 52099.use or 52100.use 
or 52101.use or 52102.use or 52103.use or 52104.use or 52105.use begin --- estos 5 ultimos son drakors
local vnum = item.get_vnum()
local mounts_horse_lvl = horse.get_level()
local player_level = pc.get_level()
--chat("#depurar mascota activa: "..pc.getf("pets","pet_active").."")
--chat("#depurar mascota activa: "..pc.getf("pets","old_horse_level").."")
if pc.getf("pets","pet_active") == 1 or horse.is_summon() and horse.get_level() >= 22 then
mounts_horse_lvl = pc.getf("pets","old_horse_level")
end
if pc.is_polymorphed() then
say("No se puede montar durante sus transformaciones!")
return
elseif pc.is_mount() then
pc.unmount()
return
end
if vnum >= 52006 and vnum <= 52010
or vnum >= 52021 and vnum <= 52025
or vnum >= 52036 and vnum <= 52040
or vnum >= 52051 and vnum <= 52055
or vnum >= 52066 and vnum <= 52070
or vnum >= 52081 and vnum <= 52085 
or vnum >= 52096 and vnum <= 52100 then --Wilde Mounts 
if player_level < 35 then 
syschat("Su nivel es demasiado bajo para utilizar esta montura!")
--chat("#debug# If 1")
return
end
if mounts_horse_lvl < 11 then 
syschat("Su nivel de caballo es demasiado bajo para utilizar esta montura! "..mounts_horse_lvl.."")
--chat("#debug# If 1")
return
end
elseif vnum >= 52011 and vnum <= 52015
or vnum >= 52026 and vnum <= 52030
or vnum >= 52041 and vnum <= 52045
or vnum >= 52056 and vnum <= 52060
or vnum >= 52071 and vnum <= 52075
or vnum >= 52086 and vnum <= 52090
or vnum >= 52101 and vnum <= 52105 then --Tapferere Mounts
if player_level < 50 then 
syschat("Su nivel es demasiado bajo para utilizar este soporte!")
--chat("#debug# If 1")
return
end
if mounts_horse_lvl < 21 then 
syschat("Su nivel de caballo es demasiado bajo para utilizar este soporte! "..mounts_horse_lvl.."")
--chat("#debug# If 1")
return
end
end
local check = p_mount.give_mount_bonus(vnum)
if check == true then
local timee = 3600 --item.get_socket(2)*60
--syschat("Su montaje se ha puesto en marcha con éxito.")
else
syschat("Se produjo un error cuando se quería llamar a su montura.")
end
end
function give_mount_bonus(a)
pc.delqf("mount")
local vnum = a
local mounts_bonus = {
[20201] = { 20201,'NO_SKILL',0}, --Junger Keiler
[52002] = { 20201,'NO_SKILL',0}, --Junger Keiler
[52003] = { 20201,'NO_SKILL',0}, --Junger Keiler
[52004] = { 20201,'NO_SKILL',0}, --Junger Keiler
[52005] = { 20201,'NO_SKILL',0}, --Junger Keiler
[52006] = { 20205,apply.ATTBONUS_MONSTER,3}, --Wilder Keiler
[52007] = { 20205,apply.EXP_DOUBLE_BONUS,3}, --Wilder Keiler
[52008] = { 20205,apply.MAX_HP,250}, --Wilder Keiler
[52009] = { 20205,apply.DEF_GRADE_BONUS,50}, --Wilder Keiler
[52010] = { 20205,apply.ATT_GRADE_BONUS,30}, --Wilder Keiler
[52011] = { 20209,apply.ATTBONUS_MONSTER,5}, --Tapferer Keiler
[52012] = { 20209,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Keiler
[52013] = { 20209,apply.MAX_HP,500}, --Tapferer Keiler
[52014] = { 20209,apply.DEF_GRADE_BONUS,150}, --Tapferer Keiler
[52015] = { 20209,apply.ATT_GRADE_BONUS,100}, --Tapferer Keiler
 
[52016] = { 20202,'NO_SKILL',0}, --Junger Wolf
[52017] = { 20202,'NO_SKILL',0}, --Junger Wolf
[52018] = { 20202,'NO_SKILL',0}, --Junger Wolf
[52019] = { 20202,'NO_SKILL',0}, --Junger Wolf
[52020] = { 20202,'NO_SKILL',0}, --Junger Wolf
[52021] = { 20206,apply.ATTBONUS_MONSTER,3}, --Wilder Wolf
[52022] = { 20206,apply.EXP_DOUBLE_BONUS,3}, --Wilder Wolf
[52023] = { 20206,apply.MAX_HP,250}, --Wilder Wolf
[52024] = { 20206,apply.DEF_GRADE_BONUS,50}, --Wilder Wolf
[52025] = { 20206,apply.ATT_GRADE_BONUS,30}, --Wilder Wolf
[52026] = { 20210,apply.ATTBONUS_MONSTER,5}, --Tapferer Wolf
[52027] = { 20210,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Wolf
[52028] = { 20210,apply.MAX_HP,500}, --Tapferer Wolf
[52029] = { 20210,apply.DEF_GRADE_BONUS,150}, --Tapferer Wolf
[52030] = { 20210,apply.ATT_GRADE_BONUS,100}, --Tapferer Wolf
 
[52031] = { 20204,'NO_SKILL',0}, --Junger Löwe
[52032] = { 20204,'NO_SKILL',0}, --Junger Löwe
[52033] = { 20204,'NO_SKILL',0}, --Junger Löwe
[52034] = { 20204,'NO_SKILL',0}, --Junger Löwe
[52035] = { 20204,'NO_SKILL',0}, --Junger Löwe
[52036] = { 20208,apply.ATTBONUS_MONSTER,3}, --Wilder Löwe
[52037] = { 20208,apply.EXP_DOUBLE_BONUS,3}, --Wilder Löwe
[52038] = { 20208,apply.MAX_HP,250}, --Wilder Löwe
[52039] = { 20208,apply.DEF_GRADE_BONUS,50}, --Wilder Löwe
[52040] = { 20208,apply.ATT_GRADE_BONUS,30}, --Wilder Löwe
[52041] = { 20212,apply.ATTBONUS_MONSTER,5}, --Tapferer Löwe
[52042] = { 20212,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Löwe
[52043] = { 20212,apply.MAX_HP,500}, --Tapferer Löwe
[52044] = { 20212,apply.DEF_GRADE_BONUS,150}, --Tapferer Löwe
[52045] = { 20212,apply.ATT_GRADE_BONUS,100}, --Tapferer Löwe
 
[52046] = { 20203,'NO_SKILL',0}, --Junger Tiger
[52047] = { 20203,'NO_SKILL',0}, --Junger Tiger
[52048] = { 20203,'NO_SKILL',0}, --Junger Tiger
[52049] = { 20203,'NO_SKILL',0}, --Junger Tiger
[52050] = { 20203,'NO_SKILL',0}, --Junger Tiger
[52051] = { 20207,apply.ATTBONUS_MONSTER,3}, --Wilder Tiger
[52052] = { 20207,apply.EXP_DOUBLE_BONUS,3}, --Wilder Tiger
[52053] = { 20207,apply.MAX_HP,250}, --Wilder Tiger
[52054] = { 20207,apply.DEF_GRADE_BONUS,50}, --Wilder Tiger
[52055] = { 20207,apply.ATT_GRADE_BONUS,30}, --Wilder Tiger
[52056] = { 20211,apply.ATTBONUS_MONSTER,5}, --Tapferer Tiger
[52057] = { 20211,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Tiger
[52058] = { 20211,apply.MAX_HP,500}, --Tapferer Tiger
[52059] = { 20211,apply.DEF_GRADE_BONUS,150}, --Tapferer Tiger
[52060] = { 20211,apply.ATT_GRADE_BONUS,100}, --Tapferer Tiger
 
[52061] = { 20213,'NO_SKILL',0}, --Junger Rentier-Siegel (m)
[52062] = { 20213,'NO_SKILL',0}, --Junger Rentier-Siegel (m)
[52063] = { 20213,'NO_SKILL',0}, --Junger Rentier-Siegel (m)
[52064] = { 20213,'NO_SKILL',0}, --Junger Rentier-Siegel (m)
[52065] = { 20213,'NO_SKILL',0}, --Junger Rentier-Siegel (m)
[52066] = { 20214,apply.ATTBONUS_MONSTER,3}, --Wilder Rentier-Siegel (m)
[52067] = { 20214,apply.EXP_DOUBLE_BONUS,3}, --Wilder Rentier-Siegel (m)
[52068] = { 20214,apply.MAX_HP,250}, --Wilder Rentier-Siegel (m)
[52069] = { 20214,apply.DEF_GRADE_BONUS,50}, --Wilder Rentier-Siegel (m)
[52070] = { 20214,apply.ATT_GRADE_BONUS,30}, --Wilder Rentier-Siegel (m)
[52071] = { 20215,apply.ATTBONUS_MONSTER,5}, --Tapferer Rentier-Siegel (m)
[52072] = { 20215,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Rentier-Siegel (m)
[52073] = { 20215,apply.MAX_HP,500}, --Tapferer Rentier-Siegel (m)
[52074] = { 20215,apply.DEF_GRADE_BONUS,150}, --Tapferer Rentier-Siegel (m)
[52075] = { 20215,apply.ATT_GRADE_BONUS,100}, --Tapferer Rentier-Siegel (m)
 
[52076] = { 20216,'NO_SKILL',0}, --Junger Rentier-Siegel (w)
[52077] = { 20216,'NO_SKILL',0}, --Junger Rentier-Siegel (w)
[52078] = { 20216,'NO_SKILL',0}, --Junger Rentier-Siegel (w)
[52079] = { 20216,'NO_SKILL',0}, --Junger Rentier-Siegel (w)
[52080] = { 20216,'NO_SKILL',0}, --Junger Rentier-Siegel (w)
[52081] = { 20217,apply.ATTBONUS_MONSTER,3}, --Wilder Rentier-Siegel (w)
[52082] = { 20217,apply.EXP_DOUBLE_BONUS,3}, --Wilder Rentier-Siegel (w)
[52083] = { 20217,apply.MAX_HP,250}, --Wilder Rentier-Siegel (w)
[52084] = { 20217,apply.DEF_GRADE_BONUS,50}, --Wilder Rentier-Siegel (w)
[52085] = { 20217,apply.ATT_GRADE_BONUS,30}, --Wilder Rentier-Siegel (w)
[52086] = { 20218,apply.ATTBONUS_MONSTER,5}, --Tapferer Rentier-Siegel (w)
[52087] = { 20218,apply.EXP_DOUBLE_BONUS,5}, --Tapferer Rentier-Siegel (w)
[52088] = { 20218,apply.MAX_HP,500}, --Tapferer Rentier-Siegel (w)
[52089] = { 20218,apply.DEF_GRADE_BONUS,150}, --Tapferer Rentier-Siegel (w)
[52090] = { 20218,apply.ATT_GRADE_BONUS,100}, --Tapferer Rentier-Siegel (w)
 
[52091] = { 20223,'NO_SKILL',0}, --drakor
[52092] = { 20223,'NO_SKILL',0}, --drakor
[52093] = { 20223,'NO_SKILL',0}, --drakor
[52094] = { 20223,'NO_SKILL',0}, --drakor
[52095] = { 20223,'NO_SKILL',0}, --drakor
[52096] = { 20224,apply.ATTBONUS_MONSTER,3}, --drakor
[52097] = { 20224,apply.EXP_DOUBLE_BONUS,3}, --drakor
[52098] = { 20224,apply.MAX_HP,250}, --drakor
[52099] = { 20224,apply.DEF_GRADE_BONUS,50}, --drakor
[52100] = { 20224,apply.ATT_GRADE_BONUS,30}, --drakor
[52101] = { 20225,apply.ATTBONUS_MONSTER,5}, --drakor
[52102] = { 20225,apply.EXP_DOUBLE_BONUS,5}, --drakor
[52103] = { 20225,apply.MAX_HP,500}, --drakor
[52104] = { 20225,apply.DEF_GRADE_BONUS,150}, --drakor
[52105] = { 20225,apply.ATT_GRADE_BONUS,100} --drakor
 
--20201 boar_0 --junger
--20202 dog_god_0 --junger
--20203 fire_tiger_0 --junger
--20204 lion_0 --junger
 
--20205 boar_2 --Wilder
--20206 dog_god_2 --Wilder
--20207 fire_tiger_2 --Wilder
--20208 lion_2 --Wilder
 
--20209 boar_3 --Tapfer
--20210 dog_god_3 --Tapfer
--20211 fire_tiger_3 --Tapfer
--20212 lion_3 --Tapfer --Tapfer
 
--20213 reindeer_male1  --junger
--20214 reindeer_male2 --Wilder
--20215 reindeer_male3
 
--20216 reindeer_female1  --junger
--20217 reindeer_female2 --Wilder
--20218 reindeer_female3 --Tapfer
}
local ride_npc = mounts_bonus[a][1]
local ride_time = 60*60*5 --item.get_socket(2)*60
local ride_skill = mounts_bonus[a][2]
local ride_value = mounts_bonus[a][3]
pc.mount(ride_npc,ride_time)
--chat("#debug#ride_npc "..ride_npc.."")
--chat("#debug#ride_time "..ride_time.."")
--chat("#debug#ride_skill "..ride_skill.."")
--chat("#debug#ride_value "..ride_value.."")
--chat("debug#vnum "..vnum.."")
if vnum >= 52001 and vnum <= 52005
or vnum >= 52016 and vnum <= 52020
or vnum >= 52031 and vnum <= 52035
or vnum >= 52046 and vnum <= 52050
or vnum >= 52061 and vnum <= 52065
or vnum >= 52076 and vnum <= 52080
or vnum >= 52091 and vnum <= 52095 then --Junge Mounts (30+ Bewegungspeed)
pc.mount_bonus(apply.MOV_SPEED, 30, ride_time )
--chat("debug# 30 speed")
return true
elseif vnum >= 52006 and vnum <= 52010
or vnum >= 52021 and vnum <= 52025
or vnum >= 52036 and vnum <= 52040
or vnum >= 52051 and vnum <= 52055
or vnum >= 52066 and vnum <= 52070
or vnum >= 52081 and vnum <= 52085
or vnum >= 52096 and vnum <= 52100 then --Wilde Mounts (40+ Bewegungspeed)
pc.mount_bonus(apply.MOV_SPEED, 40, ride_time )
pc.mount_bonus(ride_skill, ride_value, ride_time)
--chat("debug# 40 speed")
return true
elseif vnum >= 52011 and vnum <= 52015
or vnum >= 52026 and vnum <= 52030
or vnum >= 52041 and vnum <= 52045
or vnum >= 52056 and vnum <= 52060
or vnum >= 52071 and vnum <= 52075
or vnum >= 52086 and vnum <= 52090
or vnum >= 52101 and vnum <= 52105 then --Tapferere Mounts (50+ Bewegungspeed)
pc.mount_bonus(apply.MOV_SPEED, 50, ride_time)
pc.mount_bonus(ride_skill, ride_value, ride_time )
--chat("debug# 50 speed")
return true
else
--syschat("Power Mount: FEHLERCODE #00123#")
return false
end
end
 
end
end
Enlace para comentar
Compartir en otros sitios

local mounts_bonus = {

 

En la lineas de abajo, aparece:

 

ID   -          ID montura - Bonus montura - Porcentaje montura.

[52002] = { 20201,'NO_SKILL',0},

cierto gracias, me confundia que la primera montura no aparece en el mob proto. merci

Enlace para comentar
Compartir en otros sitios

Vete a la tabla mob_proto, buscas la montura que quieres editar, y creo que habia un campo que era MOB_SPEED o algo asi, ahi le aumentas y aumenta la velocidad de la montura.

De esta forma no funciona, alguna otra idea?

Enlace para comentar
Compartir en otros sitios

  • 11 months later...
En 12/1/2017 a las 16:15, Akino dijo:

Sencillo, una quest que aumente la velocidad.

 

Ojo, el tope de velocidad es 200, si supera esa velocidad seguirá corriendo igual, puedes utilizar esta quest:

 

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

 

Reemplaza el ID_OBJETO e ID_MONTURA_PROTO por tus ID's.

Pero si no tengo source 200 es poco no? quiero que vaya muy rápido.

Alguna otra idea?

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

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