MCPcopy Create free account
hub / github.com/EasyRPG/Player / SetAutoBattleAction

Method SetAutoBattleAction

src/autobattle.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void AlgorithmBase::SetAutoBattleAction(Game_Actor& source) {
61 vSetAutoBattleAction(source);
62 if (source.GetBattleAlgorithm() == nullptr) {
63 source.SetBattleAlgorithm(std::make_shared<Game_BattleAlgorithm::None>(&source));
64 }
65}
66
67void RpgRtCompat::vSetAutoBattleAction(Game_Actor& source) {
68 SelectAutoBattleActionRpgRtCompat(source, Game_Battle::GetBattleCondition());

Callers 2

SelectNextActorMethod · 0.80

Calls 2

GetBattleAlgorithmMethod · 0.80
SetBattleAlgorithmMethod · 0.80

Tested by

no test coverage detected