Translations:Difficulty scaling/32/en
Jump to navigation
Jump to search
Interestingly, the game calculates a single point value based on the kill counter flags but calculates two separate values for weapons and enemies with two different multipliers. This format makes it possible to easily change the scaling. <source lang="c++"> float points = 0.0; for (kill_flag : this->byml["flag"])
int kill_count = GameData::getIntegerFlag(kill_flag["name"]); points += kill_count * kill_flag["point"];