Salutare,
are cineva idee cum pot adauga bonusuri la un mount gen Ren?
Bonusuri mount
Acesta este quest-ul folosit.... cum trebuie sa adaug la sigiliul 52061 ca sa bag bonusuri?
quest ride begin
state start begin
function Ride( vnum )
ride_info = {
[71124] = { 20114, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71125] = { 20115, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71126] = { 20116, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71127] = { 20117, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71128] = { 20118, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71137] = { 51001, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71138] = { 51002, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71139] = { 20230, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71140] = { 20231, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71141] = { 20232, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[52061] = { 20217, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71142] = { 20225, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
}
if pc.level < ride_info[vnum][5] then
say_title("Informaþie:")
say("Nu ai nivelul necesar pentru a îmblânzi acest")
say("mount, înearcã mai târziu.")
return
elseif pc.is_polymorphed() then
say_title("Informaþie:")
say("Nu poþi face aºa ceva cât timp eºti transformat.")
return
elseif pc.is_riding() then
say_title("Informaþie:")
say("Nu poþi face aºa ceva, deoarece eºti")
say("deja pe un mount..")
return
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when 71124.use or 71125.use or 71126.use or 71127.use or 52061.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin
if pc.get_map_index() == 113 and not pc.is_gm() then
return
end
ride.Ride(item.get_vnum())
end
when login begin
if pc.get_map_index() == 113 and not pc.is_gm() then
return
end
local vnum, remain_time = pc.get_special_ride_vnum()
if 0 != vnum then
if pc.is_polymorphed() then
return
elseif pc.is_riding() then
return
else
ride.Ride(vnum, remain_time)
end
end
end
end
end
quest ride begin
state start begin
function Ride( vnum )
ride_info = {
[71124] = { 20114, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71125] = { 20115, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71126] = { 20116, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71127] = { 20117, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71128] = { 20118, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71137] = { 51001, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71138] = { 51002, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71139] = { 20230, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71140] = { 20231, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71141] = { 20232, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[52061] = { 20217, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
[71142] = { 20225, 5*60,apply.DEF_GRADE_BONUS, 5,1, false },
}
if pc.level < ride_info[vnum][5] then
say_title("Informaþie:")
say("Nu ai nivelul necesar pentru a îmblânzi acest")
say("mount, înearcã mai târziu.")
return
elseif pc.is_polymorphed() then
say_title("Informaþie:")
say("Nu poþi face aºa ceva cât timp eºti transformat.")
return
elseif pc.is_riding() then
say_title("Informaþie:")
say("Nu poþi face aºa ceva, deoarece eºti")
say("deja pe un mount..")
return
else
pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when 71124.use or 71125.use or 71126.use or 71127.use or 52061.use or 71128.use or 71137.use or 71138.use or 71139.use or 71140.use or 71141.use or 71142.use begin
if pc.get_map_index() == 113 and not pc.is_gm() then
return
end
ride.Ride(item.get_vnum())
end
when login begin
if pc.get_map_index() == 113 and not pc.is_gm() then
return
end
local vnum, remain_time = pc.get_special_ride_vnum()
if 0 != vnum then
if pc.is_polymorphed() then
return
elseif pc.is_riding() then
return
else
ride.Ride(vnum, remain_time)
end
end
end
end
end
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 168 vizitatori









de