From ae80be8cf0f1678b3f17f84c03f99978de32dd69 Mon Sep 17 00:00:00 2001 From: Kevin Lau Date: Wed, 18 Feb 2015 10:52:29 -0800 Subject: [PATCH] Random Battle: Update Unfezant - Force Super Luck on Unfezant (it has a 33% chance of getting Big Pecks) - Force Scope Lens on Unfezants with enough attacking moves - Give Unfezant Night Slash - Replace Wish with Roost in Doubles --- data/formats-data.js | 4 ++-- data/scripts.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/data/formats-data.js b/data/formats-data.js index 30d61d71d9..32cc2a8c61 100644 --- a/data/formats-data.js +++ b/data/formats-data.js @@ -4060,8 +4060,8 @@ exports.BattleFormatsData = { tier: "NFE" }, unfezant: { - randomBattleMoves: ["return","pluck","hypnosis","tailwind","uturn","roost"], - randomDoubleBattleMoves: ["pluck","uturn","return","protect","tailwind","taunt","wish"], + randomBattleMoves: ["return","pluck","hypnosis","tailwind","uturn","roost","nightslash"], + randomDoubleBattleMoves: ["pluck","uturn","return","protect","tailwind","taunt","roost","nightslash"], tier: "PU" }, blitzle: { diff --git a/data/scripts.js b/data/scripts.js index 295a4bcf14..826b6c0187 100644 --- a/data/scripts.js +++ b/data/scripts.js @@ -1541,6 +1541,8 @@ exports.BattleScripts = { } else if (template.id === 'mawilemega') { // Mega Mawile only needs Intimidate for a starting ability ability = 'Intimidate'; + } else if (template.id === 'unfezant') { + ability = 'Super Luck'; } } @@ -1609,6 +1611,8 @@ exports.BattleScripts = { item = 'Stick'; } else if (template.species === 'Dedenne') { item = 'Petaya Berry'; + } else if (template.species === 'Unfezant' && counter['Physical'] >= 2) { + item = 'Scope Lens'; } else if (template.evos.length) { item = 'Eviolite'; } else if (hasMove['reflect'] && hasMove['lightscreen']) { @@ -2646,6 +2650,9 @@ exports.BattleScripts = { if (abilities.indexOf('Intimidate') > -1 || template.id === 'mawilemega') { ability = 'Intimidate'; } + if (template.id === 'unfezant') { + ability = 'Super Luck'; + } } // Make EVs comply with the sets. @@ -2733,6 +2740,8 @@ exports.BattleScripts = { item = 'Black Sludge'; } else if (template.species === 'Dedenne') { item = 'Petaya Berry'; + } else if (template.species === 'Unfezant' && counter['Physical'] >= 2) { + item = 'Scope Lens'; } else if (template.evos.length) { item = 'Eviolite'; } else if (hasMove['reflect'] && hasMove['lightscreen']) {