Add shiny indication for wc3 in mgdb search

https://projectpokemon.org/home/forums/topic/44675-about-event-database/

also fix some xml comments
This commit is contained in:
Kurt
2018-04-04 09:53:48 -07:00
parent b3b9713aa2
commit bdb6b7a2f1
2 changed files with 3 additions and 2 deletions

View File

@@ -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";

View File

@@ -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)
@@ -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)