On Sat, 8 Dec 2001, Eduardo Bertin wrote: > [...snip...] > if (GET_SKILL(ch, SKILL_THIRD_ATTACK) >= number(1, 201)) apr++; Ensure that the player is not an NPC before doing GET_SKILL on it. For example, instead of the above line, you would do: if (!IS_NPC(ch) && GET_SKILL(ch, SKILL_THIRD_ATTACK) >= number(1, 201)) apr++; -dak -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/24/03 PDT