From: Phillip A Ames (
Date: 12/25/98

On Fri, 25 Dec 1998 16:57:17 EST Tom Johnson <> writes:
>I have created a skill called blowgun that will cause a thief to shoot a
>a person.  It works up till the point when i need to set the victum's
>flag.  I haven't been able to get it to work.  I've look at the spell
>and tried to copy the af[0].bitvector = AFF_POISON; line but still no
>If you'll need some lines of code let me know but i think this should be
>enough that i won't include it.  Thanks
>Tom Johnson

    af.type = SPELL_POISON;

    if (GET_CON(ch))
      af.duration = (3 * 12) / GET_CON(ch);
      af.duration = 3 * 12;

    af.modifier = 0;
    af.location = 0;
    af.bitvector = AFF_POISON;
    affect_to_char(ch, &af);

This _should_ work, I haven't had a chance to test it...  You may want to
look at the spell "charm" to see how they do it in there.

Merry Christmas!


Phillip Ames    | Satisfaction is not guaranteed. | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol

You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
or call Juno at (800) 654-JUNO [654-5866]

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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