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

Function MaxDamageValue

src/game_battlealgorithm.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52#include "feature.h"
53
54static inline int MaxDamageValue() {
55 return lcf::Data::system.easyrpg_max_damage == -1 ? (Player::IsRPG2k() ? 999 : 9999) : lcf::Data::system.easyrpg_max_damage;
56}
57
58Game_BattleAlgorithm::AlgorithmBase::AlgorithmBase(Type ty, Game_Battler* source, Game_Battler* target) :
59 AlgorithmBase(ty, source, std::vector<Game_Battler*>{ target }) {}

Callers 1

vExecuteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected