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

Method MultRange

src/game_variables.cpp:279–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void Game_Variables::MultRange(int first_id, int last_id, Var_t value) {
280 PrepareRange(first_id, last_id, "Invalid write var[{},{}] *= {}!", value);
281 WriteRange(first_id, last_id, [value](){ return value; }, VarMult);
282}
283
284void Game_Variables::DivRange(int first_id, int last_id, Var_t value) {
285 PrepareRange(first_id, last_id, "Invalid write var[{},{}] /= {}!", value);

Callers 3

variables.cppFile · 0.80
BM_VariableMultRangeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected