parent
22ac84f28a
commit
28368ec205
@ -49,7 +49,7 @@ namespace NadekoBot.Modules.Pokemon
|
|||||||
return PokemonTypesMain.IntToPokeType(setTypes[(long)id]);
|
return PokemonTypesMain.IntToPokeType(setTypes[(long)id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
int remainder = (int)id % 16;
|
int remainder = Math.Abs((int)(id % 16));
|
||||||
|
|
||||||
return PokemonTypesMain.IntToPokeType(remainder);
|
return PokemonTypesMain.IntToPokeType(remainder);
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ namespace NadekoBot.Modules.Pokemon.PokemonTypes
|
|||||||
class SteelType : PokeType
|
class SteelType : PokeType
|
||||||
{
|
{
|
||||||
static readonly string name = "STEEL";
|
static readonly string name = "STEEL";
|
||||||
public static int numType = -1;
|
public static int numType = 16;
|
||||||
|
|
||||||
public double Multiplier(PokeType target)
|
public double Multiplier(PokeType target)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user