}
else
{
+ updateTS(source->stats);
if (p->forest_fights <= 0)
{
notice(s_GameServ, u, "You are out of forest fights for the day. Wait "\
"till tomorrow!");
return;
}
- else if (!is_fighting(u))
+ else if (!is_fighting(source))
{
int eventnum = rand() % 100;
p->forest_fights--;
notice(s_GameServ, u, "You search the forest for something to kill...");
- // 85% of forest searching turns up a monster
- if (eventnum >= 15)
+ // 88% of forest searching turns up a monster
+ if (eventnum >= 12)
{
p->fight = new Monster(monsters[p->level - 1][num]);
notice(s_GameServ, u, "You have found \ 2%s\ 2!", p->fight->name);
p->master = NULL; // Just to make sure
display_monster(u);
}
- else if (eventnum < 15 && eventnum >= 5) // 10% for the fountain
+ else if (eventnum < 12 && eventnum >= 5) // 7% for the fountain
{
notice(s_GameServ, u, "In your path lies a beautiful fountain from which flows the crystal waters of life.");
notice(s_GameServ, u, "You wet your lips on the cool blue waters and feel rejuvenated");
- p->forest_fights += 10;
p->hp = p->maxhp;
}
else if (eventnum < 5) // 5 % for the wishing well