| Home | Trees | Index | Help |
|---|
|
|
object --+
|
Effect
DoctorShirtBoost,
DoctorShirtEffect,
FireSpirit,
FlashPantsBoost,
FlashPantsEffect,
Freeze,
HalflingShortsEffect,
ImmobilizeEffect,
ManaDrain,
SuspendManaRegen,
WindSpiritAgent, such as a buff or a magical
spell.
| Method Summary | |
|---|---|
__init__(self)
| |
Make this effect's change to the given agent's fixed properties. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Class Variable Summary | |
|---|---|
NoneType |
affected_properties: A list of names of the fixed properties that this effect affects. |
NoneType |
duration: How much longer should this effect be active? Use None
for effects that don't expire after a fixed time. |
int |
mana_cost: How much mana does it take to use this effect (mp/sec)? If mana
reaches zero, the effect will automatically be cancelled. |
NoneType |
sprite_category: The category of the sprite that should be displayed when this effect
is active. |
| Method Details |
|---|
__init__(self)
|
affect(self, agent)Make this effect's change to the given agent's fixed properties. |
| Class Variable Details |
|---|
durationHow much longer should this effect be active? UseNone
for effects that don't expire after a fixed time.
|
mana_costHow much mana does it take to use this effect (mp/sec)? If mana reaches zero, the effect will automatically be cancelled. (Positive mana regeneration is suspended when a effect with a mana cost is active.)
|
sprite_categoryThe category of the sprite that should be displayed when this effect is active. IfNone, then no sprite will be displayed.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 22 22:52:47 2005 | http://epydoc.sf.net |