Hello, I am trying to get this bit of code so that when a person remorts
they can practice all the skills of thier previous skills.
The problem is when I change this they can practive ALL skills/spells,
and i want them to only prac what they have at current level or have from
remort. Remort is at lvl_immort -1.
if ((skill_num < 1 ||
(GET_LEVEL(ch) < spell_info[skill_num].min_level[(int)GET_CLASS(ch)] &&
(LVL_IMMORT - 1) <
spell_info[skill_num.min_level[(int)GET_REMORT(ch)] &&
(LVL_IMMORT - 1) <
spell_info[skill_num.min_level[(int)GET_REMORT_TWO(ch)] &&
(LVL_IMMORT - 1) <
spell_info[skill_num.min_level[(int)GET_REMORT_THREE(ch)])){
sprintf(buf, "You do not know of that %s.\r\n", SPLSKL(ch));
send_to_char(buf, ch);
return 1;
}
Thanks for any help you can offer :)
Malcor
+------------------------------------------------------------+
| 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/15/00 PST