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

Method ApplyAttributeShiftEffect

src/game_battlealgorithm.cpp:341–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341int Game_BattleAlgorithm::AlgorithmBase::ApplyAttributeShiftEffect(AttributeEffect ae) {
342 auto* target = GetTarget();
343 if (target) {
344 return target->ShiftAttributeRate(ae.attr_id, ae.shift);
345 }
346 return 0;
347}
348
349void Game_BattleAlgorithm::AlgorithmBase::ApplyAttributeShiftEffects() {
350 for (auto& ae: attributes) {

Calls 1

ShiftAttributeRateMethod · 0.80

Tested by

no test coverage detected