Re: [QUESTION] Spec Procs with an Affection

From: Davies, Nathan (DaviesN@AECL.CA)
Date: 12/08/97


do a grep for apply_dex or the like and add apply_spellname to those
locations...in the func(no idea what it's called) that has the case
APPLY_DEX: GET_DEX( ch ) += mod;  put another case for your spell and
add the affect, then wherever dex is removed from unequip'n remove that
affect...

Wouldn't even need a spec proc...

>Nathan Davies,
>
>        Greetings.
>        I am interested in adding in spec_procs, that when an item is
>worn, it sets an affection on the player. I was looking back at the Ring
>of Invis item that was posted a while back for some ideas, but that uses
>the command 'appear' and 'disappear'.
>        With the ring, if you disappeared, and removed the ring, you were
>still invis, unless 'magical' was the only alias for the ring, then typing
>remove magical would remove the invis affection, and the ring.
>        Would I have to make an alias for the item that is not used
>anywhere else, that way it doesn't get confused? Or could I use a vnum to
>make sure it is the correct item?
>        If anyone knows how to do this using the items vnum and not the
>alias, please let me know. Appreciated.
>


     +------------------------------------------------------------+
     | 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/08/00 PST