If you have an object with both a TO_AFFECTS and
TO_IMMUNE (or res/vuln) apply, they carry over and
give multiple affects.  Example: I made an object with
perm sanctuary (flag V) and immunity to fire.  When I
wore the object I was affected by sanc, and immune to
fire AND time (flag V).  All I did to fix this was:

case TO_AFFECTS:
   if ( paf->where != TO_AFFECTS )
      break;
...
case TO_IMMUNE:
   if ( paf->where != TO_IMMUNE )
      break;
...
etc

I hope I helped somebody...
-Matt Foltz


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to