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

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
(Importing a new version from external source)
(No difference)

Revision as of 01:33, 11 May 2020

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