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

Method ChangeAtkModifier

src/game_battler.cpp:762–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762int Game_Battler::ChangeAtkModifier(int modifier) {
763 auto delta = CanChangeAtkModifier(modifier);
764 SetAtkModifier(atk_modifier + delta);
765 return delta;
766}
767
768int Game_Battler::ChangeDefModifier(int modifier) {
769 auto delta = CanChangeDefModifier(modifier);

Callers 4

ApplyAtkEffectMethod · 0.80
game_actor.cppFile · 0.80
game_enemy.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected