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

Method SetBaseAgi

src/game_actor.cpp:1167–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167void Game_Actor::SetBaseAgi(int agi) {
1168 int new_agility_mod = data.agility_mod + (agi - GetBaseAgi());
1169 data.agility_mod = ClampStatMod(new_agility_mod, this);
1170}
1171
1172Game_Actor::RowType Game_Actor::GetBattleRow() const {
1173 return RowType(data.row);

Callers 5

testLimitsFunction · 0.80
game_actor.cppFile · 0.80
MakeActorFunction · 0.80
SetupFunction · 0.80

Calls 1

ClampStatModFunction · 0.85

Tested by 1

SetupFunction · 0.64