<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"];