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