Re: Bpl 16 Num of Mob Attacks

From: Fabrizio Baldi (baldif@tin.it)
Date: 01/11/00


----- Original Message -----
From: Ray Campbell <deadeye00@home.com>
To: <CIRCLE@POST.QUEENSU.CA>
Sent: Tuesday, January 11, 2000 5:28 PM
Subject: Re: [CIRCLE] Bpl 16 Num of Mob Attacks


> As I do believe I stated Mr. Baldi, is that I just started working on
> this MUD, from what the implementor had told me it was pretty much Stock
> Circle 3.0 bpl16, What he, or any of the other coders added to the MUD
> previous to my arrival I am not aware of, however as an avid fighter for
> the rights of coders, you shall be credited for your work.  However I do
> appreciate the response from you as well as Mr. Buckley and Mr. Ajamian.
> Gooday.
>

I ought you some excuses, even if I meant no offense in my reply to your
post and I've tried to put enough smiling faces ( :-) ) to lift the tone of
my message.. maybe my english is not as good as I think.. :-))

If you don't have already corrected the problem, the fix is very simple:

change:
num_of_attacks += ((int) GET_LEVEL(ch) / 10) - 1;
with:
num_of_attacks += MAX(0, ((int) GET_LEVEL(ch) / 10) - 1);

or better yet, find a more reasonable way to give mobs many attacks.. :-))

In the end, I don't ask for credits now as I've not asked for it in my
snippet, and people are free to use and change my code as they wish.. :-)

I'm just a little upset with people that get credits for other's work and/or
ignore the simple request of sending an email saying: "Hey, I use your code.
Bye".. (he he, whisper that at the implementor's ear of the mud you are
coding for)..

Anyway, excuse me again for the (almost unintentional) rudeness of my
message. If you'll have other problems with that code, feel free to email
me.

so long

Fabrizio
email: baldif@tin.it

"There is always one more bug!"
-- Murphy


     +------------------------------------------------------------+
     | 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