#include <chest_logic.h>
Public Member Functions | |
| void | damageAll (int level) |
| bool | evadesTrap (int slot) |
| void | loot (int slot) |
| void | open (int slot) |
Public Member Functions inherited from Ultima::Ultima3::Logic | |
| void | incrementMoveCounter (int amount=-1) |
| void | processPartyTurnEffects (bool everyTurn) |
| bool | damageCharacter (int slot, int amount) |
Opening chests, which may be trapped, and what's found inside them
| void Ultima::Ultima3::ChestLogic::damageAll | ( | int | level | ) |
Hurts every member of the party who can still fight, more so the deeper in a dungeon they are
| bool Ultima::Ultima3::ChestLogic::evadesTrap | ( | int | slot | ) |
Rolls to see whether a party member avoids a trap, which the agile classes are better at
| void Ultima::Ultima3::ChestLogic::loot | ( | int | slot | ) |
Gives a party member the contents of a chest
| void Ultima::Ultima3::ChestLogic::open | ( | int | slot | ) |
Opens a chest that a party member has found, possibly setting off a trap on the way