[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Hitpoints....

Hitpoints....

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


Posted by Rayze   (9 posts)  [Biography] 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
[Go to top] top

Posted by Typhon   USA  (112 posts)  [Biography] 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;
[Go to top] top

Posted by Rayze   (9 posts)  [Biography] bio
Date Reply #2 on Sun 27 Oct 2002 09:16 PM (UTC)
Message
Thanks
[Go to top] top

Posted by Chris L   USA  (57 posts)  [Biography] 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
[Go to top] 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,017 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]