@@ -75,22 +75,23 @@ public static async Task Execute(ISession session)
75
75
var allPokemonInBag = session . LogicSettings . PrioritizeIvOverCp
76
76
? await session . Inventory . GetHighestsPerfect ( 1000 )
77
77
: await session . Inventory . GetHighestsCp ( 1000 ) ;
78
- if ( session . LogicSettings . DumpPokemonStats )
79
- {
80
- const string dumpFileName = "PokeBagStats" ;
81
- Dumper . ClearDumpFile ( session , dumpFileName ) ;
82
- Dumper . ClearDumpFile ( session , dumpFileName , "csv" ) ;
83
- Dumper . Dump ( session , "Name,Level,CP,IV,Move1,Move2" , dumpFileName , "csv" ) ;
84
- foreach ( var pokemon in allPokemonInBag )
85
- {
86
- Dumper . Dump ( session ,
87
- $ "NAME: { pokemon . PokemonId . ToString ( ) . PadRight ( 16 , ' ' ) } Lvl: { PokemonInfo . GetLevel ( pokemon ) . ToString ( "00" ) } \t \t CP: { pokemon . Cp . ToString ( ) . PadRight ( 8 , ' ' ) } \t \t IV: { PokemonInfo . CalculatePokemonPerfection ( pokemon ) . ToString ( "0.00" ) } %\t \t \t MOVE1: { pokemon . Move1 } \t \t \t MOVE2: { pokemon . Move2 } ",
88
- dumpFileName ) ;
89
- Dumper . Dump ( session ,
90
- $ "{ pokemon . PokemonId } ,{ PokemonInfo . GetLevel ( pokemon ) . ToString ( "00" ) } ,{ pokemon . Cp } ,{ PokemonInfo . CalculatePokemonPerfection ( pokemon ) . ToString ( "0.00" ) } %,{ pokemon . Move1 } ,{ pokemon . Move2 } ",
91
- dumpFileName , "csv" ) ;
92
- }
93
- }
78
+ //if (session.LogicSettings.DumpPokemonStats)
79
+ //{
80
+ // const string dumpFileName = "PokeBagStats";
81
+ // Dumper.ClearDumpFile(session, dumpFileName);
82
+
83
+ // Dumper.ClearDumpFile(session, dumpFileName, "csv");
84
+ // Dumper.Dump(session, "Name,Level,CP,IV,Move1,Move2", dumpFileName, "csv");
85
+ // foreach (var pokemon in allPokemonInBag)
86
+ // {
87
+ // Dumper.Dump(session,
88
+ // $"NAME: {pokemon.PokemonId.ToString().PadRight(16, ' ')}Lvl: {PokemonInfo.GetLevel(pokemon).ToString("00")}\t\tCP: {pokemon.Cp.ToString().PadRight(8, ' ')}\t\t IV: {PokemonInfo.CalculatePokemonPerfection(pokemon).ToString("0.00")}%\t\t\tMOVE1: {pokemon.Move1}\t\t\tMOVE2: {pokemon.Move2}",
89
+ // dumpFileName);
90
+ // Dumper.Dump(session,
91
+ // $"{pokemon.PokemonId},{PokemonInfo.GetLevel(pokemon).ToString("00")},{pokemon.Cp},{PokemonInfo.CalculatePokemonPerfection(pokemon).ToString("0.00")}%,{pokemon.Move1},{pokemon.Move2}",
92
+ // dumpFileName, "csv");
93
+ // }
94
+ //}
94
95
if ( session . LogicSettings . Teleport )
95
96
await Task . Delay ( session . LogicSettings . DelayDisplayPokemon ) ;
96
97
else
0 commit comments