Teambuilder: Update Hidden Type exception to gen 7

This commit is contained in:
The Immortal
2016-12-13 00:08:50 +04:00
committed by GitHub
parent 899cd96922
commit ddf5f99355

View File

@@ -2614,7 +2614,7 @@
},
unChooseMove: function (moveName) {
var set = this.curSet;
if (!moveName || !set || this.curTeam.format === 'hiddentype') return;
if (!moveName || !set || this.curTeam.format === 'gen7hiddentype') return;
if (moveName.substr(0, 13) === 'Hidden Power ') {
if (set.ivs) {
for (var i in set.ivs) {
@@ -2657,7 +2657,7 @@
minSpe = true;
}
if (this.curTeam.format === 'hiddentype') return;
if (this.curTeam.format === 'gen7hiddentype') return;
var minAtk = true;
var hpModulo = (this.curTeam.gen >= 6 ? 2 : 4);