Maybe it needs this?

        paf->where = TO_OBJECT;


Adding that would make the paf block this:

 paf->where = TO_OBJECT; /*new!*/
 paf->type  = -1;
 paf->level      = ch->level;
 paf->duration   = -1;
 paf->location   = enchant_type;
 paf->modifier   = affect_modify;
 paf->bitvector  = bit;


(Yes, I've never worked with objects before)

- Jeremy



Reply via email to