| 23 | #include <istream> |
| 24 | |
| 25 | bool CreatureEffect::upkeepEffect(Creature& creature) |
| 26 | { |
| 27 | if(mNbTurnsEffect <= 0) |
| 28 | return false; |
| 29 | |
| 30 | --mNbTurnsEffect; |
| 31 | applyEffect(creature); |
| 32 | return true; |
| 33 | } |
| 34 | |
| 35 | void CreatureEffect::exportToStream(std::ostream& os) const |
| 36 | { |