Searched refs:GetMaxHp (Results 1 – 17 of 17) sorted by relevance
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | game_enemy.cpp | 43 hp = GetMaxHp(); in Game_Enemy() 104 hp = Utils::Clamp(_hp, 0, GetMaxHp()); in SetHp()
|
H A D | game_interpreter_battle.cpp | 96 int hpmin = enemy.GetMaxHp() * condition.enemy_hp_min / 100; in AreConditionsMet() 97 int hpmax = enemy.GetMaxHp() * condition.enemy_hp_max / 100; in AreConditionsMet() 105 int hpmin = actor->GetMaxHp() * condition.actor_hp_min / 100; in AreConditionsMet() 106 int hpmax = actor->GetMaxHp() * condition.actor_hp_max / 100; in AreConditionsMet()
|
H A D | game_battler.cpp | 157 int hp_change = item->recover_hp_rate * GetMaxHp() / 100 + item->recover_hp; in UseItem() 280 ChangeHp(GetMaxHp() * effect / 100 - revived, false); in UseSkill() 421 int hp = state.hp_change_val + (GetMaxHp() * state.hp_change_max / 100); in ApplyConditions() 482 int Game_Battler::GetMaxHp() const { in GetMaxHp() function in Game_Battler 487 return GetMaxHp() == GetHp(); in HasFullHp()
|
H A D | window_base.cpp | 176 int color = GetValueFontColor(actor.GetHp(), actor.GetMaxHp(), true); in DrawActorHp() 189 …contents->TextDraw(cx + dx, cy, Font::ColorDefault, std::to_string(actor.GetMaxHp()), Text::AlignR… in DrawActorHp() 334 …contents->TextDraw(cx, cy, GetValueFontColor(actor.GetHp(), actor.GetMaxHp(), true), std::to_strin… in DrawActorHpValue()
|
H A D | window_actorstatus.cpp | 56 max = actor->GetMaxHp(); in DrawStatus()
|
H A D | window_varlist.cpp | 143 ss << actor->GetName() << " " << actor->GetHp() << " / " << actor->GetMaxHp(); in UpdateList()
|
H A D | window_battlestatus.cpp | 159 DrawGaugeSystem2(fill_x, y, actor->GetHp(), actor->GetMaxHp(), 0); in RefreshGauge()
|
H A D | game_battler.h | 268 virtual int GetMaxHp() const;
|
H A D | game_party.cpp | 128 actor->SetHp(actor->GetMaxHp()); in SetupBattleTest() 669 total_hp += a->GetMaxHp(); in GetFatigue()
|
H A D | game_actor.cpp | 110 SetHp(GetMaxHp()); in Game_Actor() 394 SetHp(GetMaxHp()); in FullHeal() 1159 data.current_hp = Utils::Clamp(hp, 0, GetMaxHp()); in SetHp()
|
H A D | autobattle.cpp | 95 const double tgt_max_hp = target.GetMaxHp(); in CalcSkillHealAutoBattleTargetRank()
|
H A D | enemyai.cpp | 247 int hp_percent = source.GetHp() * 100 / source.GetMaxHp(); in IsActionValid()
|
H A D | game_battlealgorithm.cpp | 1056 SetAffectedHp(target->GetMaxHp() * effect / 100); in vExecute() 1247 SetAffectedHp(item.recover_hp_rate * GetTarget()->GetMaxHp() / 100 + item.recover_hp); in vExecute()
|
H A D | game_interpreter.cpp | 1114 value = actor->GetMaxHp(); in CommandControlVariables() 1294 value = (*Main_Data::game_enemyparty)[com.parameters[5]].GetMaxHp(); in CommandControlVariables()
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | autobattle.cpp | 19 actor.SetHp(actor.GetMaxHp()); in MakeActor()
|
H A D | game_actor.cpp | 35 REQUIRE_EQ(actor.GetMaxHp(), 100); 89 REQUIRE_EQ(actor.GetMaxHp(), hp); in testBaseLimits() 240 REQUIRE_EQ(actor.GetMaxHp(), 501);
|
H A D | enemyai.cpp | 475 REQUIRE_EQ(100, enemy.GetMaxHp());
|