> Skylar wrote: > > > > > > if (GET_SKILL(ch, SKILL_BIG_FIRE) >= GET_SKILL(ch, SKILL_SMALL_FIRE)) { > > sprintf(buf, "You do not have the background to learn %s now.\r\n", > > spells[SKILL_BIG_FIRE]); > > send_to_char(buf, ch); > > return; > > } > > > > In the guildmaster process. > > > > -Sky > > Thanks... now for another further development of it: > > How do I prevent the BIG fireball from showing up > on the prac list until the SMALL fireball has been > practised ? > Why not add to spello a "prerequisite" skill field. So in the field for small fireball you'd put 0, but in big fireball you would put SPELL_SMALL_FIREBALL, and add a check in the guild spec_proc for practicing, and in list_skills() that GET_SKILL(ch, <prereq skill>) > 0 or you can't practice the skill. This way, it's pretty generic, and you can add prereq's for anything. Brazil +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST