Someone posted to make this change in spell_parser.c It lets you cast things like enchant weapon on weapons wielded etc. Change: if (!target && IS_SET(SINFO.targets, TAR_OBJ_EQUIP)) { for (i = 0; !target && i < NUM_WEARS; i++) if (GET_EQ(ch, i) && !str_cmp(t, GET_EQ(ch, i)->name)) { To: if (!target && IS_SET(SINFO.targets, TAR_OBJ_EQUIP)) { for (i = 0; !target && i < NUM_WEARS; i++) if (GET_EQ(ch, i) && isname(t, GET_EQ(ch, i)->name)) { ^^^^^^^ I just wanted to thank him for the fix (sorry I lost his personal mail) I included the text of the fix here so people can get another chance to read it. It worked fine. Spells with TAR_OBJ_EQ can be cast on obj equiped now, it was broke before. -- Mike Donais. (BOFH) (donais@uwindsor.ca) SOCR: Student Operated Computing Resources (http://supernova.uwindsor.ca)
This archive was generated by hypermail 2b30 : 12/07/00 PST