|
static int | getRandomNumber (int minNumber, int maxNumber) |
|
static int | getRandomNumber (int maxNumber) |
|
◆ subtractDamageFromChar()
virtual Common::String MM::MM1::Game::SpellsMonsters::subtractDamageFromChar |
( |
| ) |
|
|
protectedpure virtual |
Subtracts the damage from the character, making them unconscious or die if needed
Implemented in MM::MM1::Game::Combat.
◆ handlePartyDamage()
void MM::MM1::Game::SpellsMonsters::handlePartyDamage |
( |
| ) |
|
|
protected |
Adds text for damage effects on the party
◆ setCondition()
void MM::MM1::Game::SpellsMonsters::setCondition |
( |
byte |
newCondition | ) |
|
|
protected |
Sets the condition to apply
◆ isCharAffected()
bool MM::MM1::Game::SpellsMonsters::isCharAffected |
( |
| ) |
const |
|
protected |
Returns true if character is affected so spell
◆ damageType1()
bool MM::MM1::Game::SpellsMonsters::damageType1 |
( |
| ) |
|
|
protected |
Test whether character resists different damage types
◆ add()
Adds text to the current line
◆ addCharName()
void MM::MM1::Game::SpellsMonsters::addCharName |
( |
| ) |
|
|
protected |
Adds current character's name
◆ castMonsterSpell()
void MM::MM1::Game::SpellsMonsters::castMonsterSpell |
( |
const Common::String & |
monsterName, |
|
|
int |
spellNum |
|
) |
| |
◆ getMonsterSpellMessage()
const LineArray& MM::MM1::Game::SpellsMonsters::getMonsterSpellMessage |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: