mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-07 14:56:24 -05:00
Set unreleased forms to the same level as the regular form in Random Battle
This commit is contained in:
parent
5b2df72f70
commit
f4cd04a651
|
|
@ -1532,7 +1532,8 @@ exports.BattleScripts = {
|
|||
// Holistic judgment
|
||||
Genesect: 72, Sigilyph: 76, Xerneas: 66
|
||||
};
|
||||
var level = levelScale[template.tier] || 90;
|
||||
var tier = template.forme && template.tier === 'Unreleased' ? this.getTemplate(template.baseSpecies).tier : template.tier;
|
||||
var level = levelScale[tier] || 90;
|
||||
if (customScale[template.name]) level = customScale[template.name];
|
||||
|
||||
if (template.name === 'Serperior' && ability === 'Contrary') level = 76;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user