diff options
author | Ajarmar <axel.jarmar@gmail.com> | 2020-04-24 17:43:36 +0200 |
---|---|---|
committer | Ajarmar <axel.jarmar@gmail.com> | 2020-04-24 17:43:36 +0200 |
commit | 624c312a9acc9b4f79c1a5be3429c0fb80761d92 (patch) | |
tree | 5c050cb8022a368539b9d49cb8afe9dde0afe616 /src | |
parent | 3b54eeb37c0e16babd287fc6391ed0974768495e (diff) |
added strong legendary indices
Diffstat (limited to 'src')
-rwxr-xr-x | src/com/dabomstew/pkrandom/pokemon/Pokemon.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/pokemon/Pokemon.java b/src/com/dabomstew/pkrandom/pokemon/Pokemon.java index 7522715..654297a 100755 --- a/src/com/dabomstew/pkrandom/pokemon/Pokemon.java +++ b/src/com/dabomstew/pkrandom/pokemon/Pokemon.java @@ -212,8 +212,15 @@ public class Pokemon implements Comparable<Pokemon> { 251, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649); + private static final List<Integer> strongLegendaries = Arrays.asList(150, 249, 250, 382, 383, 384, 483, 484, 486, + 487, 493, 643, 644, 646); + public boolean isLegendary() { return legendaries.contains(this.number); } + public boolean isStrongLegendary() { + return strongLegendaries.contains(this.number); + } + } |