Translations:Difficulty scaling/368/zh
Jump to navigation
Jump to search
<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"]; // 殺敵數 * 此敵人的分數