>
> Yes thats an excellent thing... come to think of it, I have a curious
> question.. I extended the damage messages in my mud alot but it never
> seems to display damage over a certain # here is the code
>
> if (dam == 0) msgnum = 0;
> else if (dam <= 4) msgnum = 1;
> else if (dam <= 6) msgnum = 2;
> else if (dam <= 8) msgnum = 3;
> else if (dam <= 11) msgnum = 4;
> else if (dam <= 14) msgnum = 5;
> else if (dam <= 17) msgnum = 6;
> else if (dam <= 21) msgnum = 7;
> else if (dam <= 25) msgnum = 8;
> else if (dam <= 29) msgnum = 9;
> else if (dam <= 33) msgnum = 10;
> else if (dam <= 41) msgnum = 11;
> else if (dam <= 46) msgnum = 12;
> else if (dam <= 51) msgnum = 13;
> else if (dam <= 54) msgnum = 14;
> else if (dam <= 57) msgnum = 15;
> else if (dam <= 61) msgnum = 16;
> else if (dam <= 66) msgnum = 17;
> else if (dam <= 71) msgnum = 18;
> else if (dam <= 76) msgnum = 19;
> else if (dam <= 81) msgnum = 20;
> else if (dam <= 86) msgnum = 21;
> else if (dam <= 91) msgnum = 22;
> else if (dam <= 96) msgnum = 23;
> else if (dam <= 101) msgnum = 24;
> else if (dam <= 106) msgnum = 25;
> else if (dam <= 116) msgnum = 26;
> else if (dam <= 121) msgnum = 27;
> else msgnum = 28;
>
> it never goes above message 23 or 24.. is there a limit on the # of
> messages i can have?
>
Just a quick question, but did you increase the max damage allowed in
fight.c?
in the void damage(...) function there is a line like
dam = MAX(MIN(dam,100), 0); effectively maxing damage donate at 100 hp.
If you haven't, just change the 100 to whatever you want...
sean
+------------------------------------------------------------+
| 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