max blood points

Posted by Tendel on Fri 01 Oct 2004 11:22 PM — 2 posts, 11,175 views.

#0
How do code it so i can have a higher max blood points as if they were mset or modifyed by objects to go above the set base that it has by modifying this i can change the max current bp but not the max base bp(not including level gains) I want it so objects woren incress max base blood.
If anyone can help it would be much appreciated

if ( !str_cmp( arg2, "blood" ) )
{
if ( IS_NPC(victim) )
{
send_to_char( "Not on NPC's.\n\r", ch );
return;
}

if ( value < 0 || value > MAX_LEVEL+10 )
{
ch_printf( ch, "Blood range is 0 to %d.\n\r", MAX_LEVEL+10 );
return;
}
USA #1
I believe that this is much more complicated than what you have, because I think that the blood point maximum isn't actually stored anywhere and is dynamically calculated every time it's needed. I could be wrong, though, since I'm running a heavily modified older version of SMAUG.