Ok I've made multi-classing and as far as I can tell it works. but... in list_skills I have added some code and now gods see 3 of every skill!! how could I change this so we only see one and if two classes have the same skills you wont see it more than once?? Heres the area of code: if (GET_LEVEL(ch) >= spell_info[i].min_level[(int) GET_CLASS(ch)]) { sprintf(buf, "%-20s %s\r\n", spells[i], how_good(GET_SKILL(ch, i))); strcat(buf2, buf); } if (GET_DUAL_LEVEL(ch) >= spell_info[i].min_level[(int) GET_DUAL(ch)]) { sprintf(buf, "%-20s %s\r\n", spells[i], how_good(GET_SKILL(ch, i))); strcat(buf2, buf); } if (GET_TRI_LEVEL(ch) >= spell_info[i].min_level[(int) GET_TRI(ch)]) { sprintf(buf, "%-20s %s\r\n", spells[i], how_good(GET_SKILL(ch, i))); strcat(buf2, buf); } } Thanx, Demond ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Name: Demond LaZaro the Implementor Phone: 1-505-776-8866 Mud: Master's Realm Mud Code Base: CircleMud Addy: realms.org 6969 Addy2: 206.185.32.8 6969 Fax: None (yet :\) E-mail: demond@realms.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST