Searched refs:getMaxMp (Results 1 – 15 of 15) sorted by relevance
/dports/games/scourge/scourge/src/ |
H A D | characterinfo.cpp | 51 scourge->getSDLHandler()->texPrint( 10, y + 45, "%s: %d", _( "MP" ), p->getMaxMp() ); in drawWidgetContents()
|
H A D | creature.cpp | 1177 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 D | partyeditor.cpp | 198 if ( pc->getMaxMp() > 0 ) { in addStartingBackpack()
|
H A D | portrait.cpp | 263 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 D | creature.h | 597 int getMaxMp();
|
H A D | party.cpp | 642 getParty( i )->getMp() < getParty( i )->getMaxMp() ) { in regainMp()
|
H A D | scourge.cpp | 2320 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 D | camp_controller.cpp | 115 m->setMp(m->getMaxMp()); in heal()
|
H A D | inn_controller.cpp | 91 m->setMp(m->getMaxMp()); in heal()
|
H A D | intro_controller.cpp | 1380 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 D | player.cpp | 80 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 D | player.h | 144 int getMaxMp() const;
|
/dports/games/scourge-data/scourge_data/script/ |
H A D | skills.nut | 206 if( creature.getMp() < creature.getMaxMp() ) { 207 n <- ( creature.getMaxMp().tofloat() / 20.0 ).tointeger();
|
H A D | map.nut | 452 creature.getTargetCreature().getMaxMp() > 0 ) {
|
/dports/games/scourge/scourge/src/sqbinding/ |
H A D | sqcreature.cpp | 216 sq_pushinteger( vm, object->getMaxMp() ); in _getMaxMp()
|