> I have successfully implemented multihit and it works, but i > get syserr: mob > using '<<ch>->player_specials->saved.skills[141]> at fight.c:943 ... > i have checked it out and put a !IS_NPC || in the line > if (!IS_NPC(ch) || GET_SKILL(ch, SKILL_SECOND_ATTACK) >= Check your logic here: "if you have a player OR he has this skill, perform this action." The error comes from an NPC getting to the GET_SKILL(ch) check, so you need to prevent that.. Remembering that the checks are made in consecutive order, you want: if (!IS_NPC(ch) && GET_SKILL(ch, SKILL_SECOND_ATTACK))... - B. Brown -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT