Pet lv and Ship exp

Newbie Spellweaver
Joined
Aug 18, 2008
Messages
16
Reaction score
0
Does any know how to increase the max lv of pet, to say 61? and where to change ship exp ? Thank you for help in advance.
 
Its kinda easy .
Fairy :
-scripts/calculate/function.lua search for function elf_lvup
Find this line :
local a = 1 / ( math.floor ( ( 1 + ( math.pow ( ( Lv / 10 ) , 3 ) ) ) * 10 ) / 10 * math.max ( 0.01 ,( 1 - attr_type_num * 0.05 ) ) )

if Lv >= 40 then
a = 1 / ( math.floor ( ( 1 + ( math.pow ( ( Lv / 10 ) , 3 ) ) ) * 10 ) / 10 ) * math.max ( 0.01 ,( 1 - attr_type_num * 0.05 ) )
end

change it to :

local a = 1 / ( math.floor ( ( 1 + ( math.pow ( ( Lv / 10 ) , 3 ) ) ) * 10 ) / 10 * math.max ( 0.01 ,( 1 - attr_type_num * 0.05 ) ) )

if Lv >= 61 then
a = 0
end

Bye
 
Last edited:
Back