Home
last modified time | relevance | path

Searched refs:getHp (Results 1 – 25 of 60) sorted by relevance

123

/dports/games/scourge/scourge/src/events/
H A Dthirsthungerevent.cpp77 creature->setHp( creature->getHp() - n ); in execute()
78 if ( creature->getHp() <= 0 ) { in execute()
110 creature->setHp( creature->getHp() - n ); in execute()
111 if ( creature->getHp() <= 0 ) { in execute()
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/widgets/
H A Davatarlistbox.cpp171 a->getHp(), a->getMaxHp(), a->getLevel()); in draw()
176 a->getHp(), a->getMaxHp()); in draw()
185 themeColor, static_cast<float>(a->getHp()) in draw()
190 parentWidth * a->getHp() / a->getMaxHp() in draw()
407 a->getHp(), a->getMaxHp(), a->getLevel()); in safeDraw()
412 a->getHp(), a->getMaxHp()); in safeDraw()
421 themeColor, static_cast<float>(a->getHp()) in safeDraw()
426 parentWidth * a->getHp() / a->getMaxHp() in safeDraw()
/dports/games/scourge-data/scourge_data/script/
H A Dskills.nut114 if( creature.getHp() + amount > creature.getMaxHp() )
115 amount = creature.getMaxHp() - creature.getHp();
122 creature.setHp( creature.getHp() + amount );
140 hp = scourgeGame.getPartyMember( i ).getHp() + n;
143 if( hp != scourgeGame.getPartyMember( i ).getHp() ) healed = true;
185 aveHp += scourgeGame.getPartyMember( i ).getHp().tofloat();
205 if( creature.getHp().tofloat() / creature.getMaxHp().tofloat() < 0.1 ) {
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/nomos/agent_tests/testdata/NomosTestfiles/Artistic/
H A DHero.java478 int oldHp = getHp(); in damage()
492 int oldHp = getHp(); in heal()
496 .firePropertyChange(PROPERTY_HP, oldHp, getHp()); in heal()
501 int oldHp = getHp(); in setHp()
505 .firePropertyChange(PROPERTY_HP, oldHp, getHp()); in setHp()
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dztats_pm.c195 status_range_color(ch->getHp(), ch->getMaxHp()), in ztats_pm_paint()
196 ch->getHp(), ch->getMaxHp(), in ztats_pm_paint()
H A Dvehicle.cpp339 getObjectType()->getTag(), getFacing(), getHp()); in save()
H A Dcharacter.cpp442 if (!isDead() && inCombat && (getHp() < (getMaxHp() / 4))) { in damage()
597 return desc[(getHp() * 4) / getMaxHp()]; in getWoundDescription()
598 return desc[(getHp() * 4) / getMaxHp()]; in getWoundDescription()
1876 int Character::getHp() { in getHp() function in Character
2548 vehicle->getHp() < in exec()
3253 save->write(save, "%d %d ; HP, XP\n", this->getHp(), this->getExperience()); in save()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/views/
H A Dstats.cpp220 …+ 1, (i == activePlayer) ? CHARSET_BULLET : '-', p->getName().c_str(), p->getHp(), _mainArea.color… in showPartyView()
224 …, 1, (activePlayer == 0) ? CHARSET_BULLET : '-', p->getName().c_str(), p->getHp(), _mainArea.color… in showPartyView()
240 _mainArea.textAt(0, 3, "STR:%02d HP:%04d", p->getStr(), p->getHp()); in showPlayerDetails()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/game/
H A Dplayer.cpp74 return xu4_to_string(getHp()); in translate()
110 if (getHp() < getMaxHp()) in translate()
126 int PartyMember::getHp() const { in getHp() function in Ultima::Ultima4::PartyMember
189 if (getHp() <= 0) in getState()
191 else if (getHp() < 24) in getState()
H A Dspell.cpp668 xu4_random(0xFF) >= m->getHp()) { in spellSleep()
692 if (m->getHp() > 192) { in spellTremor()
706 if (m->getHp() > 23) in spellTremor()
707 ct->getCurrentPlayer()->dealDamage(m, m->getHp() - 23); in spellTremor()
H A Dplayer.h120 int getHp() const override;
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/controllers/
H A Dcamp_controller.cpp116 if ((m->getHp() < m->getMaxHp()) && m->heal(HT_CAMPHEAL)) in heal()
H A Dinn_controller.cpp92 if ((m->getHp() < m->getMaxHp()) && m->heal(HT_INNHEAL)) in heal()
/dports/games/manaplus/manaplus-2.1.3.17/src/
H A Davatar.h90 int getHp() const noexcept2 A_WARN_UNUSED in getHp() function
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/devel/flatbuffers/flatbuffers-2.0.0/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/misc/mnn/MNN-1.2.0/3rd_party/flatbuffers/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/flatbuffers/src/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/security/vault/vault-1.8.2/vendor/github.com/google/flatbuffers/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/flatbuffers/samples/
H A DSampleBinary.php84 $success &= assert($monster->getHp() == 300);
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/widgets/tabs/
H A Dsocialplayerstab.h89 avatar->setHp(pm->getHp()); in updateAvatar()
/dports/games/scourge/scourge/src/sqbinding/
H A Dsqcreature.cpp172 sq_pushinteger( vm, object->getHp() ); in _getHp()
329 if ( n > object->getHp() ) { in _setHp()
331 } else if ( n < object->getHp() ) { in _setHp()
/dports/games/scourge/scourge/src/rpg/
H A Dmonster.h114 inline int getHp() { in getHp() function
/dports/games/scourge/scourge/src/
H A Dspellcaster.cpp288 if ( n + creature->getTargetCreature()->getHp() > creature->getTargetCreature()->getMaxHp() ) in increaseHP()
289 n = creature->getTargetCreature()->getMaxHp() - creature->getTargetCreature()->getHp(); in increaseHP()
290 …creature->getTargetCreature()->setHp( static_cast<int>( creature->getTargetCreature()->getHp() + n… in increaseHP()

123