update.c: ch->practice += add_prac;
update.c: add_hp, ch->max_hit, 1, ch->level + 10, add_move, ch ->max_move, add_prac, ch->practice );
update.c: add_hp, ch->max_hit, add_mana, ch->max_mana, add_mov e, ch->max_move, add_prac, ch->practice );
gorock@frostmud:~/mud/src$ grep 'taught' *.c
act_info.c: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taugh t you everything I can about %s.'",
gorock@frostmud:~/mud/src$ grep 'taught' *.c
act_info.c: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taugh t you everything I can about %s.'",
gorock@frostmud:~/mud/src$ pico act_info.c
gorock@frostmud:~/mud/src$ grep 'taught' *.c -n
act_info.c:3440: snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taught you everything I can about %s.'",
gorock@frostmud:~/mud/src$ pico act_info.c
UW PICO(tm) 4.9 File: act_info.c Modified
mob, NULL, ch, TO_VICT );
return;
}
*/
adept = ( int )( class_table[ch->Class]->skill_adept * 0.2 );
if( ch->pcdata->learned[sn] >= adept )
{
snprintf( buf, MAX_STRING_LENGTH, "$n tells you, 'I've taught you everything I can abou$
skill_table[sn]->name );
act( AT_TELL, buf, mob, NULL, ch, TO_VICT );
act( AT_TELL, "$n tells you, 'You'll have to practice it on your own now...'", mob, NUL$
}
else
{
ch->practice--;
ch->pcdata->learned[sn] += int_app[get_curr_int( ch )].learn;
act( AT_ACTION, "You practice $T.", ch, NULL, skill_table[sn]->name, TO_CHAR );
act( AT_ACTION, "$n practices $T.", ch, NULL, skill_table[sn]->name, TO_ROOM );
if( ch->pcdata->learned[sn] >= adept )
{
ch->pcdata->learned[sn] = adept;
act( AT_TELL, "$n tells you. 'You'll have to practice it on your own now...'", mob, $
}
}
}
return;
i think this is what you asked for |