>> >> (after normal hit calls for fighting)
>> >> if ((IS_AFFECTED(ch, AFF_HASTE)) && (GET_POS(ch) == POS_FIGHTING)) {
>> >> int rand_num;
>> >>
>> >> rand_num = number(1,100);
>> >> rand_num += (GET_LEVEL(ch) / 2);
>> >> if(rand_num > 65)
>> >> hit(ch, FIGHTING(ch), TYPE_UNDEFINED);
>> >> }
>> >>
>> >>haste, and I'd venture to guess the haste check is in hit(), thus your
>> >>infinite loop.
>>
>> You are venturing too far. This is not in the hit() function.
>
>Then maybe you want to tell us where it is? Or are we needing
>to pull out the Circle Message Reader "Crystal Ball" version?
Ok, look at the first line. Where are the normal hit calls for fighting?
They are in perform_violence. Sorry if this was too unclear.
Chuck Reed
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
|Chuck Reed - Ash of Dark Horizon |
|telnet://pentrel.com:6001 |
|http://www.i-55.com/~twingo/horizon |
|http://www.geocities.com/Eureka/Plaza/9298/ |
|creed@i-55.com -=- dragos_elec@geocities.com |
|"If you don't stand for something, you are bound |
| to fall for anything." |
|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
+------------------------------------------------------------+
| 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