#include <logic.h>
Public Member Functions | |
| void | incrementMoveCounter (int amount=-1) |
| void | processPartyTurnEffects (bool everyTurn) |
| bool | damageCharacter (int slot, int amount) |
Game rules common to every location: the turn counter, and the upkeep of the party each turn
| void Ultima::Ultima3::Logic::incrementMoveCounter | ( | int | amount = -1 | ) |
Counts a turn taken by the party
| amount | How many moves to add, defaulting to one per party member |
| void Ultima::Ultima3::Logic::processPartyTurnEffects | ( | bool | everyTurn | ) |
Applies the effects of a turn passing on the party: magic point regeneration, hunger, poison and natural healing. Outside the overworld this only happens on every fourth turn
| bool Ultima::Ultima3::Logic::damageCharacter | ( | int | slot, |
| int | amount | ||
| ) |
Reduces the hit points of a party member, killing them if they run out. Returns true if they were killed