Not that I care (since I've changed things so much), but I think this is a not-such-a-great idea. All you get is one really long function which will not look very neat. I don't even like the spell system really...one function per skill..nice and neat...(ok, some of the same code is repeated in each function..but still..easier to work with). > > I was thinking.. maybe we could make all the skills run thru the > same command, much like the 'cast' spell. > > A skill entry could look like this: (in the command list) > > { "bash", POS_FIGHTING, do_skill, 0, SKILL_BASH }, > > > And do_skill would have a case SKILL_BASH: <code for bash here>. > +------------------------------------------------------------+ | 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