Skip to content

Commit

Permalink
Add shiny indication for wc3 in mgdb search
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Apr 4, 2018
1 parent b3b9713 commit bdb6b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions PKHeX.Core/MysteryGifts/WC3.cs
Expand Up @@ -37,6 +37,7 @@ public class WC3 : MysteryGift, IRibbonSetEvent3
public override int Format => 3;
public override int Level { get; set; }
public override int Ball { get; set; } = 4;
public override bool IsShiny => Shiny == Shiny.Always;

// Description
public override string CardTitle { get; set; } = "Generation 3 Event";
Expand Down
4 changes: 2 additions & 2 deletions PKHeX.Core/PKM/Editing/CommonEdits.cs
Expand Up @@ -96,7 +96,7 @@ public static void SetRandomEC(this PKM pk)
/// Makes a <see cref="PKM"/> shiny.
/// </summary>
/// <param name="pk">Pokémon to modify.</param>
/// <returns>Returns <see cref="bool.True"/> if the <see cref="PKM"/> data was modified.</returns>
/// <returns>Returns true if the <see cref="PKM"/> data was modified.</returns>
public static bool SetShiny(this PKM pk)
{
if (pk.IsShiny)
Expand All @@ -113,7 +113,7 @@ public static bool SetShiny(this PKM pk)
/// Makes a <see cref="PKM"/> not-shiny.
/// </summary>
/// <param name="pk">Pokémon to modify.</param>
/// <returns>Returns <see cref="bool.True"/> if the <see cref="PKM"/> data was modified.</returns>
/// <returns>Returns true if the <see cref="PKM"/> data was modified.</returns>
public static bool SetUnshiny(this PKM pk)
{
if (!pk.IsShiny)
Expand Down

0 comments on commit bdb6b7a

Please sign in to comment.