LordOfLighT scrie:Primul bug: Am quest mounturi dar cand te dai jos de pe el ramane in slot!! Stie cineva rezolvarea?(Am tot schimbat pe questuri)
Ce extern i-ai pus ?
Uite aici quest
[hidden][spoil]quest ride begin
state start begin
function Ride( vnum, remain_time )
ride_info = {
[52011] = { 20209, 240*60,apply.ATTBONUS_MONSTER, 5,1, false }, --blau
[52012] = { 20209, 240*60,apply.EXP_DOUBLE_BONUS, 1,1, false }, --blau
[52013] = { 20209, 240*60,apply.MAX_HP, 500,1, false }, --blau
[52014] = { 20209, 240*60,apply.DEF_GRADE_BONUS, 150,1, false }, --blau
[52015] = { 20209, 240*60,apply.ATT_GRADE_BONUS, 100,1, false }, --blau
[52026] = { 20210, 240*60,apply.ATTBONUS_MONSTER, 5,1, false }, --blau
[52027] = { 20210, 240*60,apply.EXP_DOUBLE_BONUS, 1,1, false }, --blau
[52028] = { 20210, 240*60,apply.MAX_HP, 500,1, false }, --blau
[52029] = { 20210, 240*60,apply.DEF_GRADE_BONUS, 150,1, false }, --blau
[52030] = { 20210, 240*60,apply.ATT_GRADE_BONUS, 100,1, false }, --blau
[52056] = { 20211, 240*60,apply.ATTBONUS_MONSTER, 5,1, false }, --blau
[52057] = { 20211, 240*60,apply.EXP_DOUBLE_BONUS, 1,1, false }, --blau
[52058] = { 20211, 240*60,apply.MAX_HP, 500,1, false }, --blau
[52059] = { 20211, 240*60,apply.DEF_GRADE_BONUS, 150,1, false }, --blau
[52060] = { 20211, 240*60,apply.ATT_GRADE_BONUS, 100,1, false }, --blau
[52041] = { 20212, 240*60,apply.ATTBONUS_MONSTER, 5,1, false }, --blau
[52042] = { 20212, 240*60,apply.EXP_DOUBLE_BONUS, 1,1, false }, --blau
[52043] = { 20212, 240*60,apply.MAX_HP, 500,1, false }, --blau
[52044] = { 20212, 240*60,apply.DEF_GRADE_BONUS, 150,1, false }, --blau
[52045] = { 20212, 240*60,apply.ATT_GRADE_BONUS, 100,1, false }, --blau
[71114] = { 20110, 240*60,apply.ATTBONUS_MONSTER, 10,1, false }, --
[71115] = { 20111, 240*60,apply.DEF_GRADE_BONUS, 40,1, false }, --
[71116] = { 20112, 240*60,apply.DEF_GRADE_BONUS, 60,1, false }, --
[71117] = { 20113, 240*60,apply.DEF_GRADE_BONUS, 80,1, false }, --
[71118] = { 20112, 5*60, apply.DEF_GRADE_BONUS, 125, 85, true },
[71119] = { 20112, 5*60, apply.DEF_GRADE_BONUS, 200, 85, false },
[71120] = { 20113, 5*60, apply.ATT_GRADE_BONUS, 200, 85, true },
[71121] = { 20113, 5*60, apply.ATT_GRADE_BONUS, 300, 85, false },
[71124] = { 20114, 240*60,apply.EXP_DOUBLE_BONUS, 10,1, false }, --
[71125] = { 20115, 240*60,apply.ATTBONUS_MONSTER, 20,1, false }, --
[71126] = { 20116, 240*60,apply.STEAL_HP, 15,1, false }, --
[71127] = { 20117, 240*60,apply.HP_REGEN, 50,1, false }, --
[71131] = { 20119, 5*60, apply.MOV_SPEED, 60, 1, false },
[71132] = { 20119, 5*60, apply.MOV_SPEED, 60, 1, false },
[71133] = { 20119, 5*60, apply.MOV_SPEED, 60, 1, false },
[71134] = { 20119, 5*60, apply.MOV_SPEED, 60, 1, false },
[71161] = { 20219, 5*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71171] = { 20227, 5*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71172] = { 20226, 5*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71176] = { 20231, 5*60, apply.MOV_SPEED, 60, 1, false, false, false},
[71177] = { 20232, 5*60, apply.MOV_SPEED, 60, 1, false, false, false},
}
if pc.level < ride_info[vnum][5] then
syschat("|cFF00ff33[WildStory2] >|h |cFFf7eccc|hNivelul tău este prea mic.")
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 52011.use or 52012.use or 52013.use or 52014.use
or 52015.use or 52026.use or 52027.use or 52028.use
or 52029.use or 52030.use or 52056.use or 52057.use
or 52058.use or 52059.use or 52060.use or 52041.use
or 52042.use or 52043.use or 52044.use or 52045.use
or 71114.use or 71115.use or 71116.use or 71117.use
or 71118.use or 71119.use or 71120.use or 71121.use
or 71124.use or 71125.use or 71126.use or 71127.use
or 71131.use or 71132.use or 71133.use or 71134.use
or 71161.use or 71171.use or 71172.use or 71176.use
or 71177.use begin
if pc.is_polymorphed() then
syschat("Nu poţi călări cât timp eşti transformat.")
elseif false == pc.is_riding() then
if true == horse.is_summon() then
horse.unsummon()
end
ride.Ride(item.vnum, 0)
else
syschat("Ai deja un mount lângă tine.")
end
end
end
end[/spoil][/hidden]