Register forum user name Search FAQ

Gammon Forum

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 ➜ Hitpoints....

Hitpoints....

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Rayze   (9 posts)  Bio
Date Sun 27 Oct 2002 06:10 PM (UTC)
Message
Is there a way to increase the max number of hitpoints? You know... before they go into the negatives...

Thanks...

Rayze
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #1 on Sun 27 Oct 2002 06:27 PM (UTC)
Message
yes under mud.h look for struct CHAR_DATA
in there there withh be somethign that looks like...


sh_int hit;
sh_int max_hit;
sh_int mana;
sh_int max_mana;
sh_int move;
sh_int max_move;

if you want to change just replace sh_int with int or another interger variable type like,

int hit;
int max_hit;
int mana;
int max_mana;
int move;
int max_move;
Top

Posted by Rayze   (9 posts)  Bio
Date Reply #2 on Sun 27 Oct 2002 09:16 PM (UTC)
Message
Thanks
Top

Posted by Chris L   USA  (57 posts)  Bio
Date Reply #3 on Mon 28 Oct 2002 02:56 AM (UTC)
Message
you also have to change build.c from like
if ( value < 1 || value > 32700 )
to
if ( value < 1 || value > 327000 )
or something to be able to mset higher, not sure if u got that but can be for anyone else who looks through these for reference
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.


15,029 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.