Translations:Difficulty scaling/64/en: Difference between revisions
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"]; | ||
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"];