Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ powerlevel gain
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Jinru
USA (20 posts) Bio
|
| Date
| Fri 26 Mar 2004 05:34 PM (UTC) |
| Message
| | Ok so far i juse need help on making a powerlevel gain can somone please help me |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #1 on Fri 26 Mar 2004 09:46 PM (UTC) |
| Message
| | What codebase do you use? What modifications have you made? We need more information before we can get you started. |
~Nick Cash
http://www.nick-cash.com | | Top |
|
| Posted by
| Jinru
USA (20 posts) Bio
|
| Date
| Reply #2 on Sat 27 Mar 2004 06:57 PM (UTC) |
| Message
| | 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. |
-(Jinru)-
admin at
dbzuov.sytes.net port 4003 | | Top |
|
| Posted by
| Nick Cash
USA (626 posts) Bio
|
| Date
| Reply #3 on Mon 29 Mar 2004 02:20 AM (UTC) Amended on Mon 29 Mar 2004 02:24 AM (UTC) by Nick Cash
|
| Message
| 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. |
~Nick Cash
http://www.nick-cash.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
13,041 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top