Searched refs:GetMaxSp (Results 1 – 16 of 16) sorted by relevance
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | window_actorsp.cpp | 37 if (battler.GetMaxSp() != 0 && battler.GetSp() <= battler.GetMaxSp() / 4) { in SetBattler() 52 …contents->TextDraw(cx + digits * 6, 2, Font::ColorDefault, std::to_string(battler.GetMaxSp()), Tex… in SetBattler()
|
H A D | game_enemy.cpp | 44 sp = GetMaxSp(); in Game_Enemy() 109 sp = Utils::Clamp(_sp, 0, GetMaxSp()); in SetSp()
|
H A D | autobattle.cpp | 86 ? Algo::CalcSkillCost(skill, source.GetMaxSp(), false) in CalcSkillCostAutoBattle() 94 const double src_max_sp = source.GetMaxSp(); in CalcSkillHealAutoBattleTargetRank() 136 const double src_max_sp = source.GetMaxSp(); in CalcSkillDmgAutoBattleTargetRank() 242 const double src_max_sp = source.GetMaxSp(); in CalcNormalAttackAutoBattleTargetRank()
|
H A D | game_battler.cpp | 158 int sp_change = item->recover_sp_rate * GetMaxSp() / 100 + item->recover_sp; in UseItem() 317 return Algo::CalcSkillCost(*skill, GetMaxSp(), false); in CalculateSkillCost() 422 int sp = state.sp_change_val + (GetMaxSp() * state.sp_change_max / 100); in ApplyConditions() 496 int Game_Battler::GetMaxSp() const { in GetMaxSp() function in Game_Battler 501 return GetMaxSp() == GetSp(); in HasFullSp()
|
H A D | window_base.cpp | 199 int color = GetValueFontColor(actor.GetSp(), actor.GetMaxSp(), false); in DrawActorSp() 212 …contents->TextDraw(cx + dx, cy, Font::ColorDefault, std::to_string(actor.GetMaxSp()), Text::AlignR… in DrawActorSp() 338 …contents->TextDraw(cx, cy, GetValueFontColor(actor.GetSp(), actor.GetMaxSp(), false), std::to_stri… in DrawActorSpValue()
|
H A D | window_actorstatus.cpp | 62 max = actor->GetMaxSp(); in DrawStatus()
|
H A D | game_actor.cpp | 111 SetSp(GetMaxSp()); in Game_Actor() 255 return Algo::CalcSkillCost(*skill, GetMaxSp(), HasHalfSpCost()); in CalculateSkillCost() 395 SetSp(GetMaxSp()); in FullHeal() 1164 data.current_sp = Utils::Clamp(sp, 0, GetMaxSp()); in SetSp()
|
H A D | window_battlestatus.cpp | 161 DrawGaugeSystem2(fill_x, y + 16, actor->GetSp(), actor->GetMaxSp(), 1); in RefreshGauge()
|
H A D | game_battler.h | 304 virtual int GetMaxSp() const;
|
H A D | game_party.cpp | 129 actor->SetSp(actor->GetMaxSp()); in SetupBattleTest() 671 total_sp += a->GetMaxSp(); in GetFatigue()
|
H A D | enemyai.cpp | 252 int sp_percent = source.GetSp() * 100 / source.GetMaxSp(); in IsActionValid()
|
H A D | game_battlealgorithm.cpp | 950 const auto max_sp = target->GetMaxSp(); in vExecute() 1252 SetAffectedSp(item.recover_sp_rate * GetTarget()->GetMaxSp() / 100 + item.recover_sp); in vExecute()
|
H A D | game_interpreter.cpp | 1118 value = actor->GetMaxSp(); in CommandControlVariables() 1298 value = (*Main_Data::game_enemyparty)[com.parameters[5]].GetMaxSp(); in CommandControlVariables()
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | autobattle.cpp | 21 actor.SetSp(actor.GetMaxSp()); in MakeActor()
|
H A D | game_actor.cpp | 36 REQUIRE_EQ(actor.GetMaxSp(), 10); 91 REQUIRE_EQ(actor.GetMaxSp(), sp); in testBaseLimits() 241 REQUIRE_EQ(actor.GetMaxSp(), 502);
|
H A D | enemyai.cpp | 513 REQUIRE_EQ(100, enemy.GetMaxSp());
|