mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Fix Hyperspace Fury
This commit is contained in:
parent
2624c9fe51
commit
c1bc84d259
|
|
@ -6684,7 +6684,7 @@ exports.BattleMovedex = {
|
|||
accuracy: true,
|
||||
basePower: 100,
|
||||
category: "Physical",
|
||||
desc: "Lowers the user's Defense by 1 stage. This move cannot be used successfully unless the user is a Hoopa in its Unbound forme. If this move is successful, it breaks through the target's Detect, King's Shield, Protect, or Spiky Shield for this turn, allowing other Pokemon to attack the target normally. If the target's side is protected by Crafty Shield, Mat Block, Quick Guard, or Wide Guard, that protection is also broken for this turn and other Pokemon may attack the target's side normally.",
|
||||
desc: "Lowers the user's Defense by 1 stage. This move cannot be used successfully unless the user's current form, while considering Transform, is Hoopa Unbound. If this move is successful, it breaks through the target's Detect, King's Shield, Protect, or Spiky Shield for this turn, allowing other Pokemon to attack the target normally. If the target's side is protected by Crafty Shield, Mat Block, Quick Guard, or Wide Guard, that protection is also broken for this turn and other Pokemon may attack the target's side normally.",
|
||||
shortDesc: "Hoopa-U: Lowers user's Def. by 1; breaks protection.",
|
||||
id: "hyperspacefury",
|
||||
isViable: true,
|
||||
|
|
@ -6694,11 +6694,11 @@ exports.BattleMovedex = {
|
|||
flags: {mirror: 1, authentic: 1},
|
||||
breaksProtect: true,
|
||||
onTry: function (pokemon) {
|
||||
if (pokemon.species === 'Hoopa-Unbound' && pokemon.baseTemplate.species === pokemon.species) {
|
||||
if (pokemon.template.species === 'Hoopa-Unbound') {
|
||||
return;
|
||||
}
|
||||
this.add('-hint', "Only a Hoopa in its Unbound forme can use this move.");
|
||||
if (pokemon.baseTemplate.species === 'Hoopa') {
|
||||
this.add('-hint', "Only a Pokemon whose form is Hoopa Unbound can use this move.");
|
||||
if (pokemon.template.species === 'Hoopa') {
|
||||
this.add('-fail', pokemon, 'move: Hyperspace Fury', '[forme]');
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user