Cerere quest
Salut,aș dori și eu un quest compatibil pentru mount-uri (cand apăs pe mount ,nu mă urca pe el),folosesc svf randy.Mă poate ajuta cineva vă rog?!
Ultima oară modificat 24 Aug 2017, 20:57 de către B.Mihai, modificat 1 dată în total.
Motiv: Probleme gramaticale
Motiv: Probleme gramaticale
up
up
Chiar nimeni??
[ Postat de pe Android ]
[ Postat de pe Android ]

- [RaffaeL]
-

- Mesaje: 3223
- Membru din: 19 Mar 2016, 12:58
- Server: ...
- Aprecieri: 15
- Mulţumiri: 2502
- Rezolvări prob.: 2
- Discord: Copiază ID
- Contact:
Poftim:adrianadyy scrie:Chiar nimeni??
[ Postat de pe Android ]
Cod: Selectaţi tot
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 },
[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 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
endDaca doresti ca aceste sa fie permanente, schimba "5*60" cu "60*60*24*365" (asa vor fi active un an intreg...)
Poti adauga cate mounturi doresti, daca respecti formatul din quest.
Răspunsuri
6 Vizualizări
352
6 Vizualizări
352
Răspunsuri
2 Vizualizări
463
2 Vizualizări
463
Răspunsuri
5 Vizualizări
1777
5 Vizualizări
1777
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 11 vizitatori



