> if (IS_OBJ_STAT(obj, ITEM_ANTI_HUMAN) && IS_HUMAN(ch)) || > (IS_OBJ_STAT(obj, ITEM_ANTI_ELF) && IS_ELF(ch)) || > (IS_OBJ_STAT(obj, ITEM_ANTI_HALF_ELF) && IS_HALF_ELF(ch)) || > (IS_OBJ_STAT(obj, ITEM_ANTI_DWARF) && IS_DWARF(ch)) || > (IS_OBJ_STAT(obj, ITEM_ANTI_HALFLING) && IS_HALFLING(ch)) || > (IS_OBJ_STAT(obj, ITEM_ANTI_GNOME) && IS_GNOME(ch)) What you have actually added is: if (item) || (item) || (item) instead of if ( (item) || (item) || (item) ) and if you want to have multiple conditions (like you case) it would be: v if ( ( (item) or (item) ) and ( (item) or (item) ) and ( (item) or (item) ) ) ^ All the conditions must be enclosed in (). That's all I see.... Good Luck (this will look prettier with a fixed width font :) -- +---------------------------------------------------------------+ | 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 : 12/04/01 PST