Difficulty scaling/zh: Difference between revisions

Created page with "this->points = points; // 原始經驗值 this->weapon_points = points * this->byml["setting"].Level2WeaponPower; // 換算成武器用分數 this->enemy_points = points * thi..."
(Created page with "<source lang="c++"> float points = 0.0; for (kill_flag : this->byml["flag"]) // 枚舉所有敵人   int kill_count = GameData::getIntegerFlag(kill_flag["name"]);   poin...")
(Created page with "this->points = points; // 原始經驗值 this->weapon_points = points * this->byml["setting"].Level2WeaponPower; // 換算成武器用分數 this->enemy_points = points * thi...")
Line 216: Line 216:
     points += kill_count * kill_flag["point"]; // 殺敵數 * 此敵人的分數
     points += kill_count * kill_flag["point"]; // 殺敵數 * 此敵人的分數


this->points = points;
this->points = points; // 原始經驗值
this->weapon_points = points * this->byml["setting"].Level2WeaponPower;
this->weapon_points = points * this->byml["setting"].Level2WeaponPower; // 換算成武器用分數
this->enemy_points = points * this->byml["setting"].Level2EnemyPower;
this->enemy_points = points * this->byml["setting"].Level2EnemyPower; // 換算成敵人用分數
</source>
</source>