Removed module projects because it can't work like that atm. Commented out package commands.
This commit is contained in:
		
							
								
								
									
										15
									
								
								NadekoBot.Core/Modules/Pokemon/Common/PokeStats.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								NadekoBot.Core/Modules/Pokemon/Common/PokeStats.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| using System.Collections.Generic; | ||||
|  | ||||
| namespace NadekoBot.Modules.Pokemon.Common | ||||
| { | ||||
|     public class PokeStats | ||||
|     { | ||||
|         //Health left | ||||
|         public int Hp { get; set; } = 500; | ||||
|         public int MaxHp { get; } = 500; | ||||
|         //Amount of moves made since last time attacked | ||||
|         public int MovesMade { get; set; } = 0; | ||||
|         //Last people attacked | ||||
|         public List<ulong> LastAttacked { get; set; } = new List<ulong>(); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										32
									
								
								NadekoBot.Core/Modules/Pokemon/Common/PokemonType.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								NadekoBot.Core/Modules/Pokemon/Common/PokemonType.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| using System.Collections.Generic; | ||||
|  | ||||
| namespace NadekoBot.Modules.Pokemon.Common | ||||
| { | ||||
|     public class PokemonType | ||||
|     { | ||||
|         public PokemonType(string n, string i, string[] m, List<PokemonMultiplier> multi) | ||||
|         { | ||||
|             Name = n; | ||||
|             Icon = i; | ||||
|             Moves = m; | ||||
|             Multipliers = multi; | ||||
|         } | ||||
|         public string Name { get; set; } | ||||
|         public List<PokemonMultiplier> Multipliers { get; set; } | ||||
|         public string Icon { get; set; } | ||||
|         public string[] Moves { get; set; } | ||||
|  | ||||
|         public override string ToString() =>  | ||||
|             Icon + "**" + Name.ToLowerInvariant() + "**" + Icon; | ||||
|     } | ||||
|     public class PokemonMultiplier | ||||
|     { | ||||
|         public PokemonMultiplier(string t, double m) | ||||
|         { | ||||
|             Type = t; | ||||
|             Multiplication = m; | ||||
|         } | ||||
|         public string Type { get; set; } | ||||
|         public double Multiplication { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user