On Fri, 28 Jun 1996, Mud Admin wrote: [...snip...] > Line 244 of the code is not part of the do_turn skill I was working on. > It is part of the do_order command that is further down the > act.offensive.c file. Since I did not make any changes to the do_order > code, I would assume that it is the do_turn that is causing the problem. > > Here is my code: > > ACMD(do_turn) > { > struct char_data *vict; > int turn_level, percent, prob, skill_num; [...bunch of code snipped...] > percent = number(1, 101); /* 101% is a complete failure */ > prob = GET_SKILL(ch, SKILL_TURNING); > > sprintf(buf, "You scored %d percent, with a %d probibility.\r\n", > percent, prob); > sprintf(buf, "You turn at level %d a %d HD undead.\r\n, turn_level, ............................................MISSING QUOTE^^^ [...rest of code snipped...] > NOTICE: It is not supposed to do anything yet, if the turn is > successful...I just want to get the framework in place, and then figure > out what I want to do about turning, destroying, charming etc undead targets. > > Help/advice is appreacited. Flames are not. > > --Ziz, NetShamen > >
This archive was generated by hypermail 2b30 : 12/18/00 PST