> I was thinking of a skill called unarmed damage for monks, this skill > would make it so say.. every 5 levels they get a new damage amount out > of an array. I.e. > 5th level would be 1d4 [...] > In my mud's case, I made it a natural ability of a monk as they progress in levels, not a skill...but that could easily be added if you wish. Search in fight.c around line 820-830 or so, where it calculates barehand dam as 1d2 and put something like this before it. Note, I am sure this is horribly inefficiant way of accomplishing this, but it works for now. :) else { /* monk's barehand damage per level */ if (GET_CLASS(ch) == CLASS_MONK) { switch (GET_LEVEL(ch)) { case 1: case 2: case 3: case 4: case 5: dam += dice(1, 4); break; case 6: case 7: case 8: case 9: case 10: dam += (dice(2, 4) + 2); break; case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: dam += (dice(3, 4) + 4); break; case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: dam += (dice(5, 5) + 6); break; default: /* should never default, but just in case */ dam += dice(1, 4); break; } } +-----------------------------------------------------------+ | 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