Translations:Difficulty scaling/48/en

From ZeldaMods (Breath of the Wild)
Revision as of 01:33, 11 May 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

if (actor_name.contains("Enemy")) {

 for (enemy_table : this->byml["enemy"]) {
   i = -1;
   for (j = 0; j < enemy_table["actors"].size; ++j) {
     entry = enemy_table["actors"][j];
     if (entry["name"] == actor_name && this->enemy_points > entry["value"]) {
       i = j;
       break;
     }
   }