Example #1
0
 public bool DoesHalfDamageTo(PokemonType t) => WeakAgainst.Contains(t.Name, StringComparer.OrdinalIgnoreCase);
Example #2
0
 public bool DoesNoDamageTo(PokemonType t) => ImmuneAgainst.Contains(t.Name, StringComparer.OrdinalIgnoreCase);
Example #3
0
 public bool DoesDoubleDamageTo(PokemonType t) => StrongAgainst.Contains(t.Name, StringComparer.OrdinalIgnoreCase);