Re: [Circle] Turn Undead Skill

From: WarRat (warrat@erinet.com)
Date: 08/16/96


At 05:42 PM 8/15/96 -0500, you wrote:
>I am adding a turn undead skill for the appropriate classes
>and I need to know if this is the most flexible was to do it.
>I have added a mob affection, MOB_UNDEAD, and now I want to
>create the skill that will check all NPC's in the room and
>check for a possible turn/destroy. Has anyone done it this
>way, and if so, what would the skill look like? I am shakey
>when it comes to scanning through the characters in a room.
>
>btw: I also want to use the MOB_UNDEAD flag for other things
>sych as items, that is why I chose the affection option.
>

I just wrote the turn undead code for my mud (well, yesterday).  It's a
normal skill that one needs to invoke agains a target.  It takes the skill
level, cleric level and target level into account.  If the cleric fail, the
mob attack if nor the mob is turned.  Turned means that good clerics cause
the mob to flee and evil cause the mob to become charmed (hey, I thought it
was cool).

If you (or anyone else) wants the code let me know, I'll post it.

  ^"^'^"^"^'^"^'^"^"^"#
                            #  \O/
10,000 lemmings#    |
can't all be wrong#   / \    
                            #  .. .     warrat@erinet.com
                            #  . . .
                            # #..# .
                               ^^^^^^^^^^^^^^^^^^^^

       Happy shall he be, that taketh and dasheth thy little ones 
       against the stones.
                                  Psalms 137:9 



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