Hello all:)
I'm tryin' to show what level a spell is in the prac command..
This is what I've got:
if (GET_LEVEL(ch) >= spell_info[i].min_level[(int) GET_CLASS(ch)]) {
sprintf(buf, "%-20s (level %d) %s\r\n", spells[i],
spell_info[i].min_level[(int) GET_CLASS(ch)], how_good(GET_SKILL(ch, i)));
strcat(buf2, buf);
}
That's in spec_procs.c, list_skills
But when I do prac I get:
armor (level 50) [********]
backstab (level 104) [********]
barkskin (level 104) [********]
bash (level 12) [********]
bless (level 104) [********]
blindness (level 62) [********]
burning hands (level 104) [********]
Almost all the spells say LEVEL_IMM but the skils work... Anyone have an
idea why? Thanks!
Corey Hoitsma AKA -= Myrddin =-
choitsma@netcom.com
Tazmania tazmania.ah.net 7000
This archive was generated by hypermail 2b30 : 12/18/00 PST