Re: affect_join and more than one AFF_ vector

From: Gary Barnett (gbarnett@POLARNET.COM)
Date: 02/03/98


On Tuesday, February 03, 1998 9:32 AM, George [SMTP:greerga@CIRCLEMUD.ORG]
wrote:
> On Tue, 3 Feb 1998, Angus Mezick wrote:
>
> >     has anyone come up with a way to use more that one AFF_ vector with
> >     affect join?  I am trying to avoid modifying the affected_types
> >     struct
> >     that is saved in the pfile but I don't know if i will get away with
> >     it.  What did other people do to get around this problem?
>
> You can use two AFF_ flags at once, with some side effects.
>
>     af.type = SPELL_POISON;
>     af.duration = amount * 3;
>     af.modifier = 0;
>     af.location = APPLY_NONE;
>     af.bitvector = AFF_POISON | AFF_SICKY;
>     affect_join(ch, &af, FALSE, FALSE, FALSE, FALSE);
>
> Of course, you cannot get rid of one flag without the other going too...
>
> This was on the mailing list a short while ago, try the queensu mailing
> archive.
>
> --
> George Greer  -  Me@Null.net   | Genius may have its limitations, but
> stupidity
> http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert
> Hubbard
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST