mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-09 09:45:44 -05:00
Skill Swap fails against Dynamax
This commit is contained in:
@@ -1216,7 +1216,6 @@ let BattleMovedex = {
|
||||
return move.basePower;
|
||||
},
|
||||
category: "Physical",
|
||||
// TODO: Check to see if power doubles against Gigantamax
|
||||
desc: "Deals double damage against Dynamax and Gigantamax Pokemon.",
|
||||
shortDesc: "Double damage against Dynamax/Gigantamax.",
|
||||
id: "behemothbash",
|
||||
@@ -1239,7 +1238,6 @@ let BattleMovedex = {
|
||||
return move.basePower;
|
||||
},
|
||||
category: "Physical",
|
||||
// TODO: Check to see if power doubles against Gigantamax
|
||||
desc: "Deals double damage against Dynamax and Gigantamax Pokemon.",
|
||||
shortDesc: "Double damage against Dynamax/Gigantamax.",
|
||||
id: "behemothblade",
|
||||
@@ -16848,7 +16846,7 @@ let BattleMovedex = {
|
||||
flags: {protect: 1, mirror: 1, authentic: 1, mystery: 1},
|
||||
onTryHit(target, source) {
|
||||
let bannedAbilities = ['battlebond', 'comatose', 'disguise', 'illusion', 'multitype', 'powerconstruct', 'rkssystem', 'schooling', 'shieldsdown', 'stancechange', 'wonderguard', 'zenmode'];
|
||||
if (bannedAbilities.includes(target.ability) || bannedAbilities.includes(source.ability)) {
|
||||
if (target.volatiles['dynamax'] || bannedAbilities.includes(target.ability) || bannedAbilities.includes(source.ability)) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user