The Stat object manages all aspects of a specific player or non player character stat.
More...
List of all members.
Public Member Functions |
| def | __init__ |
| def | getCurrent |
| | retrieve the current value of this stat; includes all modifier values
|
| def | applyEffect |
| | stores a value in the given modifier slot as defined by the passed in StatsEffect
|
Public Attributes |
| | stat |
Detailed Description
The Stat object manages all aspects of a specific player or non player character stat.
Definition at line 21 of file Stats.py.
Member Function Documentation
| def common.Stats.Stat.__init__ |
( |
|
self, |
|
|
|
stat | |
|
) |
| | |
| def common.Stats.Stat.applyEffect |
( |
|
self, |
|
|
|
effect | |
|
) |
| | |
stores a value in the given modifier slot as defined by the passed in StatsEffect
- Parameters:
-
| effect | is a StatsEffect object describing the modifier to be applied to this stat |
Definition at line 42 of file Stats.py.
| def common.Stats.Stat.getCurrent |
( |
|
self |
) |
|
retrieve the current value of this stat; includes all modifier values
Definition at line 34 of file Stats.py.
Member Data Documentation
The documentation for this class was generated from the following file:
- E:/project/Anoria2/bigworld/anoria/res/scripts/common/Stats.py