Skip to content

Commit

Permalink
Merge pull request NecronomiconCoding#60 from NECROBOTIO/master
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
BornSupercharged authored Aug 2, 2016
2 parents 94d65cd + 6099493 commit bbf82ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PoGo.NecroBot.CLI/ConsoleEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ private static void HandleEvent(UseLuckyEggEvent useLuckyEggEvent, ISession sess

private static void HandleEvent(PokemonEvolveEvent pokemonEvolveEvent, ISession session)
{
string strPokemon = session.Translation.GetPokemonTranslation(pokemonEvolveEvent.Id);
Logger.Write(pokemonEvolveEvent.Result == EvolvePokemonResponse.Types.Result.Success
? session.Translation.GetTranslation(TranslationString.EventPokemonEvolvedSuccess, pokemonEvolveEvent.Id, pokemonEvolveEvent.Exp)
? session.Translation.GetTranslation(TranslationString.EventPokemonEvolvedSuccess, strPokemon, pokemonEvolveEvent.Exp)
: session.Translation.GetTranslation(TranslationString.EventPokemonEvolvedFailed, pokemonEvolveEvent.Id, pokemonEvolveEvent.Result,
session.Translation.GetPokemonTranslation(pokemonEvolveEvent.Id)),
strPokemon),
LogLevel.Evolve);
}

Expand Down

0 comments on commit bbf82ad

Please sign in to comment.