Re: [Code] Skillstat Command for Immorts

From: Sammy (
Date: 02/25/97

On Tue, 25 Feb 1997, John Evans wrote:

> I found that sometimes I wanted to give a character a 10% boost (or
> penalty) to a particular skill or spell for a finished quest, or as
> punishment or for whatever reason.
[code snipped]

> That should do it for you. If you find anyway to improve upon this, please
> let me know at

I think I slight improvement would be to throw out the part that assigns
text values of skills (good, poor, etc), and use the numerical value, so
you can see exactly what it's at, and add the 10%.

As an alternative to a new command, and new funtions, here's a quick and
dirty way of doing the same thing.  Just replace do_practice with the

  struct char_data *vict;
  void list_skills(struct char_data * ch, struct char_data * vict);

  one_argument(argument, arg);

  if (*arg) {
    if(GET_LEVEL(ch) >= LVL_IMMORT) {
      if(!(vict = get_char_vis(ch, arg))) {
	send_to_char(NOPERSON, ch);
    list_skills(ch, vict);
    send_to_char("You can only practice skills in your guild.\r\n", ch);
    list_skills(ch, NULL);

Now any imm can type 'practice bob' to get a list of Bob's skills and
their learned levels, as if Bob had typed practice with no arguments.


| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |
|    Or send 'info circle' to     |

This archive was generated by hypermail 2b30 : 12/18/00 PST