Home
last modified time | relevance | path

Searched refs:getMaxMp (Results 1 – 15 of 15) sorted by relevance

/dports/games/scourge/scourge/src/
H A Dcharacterinfo.cpp51 scourge->getSDLHandler()->texPrint( 10, y + 45, "%s: %d", _( "MP" ), p->getMaxMp() ); in drawWidgetContents()
H A Dcreature.cpp1177 if ( n + getMp() > getMaxMp() ) in usePotion()
1178 n = getMaxMp() - getMp(); in usePotion()
1868 float remainingMP = getMp() / ( getMaxMp() ? getMaxMp() : 1 ); in isWithPrereq()
1870 …if ( ( potionSkill == Constants::MP ) && ( ( remainingMP <= LOW_MP ) && getMaxMp() ) ) return true; in isWithPrereq()
1890 return( getMp() <= static_cast<int>( static_cast<float>( getMaxMp() ) * LOW_MP ) ); in isWithPrereq()
2070 float remainingMP = getMp() / ( getMaxMp() ? getMaxMp() : 1 ); in decideAction()
2072 if ( ( remainingMP <= LOW_MP ) && getMaxMp() ) { in decideAction()
2079 … getTargetCreature()->getMp() / ( getTargetCreature()->getMaxMp() ? getTargetCreature()->getMaxMp(… in decideAction()
2081 if ( ( remainingMP <= LOW_MP ) && getTargetCreature()->getMaxMp() ) { in decideAction()
2499 …%d%%(%s))" ), _( getName() ), getLevel(), getHp(), getMaxHp(), getMp(), getMaxMp(), alignmentPerce… in getDetailedDescription()
[all …]
H A Dpartyeditor.cpp198 if ( pc->getMaxMp() > 0 ) { in addStartingBackpack()
H A Dportrait.cpp263 drawBar( 120, y - 10, creature->getMp(), creature->getMaxMp(), 0, 0, 1, 1 ); in showStats()
264 …etScourge()->getSDLHandler()->texPrint( 240, y, "%d/%d", creature->getMp(), creature->getMaxMp() ); in showStats()
H A Dcreature.h597 int getMaxMp();
H A Dparty.cpp642 getParty( i )->getMp() < getParty( i )->getMaxMp() ) { in regainMp()
H A Dscourge.cpp2320 p->getMp(), p->getMaxMp() ); in drawWidgetContents()
2325 static_cast<float>( p->getMp() ), static_cast<float>( p->getMaxMp() ), in drawWidgetContents()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/controllers/
H A Dcamp_controller.cpp115 m->setMp(m->getMaxMp()); in heal()
H A Dinn_controller.cpp91 m->setMp(m->getMaxMp()); in heal()
H A Dintro_controller.cpp1380 saveGame->_players[0]._mp = player.getMaxMp(); in initPlayers()
1399 saveGame->_players[p]._mp = player.getMaxMp(); in initPlayers()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/game/
H A Dplayer.cpp80 return xu4_to_string(getMaxMp()); in translate()
130 int PartyMember::getMaxMp() const { in getMaxMp() function in Ultima::Ultima4::PartyMember
220 AdjustValueMax(_player->_mp, pts, getMaxMp()); in adjustMp()
920 if (!_members[i]->isDisabled() && _members[i]->getMp() < _members[i]->getMaxMp()) in endTurn()
H A Dplayer.h144 int getMaxMp() const;
/dports/games/scourge-data/scourge_data/script/
H A Dskills.nut206 if( creature.getMp() < creature.getMaxMp() ) {
207 n <- ( creature.getMaxMp().tofloat() / 20.0 ).tointeger();
H A Dmap.nut452 creature.getTargetCreature().getMaxMp() > 0 ) {
/dports/games/scourge/scourge/src/sqbinding/
H A Dsqcreature.cpp216 sq_pushinteger( vm, object->getMaxMp() ); in _getMaxMp()