Translations:Difficulty scaling/64/en: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 4: Line 4:
     int kill_count = GameData::getIntegerFlag(kill_flag["name"]);
     int kill_count = GameData::getIntegerFlag(kill_flag["name"]);
     points += kill_count * kill_flag["point"];
     points += kill_count * kill_flag["point"];
\\
this->points = points;
this->weapon_points = points * this->byml["setting"].Level2WeaponPower;
this->enemy_points = points * this->byml["setting"].Level2EnemyPower;
</source>

Latest revision as of 09:14, 11 May 2020

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