> Finally getting around to this after a long list of other things that > my realm demanded. I was informed that Merc/ROM (or one of the other > MUD code bases) had a stock function for weapon skills to determine > usage, as well as a system to gain knowledge in your spells and skills > from using them in battle. > > Just looking to verify if this is truth or myth. -- [snip] -- Okay I know for fact this is true and is implementable in Circle, there is a snippet for it on the FTP site. It's called weapon proficiency or something like that. It's really easy to mess with and change it to any skills/spells.. It's actually not that hard to do.. <mailer code> In any skill add this increase_prof(ch, SKILL_NAME_HERE); but this in... act.other.c I guess :) void increase_prof(character *ch, int skill){ if(GET_SKILL(ch, skill) >= random(1,some_number_depending_on_how_hard_you_want)){ GET_SKILL(ch,skill) += 1//or 2 or 3 or whatever; send_to_char("You feel you skill improving..",ch); } } </mailer code> Now that will need alot of fixing as I haven't messed with Circle in a while but it should give you the idea I hope 8-P +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT