eventMoralAct

ds2.10/lib/doc/lfun/lib/classes/eventMoralAct · 370 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

EVENTMORALACT

NAME
        eventMoralAct()

SYNOPSIS
        int eventMoralAct(int degree)

DESCRIPTION
        Adds the integer "degree" to the creature's morality.

EXAMPLES
        Killing a smurf might do this: gargamel->eventMoralAct(-50)

LOCATION
        /lib/classes


SEE ALSO
        SetMorality, GetMorality, GetMoralityDescription

Author
        Cratylus

Site Stats

Snippets: 1791
Codebases: 571