>> (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. 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