From bdb6b7a2f16306a4bda320fffe034bac93483b2c Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 4 Apr 2018 09:53:48 -0700 Subject: [PATCH] Add shiny indication for wc3 in mgdb search https://projectpokemon.org/home/forums/topic/44675-about-event-database/ also fix some xml comments --- PKHeX.Core/MysteryGifts/WC3.cs | 1 + PKHeX.Core/PKM/Editing/CommonEdits.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/MysteryGifts/WC3.cs b/PKHeX.Core/MysteryGifts/WC3.cs index aef8d0ace..14fb7ddf5 100644 --- a/PKHeX.Core/MysteryGifts/WC3.cs +++ b/PKHeX.Core/MysteryGifts/WC3.cs @@ -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"; diff --git a/PKHeX.Core/PKM/Editing/CommonEdits.cs b/PKHeX.Core/PKM/Editing/CommonEdits.cs index 908ce1550..8f0e3d6d1 100644 --- a/PKHeX.Core/PKM/Editing/CommonEdits.cs +++ b/PKHeX.Core/PKM/Editing/CommonEdits.cs @@ -96,7 +96,7 @@ public static void SetRandomEC(this PKM pk) /// Makes a shiny. /// /// Pokémon to modify. - /// Returns if the data was modified. + /// Returns true if the data was modified. public static bool SetShiny(this PKM pk) { if (pk.IsShiny) @@ -113,7 +113,7 @@ public static bool SetShiny(this PKM pk) /// Makes a not-shiny. /// /// Pokémon to modify. - /// Returns if the data was modified. + /// Returns true if the data was modified. public static bool SetUnshiny(this PKM pk) { if (!pk.IsShiny)