powerlevel gain

Posted by Jinru on Fri 26 Mar 2004 05:34 PM — 4 posts, 14,961 views.

USA #0
Ok so far i juse need help on making a powerlevel gain can somone please help me
USA #1
What codebase do you use? What modifications have you made? We need more information before we can get you started.
USA #2
The codebase I am using is smaug revision 5 and so far what have i done was made a mset for pl and made it save the pl so when u quit and log back on it is there also made it in prompt.
USA #3
Sorry it took me a while go post back here. For gain I'm not sure how you would want to do it, but at every level is what I'm guessing. Not sure the algorithim you want to use, so you can edit it.

int gain_power( CHAR_DATA *ch )
{
  int add_pl;

  add_pl = (ch->level+(get_curr_str(ch)*100))*2;

  return add_pl;
}

Then in advance_level:

ch->max_pl += gain_power( ch );

Something like that perhaps? Something else to note is that you could probably get high powered with an algorithim like that.