affected_by_spell

From: Brian Williams - Nashak (bmw@efn.org)
Date: 01/17/97


I was wondering how to use affected_by_spell instead of AFF_FLAGGED
so I don't have to have aff_flags for all the spells that set things
such as fireshield, coldshield, globe of invulnerability, stone skin, and
the like.. so I could just use affected_by_spell(ch, SPELL_STONE_SKIN) or
something to check it they're stoned.. :P I tried doin' it with
affect_to_char(ch, SPELL_FIRESHIELD) in the fireshield place.. but that
sets blind watwalk invis and det-invis :P
dunno why, but thanks for any help =)

        /---------\      /--------/
       / /XXXXXXX\ \    / ////// /
      / ///XXXXX\\\ \  / ////// /
     / /////XXX\\\\\ \/ ////// /    -=-=-=-=-=-=-=-
    / //////  \\\\\\\  ////// /    Brian Williams
   / ////// /\ \\\\\XXX///// /    bmw@efn.org
  / ////// /  \ \\\XXXXX/// /
 / ////// /    \ \XXXXXXX/ / /\  /_ |_|  /\  |/
/--------/      \---------/ /--\  / | | /--\ |\

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



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