nupCristianDrăgan scrie:Înainte să îl foloseşti, nu îţi arată niciun timp?
bug mount
am cautat si nu am gasitgeorge21 scrie:Sterge quest-ul vechi si cauta altul pe net .
Il stergi si din /quest/object/xxxxxxx
- [Andrew]
-

- Mesaje: 1174
- Membru din: 02 Mar 2015, 19:57
- Server: KING2.RO
- Regat: Chunjo
- Aprecieri: 98
- Mulţumiri: 25
- Discord: Copiază ID
- Contact:
poftim
Cod: Selectaţi tot
quest ride begin
state start begin
function Ride( vnum, remain_time )
ride_info = {
[71114] = { 20110, 5*60, apply.ATT_GRADE_BONUS, 100, 1, true },
[71115] = { 20110, item.get_socket(2)*60, apply.ATT_GRADE_BONUS, 100, 1, false },
[71116] = { 20111, 5*60, apply.ATT_GRADE_BONUS, 100, 1, true },
[71117] = { 20111, item.get_socket(2)*60, apply.ATT_GRADE_BONUS, 100, 1, false },
[71118] = { 20112, 5*60, apply.ATT_GRADE_BONUS, 100, 1, true },
[71119] = { 20112, item.get_socket(2)*60, apply.ATT_GRADE_BONUS, 100, 1, false },
[71120] = { 20113, 5*60, apply.ATT_GRADE_BONUS, 100, 1, true },
[71121] = { 20113, item.get_socket(2)*60, apply.ATT_GRADE_BONUS, 300, 1, false },
[71171] = { 20227, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71172] = { 20226, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71176] = { 20231, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71177] = { 20232, item.get_socket(2)*60, apply.MOV_SPEED, 60, 1, false, false, false},
}
if pc.level < ride_info[vnum][5] then
say("")
say("Bineði kullanabilmek için seviyeniz yeterli deðil.")
say("")
else
if 112 == pc.get_map_index() then
return
end
if ride_info[vnum][2] == 0 and remain_time != 0 then
pc.mount( ride_info[vnum][1], remain_time*60 )
pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], remain_time*60 )
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] )
end
if true == ride_info[vnum][6] then
pc.remove_item(vnum, 1)
end
end
end
when login begin
local vnum, remain_time = pc.get_special_ride_vnum()
if vnum <= 71113 or vnum >71121 then
return
end
if 0 != vnum then
ride.Ride(vnum, remain_time)
end
end
when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use
or 71171.use or 71172.use or 71176.use or 71177.use begin
if pc.is_polymorphed() then
say("")
say("Nu poi calarii cat esti transformat.")
say("")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride.Ride(item.vnum, 0)
else
say("")
say("Ai un mount chemat deja!")
say("")
end
end
end
end
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: marian261 și 42 vizitatori


