Re: Question on Races

From: Carlo Mocci (mocci@TIN.IT)
Date: 04/28/98


This is basic C:

++(x) means x=x+1
(x)++ means x=x+1
Differences are that if you use x++ the value of x is first used and then
incremented.
-- works the same way.
x-=number means x=x-number
I let you guess x+=number

I hope this answers your questions

KABIR

>Now, my first set of questions:
>1) what is the difference between the 'ch->', the '++ch->', and the
>'--ch->' that's in this section?
>2) unless the above question answers this in an obvious way, which one do
>you use of the above three things for each real_abils modifier?
>3) unless the above questions answer this in an obvious way, do any of the
>above three things modify the real_abils in a way that adding a .dex+=2 or
>.str-=1 wouldn't? From what it looks like, any +/- modifier must be used
>with the ch-> instead of the other two. In that case, why would you bother
>having the other two there if there is no modifier on that stat?

---------------------------------------------------------------
|        __         __            __  __         __       __  |
|   __  (  )  ___  (  )    __    (  \/  )  __   / _)  __ (  ) |
|  / _) /__\ (  ,)  )(__  /  \    )    (  /  \ ( (_  / _) )(  |
| ( (_ (_)(_) )  \ (____)( () )  (_/\/\_)( () ) \__)( (_ (__) |
|  \__)      (_)\_)       \__/            \__/       \__)     |
|                                                             |
| mailto: mocci@tin.it                                        |
| http://volftp.tin.it/IT/IT/ITALIANI/MOCCI                   |
| http://www.geocities.com/SunsetStrip/Palms/7010             |
---------------------------------------------------------------


     +------------------------------------------------------------+
     | 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