> damage( ch, victim, fKill?number_range(low,high) : > UMIN(blah), (fourth_argument), DAM_NONE, TRUE); > > What will I put for the fourth argument in the damage > line? I know this is a simple answer, I'm just brain > dead right now :P Thanks. > -Matt
So easy, in fact that you'll kick yourself once you hear the answer. First, you need to realize that changing damage itself will invalidate all functions requiring damage. You're not after mpdamage being changed in the previous example, you're after damage() being changed(big big big difference), and a HELL of a lot more work. Now, why are you trying to insert the fourth argument in the MIDDLE of everything? Put it at the END, where it should be. Why? Here's why: Everything in damage() already works as is, out of the box, no? Inserting crap in the MIDDLE of the statement or call to it will just SERIOUSLY screw up your calls to the damage function (as if they wouldn't be already by changing the damage code itself). Put fourth_argument where it should be, at the END of the damage call!! Remember, you have to not only change the calls to damage(), you ALSO have to change the declaration of it in merc.h (if one exists), and ALL other declarations of it. -- TJW :Head tech, designer, bum:P Mud :http://dreamless.wolfstream.net telnet :telnet://dreamless.wolfstream.net 9275 OLC Pages:http://olc.wolfstream.net

