Ideas for Stendhal/Effects
Players, creatures and other entities can be temporarily under the influence of certain effects. For example a player will constantly heal at a certain rate, because he is already eating. Or a creature could be slowed down, because a player has casted a kind of freeze spell to it.
To fully support effects client and server side, we first need to consider, which properties are needed at which side and for which purpose. We also need to think about how an effect is applied when an effect of the same kind is already there, i.e. a player eats more than one meat.
TODO: table from photo
| Effect | Client Side | Server Side |
|---|---|---|
| heal over time | name, type | amount, frequency, how often? |
| damage over time | name, type | amount, frequency, how often?, source |
| buff / debuff | name, type | Example |
| cooldown | name, type | Example |
| outfit | name, type | Example |
TODO: class diagram