Remove getTemplate call from Pokemon constructor (#1479)

This commit is contained in:
Kirk Scheibelhut
2020-03-16 10:41:22 -07:00
committed by GitHub
parent a176317913
commit a8561b176c

View File

@@ -106,9 +106,6 @@ class Pokemon implements PokemonDetails, PokemonHealth {
this.side = side;
this.species = data.species;
// TODO: stop doing this
Object.assign(this, Dex.getTemplate(data.species));
this.details = data.details;
this.name = data.name;
this.level = data.level;