Re: [CODE] IS_CLASS function

From: George Greer (greerga@circlemud.org)
Date: 12/11/01


On Tue, 11 Dec 2001, krenshala wrote:

>Has anyone (aside from me :) considered coding an IS_CLASS(ch,<CLASS>)
>function that can replace the IS_<CLASS>(ch) functions?

Why not use GET_CLASS(ch) == CLASS_xxx ? I'm not sure what IS_CLERIC buys
other than !IS_NPC() checks (which are bogus anyway if you give mobiles
classes), but it's there.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | 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/24/03 PDT