Removed hardcoded pokemoves
This commit is contained in:
parent
d82cd19b7b
commit
4a758b412f
@ -1,91 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace NadekoBot.Modules.Pokemon
|
||||
{
|
||||
class DefaultMoves
|
||||
{
|
||||
|
||||
public static Dictionary<string, int> DefaultMovesList = new Dictionary<string, int>()
|
||||
{
|
||||
{"sonic boom",0},
|
||||
{"quick attack",0},
|
||||
{"doubleslap",0},
|
||||
{"headbutt",0},
|
||||
{"incinerate",1},
|
||||
{"ember",1},
|
||||
{"fire punch",1},
|
||||
{"fiery dance",1},
|
||||
{"bubblebeam",2},
|
||||
{"dive",2},
|
||||
{"whirlpool",2},
|
||||
{"aqua tail",2},
|
||||
{"nuzzle",3},
|
||||
{"thunderbolt",3},
|
||||
{"thundershock",3},
|
||||
{"discharge",3},
|
||||
{"absorb",4},
|
||||
{"mega drain",4},
|
||||
{"vine whip",4},
|
||||
{"razor leaf",4},
|
||||
{"ice ball",5},
|
||||
{"powder snow",5},
|
||||
{"avalanche",5},
|
||||
{"icy wind",5},
|
||||
{"low kick",6},
|
||||
{"force palm",6},
|
||||
{"mach punch",6},
|
||||
{"double kick",6},
|
||||
{"acid",7},
|
||||
{"smog",7},
|
||||
{"sludge",7},
|
||||
{"poison jab",7},
|
||||
{"mud-slap",8},
|
||||
{"boomerang",8},
|
||||
{"bulldoze",8},
|
||||
{"dig",8},
|
||||
{"peck",9},
|
||||
{"pluck",9},
|
||||
{"gust",9},
|
||||
{"aerial ace",9},
|
||||
{"confusion",10},
|
||||
{"psybeam",10},
|
||||
{"psywave",10},
|
||||
{"heart stamp",10},
|
||||
{"bug bite",11},
|
||||
{"infestation",11},
|
||||
{"x-scissor",11},
|
||||
{"twineedle",11},
|
||||
{"rock throw",12},
|
||||
{"rollout",12},
|
||||
{"rock tomb",12},
|
||||
{"rock blast",12},
|
||||
{"astonish",13},
|
||||
{"night shade",13},
|
||||
{"lick",13},
|
||||
{"ominous wind",13},
|
||||
{"hex",13},
|
||||
{"dragon tail",14},
|
||||
{"dragon rage",14},
|
||||
{"dragonbreath",14},
|
||||
{"twister",14},
|
||||
{"pursuit",15},
|
||||
{"assurance",15},
|
||||
{"bite",15},
|
||||
{"faint attack",15},
|
||||
{"bullet punch",16},
|
||||
{"metal burst",16},
|
||||
{"gear grind",16},
|
||||
{"magnet bomb",16},
|
||||
{"fairy wind",17},
|
||||
{"draining kiss",17},
|
||||
{"dazzling gleam",17},
|
||||
{"play rough",17}
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -21,13 +21,7 @@ namespace NadekoBot.Modules.Pokemon
|
||||
|
||||
public PokemonModule()
|
||||
{
|
||||
DbHandler.Instance.DeleteAll<PokeMoves>();
|
||||
DbHandler.Instance.InsertMany(
|
||||
DefaultMoves.DefaultMovesList.Select(move => new PokeMoves
|
||||
{
|
||||
move = move.Key,
|
||||
type = move.Value
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
private int GetDamage(PokeType usertype, PokeType targetType)
|
||||
|
@ -199,7 +199,6 @@
|
||||
<Compile Include="Modules\NSFW.cs" />
|
||||
<Compile Include="Modules\Permissions.cs" />
|
||||
<Compile Include="Modules\Administration\Commands\RatelimitCommand.cs" />
|
||||
<Compile Include="Modules\Pokemon\DefaultMoves.cs" />
|
||||
<Compile Include="Modules\Pokemon\PokemonModule.cs" />
|
||||
<Compile Include="Modules\Pokemon\PokemonTypes\FairyType.cs" />
|
||||
<Compile Include="Modules\Pokemon\PokemonTypes\IPokeTypeExtensions.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user