Re: [CODE] get_alignment/get_ac and do_score

From: X Schiltz (joes@SKIPNET.COM)
Date: 02/07/98


On Sat, 7 Feb 1998, Chuck Reed wrote:

> >Does anyone know the value range possible from get_alignment and get_ac?
> >And does anyone have a formula to turn that number into an array item so
> >that instead of seeing "Your alignment is 300" in score, they would see
> >"You are feeling pretty good about yourself" or something similar? Thanks.
>
> just do something like this in do_score where it shows alignment
>
> if (GET_ALIGN(ch) > 80)
>    strcat(buf, "You feel naked.\r\n");
> else if (GET_ALIGN(ch) > 60)
>    strcat(buf, "You are feeling quite unprotected.\r\n");
> else if (GET_ALIGN(ch) > 40)
>    strcat(buf, "You see where I'm going with this?\r\n");
Hmm...I've never personally felt very naked about my morality..(: You did
mean AC? No? (: Perhaps something such as
1000-999        King God of the Angels
999-800         Angelic
800-700         Saintly
700-500         Bishoply
500-300         Priestly
300-100         Pretty Moral
100- -100       Neutral
-100- -300      Pretty Immoral
-300- -500      Evil Priestly
-500- -700      Necromanical
-700- -800      Lichish
-800- -999      Demonic
-999- -100      Asmodeous himself

Ack! That took longer than expected! Hope I could help (:
___________
\  /
 \/
 /\
/  \
X Schiltz       MUD:dataserv.net 4000
(Joe Schilz)    homepage:http://www.skipnet.com/~joes/


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