示例#1
0
 /// <summary>
 /// Sets the <see cref="PKM.IVs"/> to match a provided <see cref="hiddenPowerType"/>.
 /// </summary>
 /// <param name="pk">Pokémon to modify.</param>
 /// <param name="hiddenPowerType">Desired Hidden Power typing.</param>
 public static void SetHiddenPower(this PKM pk, MoveType hiddenPowerType) => pk.SetHiddenPower((int)hiddenPowerType);