View Single Post
  #2  
Old 08-13-2007, 03:21 AM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Default

Piqued my interest too, it seems hardcoded to 8, exp.cpp, line 457+:
Code:
  sint16 diff = cmember->GetLevel() - maxlevel;
  if (diff >= -8) { /*Instead of person who killed the mob, the person who has the highest level in the group*/
    uint32 tmp = (cmember->GetLevel()+3) * (cmember->GetLevel()+3) * 75 * 35 / 10;
    uint32 tmp2 = groupexp / membercount;
    cmember->AddEXP( tmp < tmp2 ? tmp : tmp2, conlevel );
Just change the diff comparrison, or better still, replace it with the formula.

This (probably) isn't valid C code, but I would guess something like:
sint16 expforjoo = (cmember->Getlevel() / 2)+(cmember->Getlevel() +1);
if (expforjoo >= maxlevel)
--etc.

Meaning L46 can gain exp with a L70, L51 with L75 as per live I think...its been a while

Last edited by BWStripes; 08-13-2007 at 11:36 AM..
Reply With Quote