On Thu, 2 Mar 2000, Peter Ajamian wrote:
> Ryan Le Gros wrote:
> >
> > How do I add a quick check to the curse spell so that lvl_immortal
> > and above can remove, drop, give, junk etc cursed items?
>
> if (GET_LEVEL(ch) >= LVL_IMMORT) ...
>
I better idea is to add a check for nohassle, not level. This allows a
creator to turn off nohassle and then wander the zone and (almost)
experience it as a mortal would. When coding anything that you want
immortals to be immune to, it's a good idea to use nohassle, not level as
the determining factor.
--
Zeavon Calatin, MageMaster of the Realms
Spear of Insanity
http://spear.kilnar.com/ telnet://spear.kilnar.com:1066
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT