i added a function and a stat to my mud called pl, i have it declared and i can get it to appear in the prompt and all that... i have added this to update.c
void pl_update(CHAR_DATA *ch)
{
ch->pl = (ch->max_hit * ch->max_move) / 10;
return;
}
which is the function based on what pl is calculated at... i want it to update every second, but cannot figure out how to do it, would you be able to help me.. i would be very greatful, thanx
matt
void pl_update(CHAR_DATA *ch)
{
ch->pl = (ch->max_hit * ch->max_move) / 10;
return;
}
which is the function based on what pl is calculated at... i want it to update every second, but cannot figure out how to do it, would you be able to help me.. i would be very greatful, thanx
matt