mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Added move flag "CannnotMetronome"
This commit is contained in:
@@ -63,6 +63,10 @@ module GameData
|
||||
return pbGetMessageFromHash(MessageTypes::MoveDescriptions, @real_description)
|
||||
end
|
||||
|
||||
def has_flag?(flag)
|
||||
return @flags.any? { |f| f.downcase == flag.downcase }
|
||||
end
|
||||
|
||||
def physical?
|
||||
return false if @base_damage == 0
|
||||
return @category == 0 if Settings::MOVE_CATEGORY_PER_MOVE
|
||||
|
||||
@@ -674,62 +674,62 @@ class Battle::Move::UseLastMoveUsed < Battle::Move
|
||||
super
|
||||
@moveBlacklist = [
|
||||
# Struggle, Belch
|
||||
"Struggle",
|
||||
"FailsIfUserNotConsumedBerry", # Belch # Not listed on Bulbapedia
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch # Not listed on Bulbapedia
|
||||
# Moves that affect the moveset
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
# Counter moves
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
# Helping Hand, Feint (always blacklisted together, don't know why)
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
# Protection moves
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard # Not listed on Bulbapedia
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard # Not listed on Bulbapedia
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard # Not listed on Bulbapedia
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard # Not listed on Bulbapedia
|
||||
"UserEnduresFaintingThisTurn", # Endure
|
||||
"ProtectUserSideFromDamagingMovesIfUserFirstTurn", # Mat Block
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield # Not listed on Bulbapedia
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield # Not listed on Bulbapedia
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
# Moves that call other moves
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat (this move)
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power # Not listed on Bulbapedia
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat (this move)
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power # Not listed on Bulbapedia
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
# Move-redirecting and stealing moves
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
# Set up effects that trigger upon KO
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
# Held item-moving moves
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
# Moves that start focussing at the start of the round
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
# Event moves that do nothing
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
]
|
||||
if Settings::MECHANICS_GENERATION >= 6
|
||||
@moveBlacklist += [
|
||||
# Target-switching moves
|
||||
"SwitchOutTargetStatusMove", # Roar, Whirlwind
|
||||
"SwitchOutTargetDamagingMove" # Circle Throw, Dragon Tail
|
||||
"SwitchOutTargetStatusMove", # Roar, Whirlwind
|
||||
"SwitchOutTargetDamagingMove" # Circle Throw, Dragon Tail
|
||||
]
|
||||
end
|
||||
end
|
||||
@@ -789,18 +789,18 @@ class Battle::Move::UseMoveTargetIsAboutToUse < Battle::Move
|
||||
def initialize(battle, move)
|
||||
super
|
||||
@moveBlacklist = [
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
# Struggle, Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
# Counter moves
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst
|
||||
# Moves that start focussing at the start of the round
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs" # Beak Blast
|
||||
"BurnAttackerBeforeUserActs" # Beak Blast
|
||||
]
|
||||
end
|
||||
|
||||
@@ -893,83 +893,61 @@ class Battle::Move::UseRandomMove < Battle::Move
|
||||
def initialize(battle, move)
|
||||
super
|
||||
@moveBlacklist = [
|
||||
"FlinchTargetFailsIfUserNotAsleep", # Snore
|
||||
"TargetActsNext", # After You
|
||||
"TargetActsLast", # Quash
|
||||
"TargetUsesItsLastUsedMoveAgain", # Instruct
|
||||
"FlinchTargetFailsIfUserNotAsleep", # Snore
|
||||
"TargetActsNext", # After You
|
||||
"TargetActsLast", # Quash
|
||||
"TargetUsesItsLastUsedMoveAgain", # Instruct
|
||||
# Struggle, Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
# Moves that affect the moveset
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
# Counter moves
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
# Helping Hand, Feint (always blacklisted together, don't know why)
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
# Protection moves
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard
|
||||
"UserEnduresFaintingThisTurn", # Endure
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard
|
||||
"UserEnduresFaintingThisTurn", # Endure
|
||||
"ProtectUserSideFromDamagingMovesIfUserFirstTurn", # Mat Block
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
# Moves that call other moves
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
# Move-redirecting and stealing moves
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
# Set up effects that trigger upon KO
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
# Held item-moving moves
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
# Moves that start focussing at the start of the round
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
# Event moves that do nothing
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
]
|
||||
@moveBlacklistSignatures = [
|
||||
:SNARL,
|
||||
# Signature moves
|
||||
:DIAMONDSTORM, # Diancie (Gen 6)
|
||||
:FLEURCANNON, # Magearna (Gen 7)
|
||||
:FREEZESHOCK, # Black Kyurem (Gen 5)
|
||||
:HYPERSPACEFURY, # Hoopa Unbound (Gen 6)
|
||||
:HYPERSPACEHOLE, # Hoopa Confined (Gen 6)
|
||||
:ICEBURN, # White Kyurem (Gen 5)
|
||||
:LIGHTOFRUIN, # Eternal Flower Floette (Gen 6)
|
||||
:MINDBLOWN, # Blacephalon (Gen 7)
|
||||
:PHOTONGEYSER, # Necrozma (Gen 7)
|
||||
:PLASMAFISTS, # Zeraora (Gen 7)
|
||||
:RELICSONG, # Meloetta (Gen 5)
|
||||
:SECRETSWORD, # Keldeo (Gen 5)
|
||||
:SPECTRALTHIEF, # Marshadow (Gen 7)
|
||||
:STEAMERUPTION, # Volcanion (Gen 6)
|
||||
:TECHNOBLAST, # Genesect (Gen 5)
|
||||
:THOUSANDARROWS, # Zygarde (Gen 6)
|
||||
:THOUSANDWAVES, # Zygarde (Gen 6)
|
||||
:VCREATE # Victini (Gen 5)
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
]
|
||||
end
|
||||
|
||||
@@ -982,7 +960,7 @@ class Battle::Move::UseRandomMove < Battle::Move
|
||||
move_id = move_keys[@battle.pbRandom(move_keys.length)]
|
||||
move_data = GameData::Move.get(move_id)
|
||||
next if @moveBlacklist.include?(move_data.function_code)
|
||||
next if @moveBlacklistSignatures.include?(move_data.id)
|
||||
next if move_data.has_flag?("CannnotMetronome")
|
||||
next if move_data.type == :SHADOW
|
||||
@metronomeMove = move_data.id
|
||||
break
|
||||
@@ -1009,81 +987,81 @@ class Battle::Move::UseRandomMoveFromUserParty < Battle::Move
|
||||
super
|
||||
@moveBlacklist = [
|
||||
# Struggle, Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
"Struggle", # Struggle
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
# Moves that affect the moveset
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget", # Transform
|
||||
# Counter moves
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
"CounterPhysicalDamage", # Counter
|
||||
"CounterSpecialDamage", # Mirror Coat
|
||||
"CounterDamagePlusHalf", # Metal Burst # Not listed on Bulbapedia
|
||||
# Helping Hand, Feint (always blacklisted together, don't know why)
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
"PowerUpAllyMove", # Helping Hand
|
||||
"RemoveProtections", # Feint
|
||||
# Protection moves
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard # Not listed on Bulbapedia
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard # Not listed on Bulbapedia
|
||||
"UserEnduresFaintingThisTurn", # Endure
|
||||
"ProtectUser", # Detect, Protect
|
||||
"ProtectUserSideFromPriorityMoves", # Quick Guard # Not listed on Bulbapedia
|
||||
"ProtectUserSideFromMultiTargetDamagingMoves", # Wide Guard # Not listed on Bulbapedia
|
||||
"UserEnduresFaintingThisTurn", # Endure
|
||||
"ProtectUserSideFromDamagingMovesIfUserFirstTurn", # Mat Block
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield # Not listed on Bulbapedia
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
"ProtectUserSideFromStatusMoves", # Crafty Shield # Not listed on Bulbapedia
|
||||
"ProtectUserFromDamagingMovesKingsShield", # King's Shield
|
||||
"ProtectUserFromTargetingMovesSpikyShield", # Spiky Shield
|
||||
"ProtectUserBanefulBunker", # Baneful Bunker
|
||||
# Moves that call other moves
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
# "UseMoveDependingOnEnvironment", # Nature Power # See below
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
# "UseMoveDependingOnEnvironment", # Nature Power # See below
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
# Move-redirecting and stealing moves
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
"BounceBackProblemCausingStatusMoves", # Magic Coat # Not listed on Bulbapedia
|
||||
"StealAndUseBeneficialStatusMove", # Snatch
|
||||
"RedirectAllMovesToUser", # Follow Me, Rage Powder
|
||||
"RedirectAllMovesToTarget", # Spotlight
|
||||
# Set up effects that trigger upon KO
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
"ReduceAttackerMovePPTo0IfUserFaints", # Grudge # Not listed on Bulbapedia
|
||||
"AttackerFaintsIfUserFaints", # Destiny Bond
|
||||
# Target-switching moves
|
||||
# "SwitchOutTargetStatusMove", # Roar, Whirlwind # See below
|
||||
"SwitchOutTargetDamagingMove", # Circle Throw, Dragon Tail
|
||||
# "SwitchOutTargetStatusMove", # Roar, Whirlwind # See below
|
||||
"SwitchOutTargetDamagingMove", # Circle Throw, Dragon Tail
|
||||
# Held item-moving moves
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
"UserTakesTargetItem", # Covet, Thief
|
||||
"UserTargetSwapItems", # Switcheroo, Trick
|
||||
"TargetTakesUserItem", # Bestow
|
||||
# Moves that start focussing at the start of the round
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs", # Beak Blast
|
||||
# Event moves that do nothing
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
"DoesNothingFailsIfNoAlly", # Hold Hands
|
||||
"DoesNothingCongratulations" # Celebrate
|
||||
]
|
||||
if Settings::MECHANICS_GENERATION >= 6
|
||||
@moveBlacklist += [
|
||||
# Moves that call other moves
|
||||
"UseMoveDependingOnEnvironment", # Nature Power
|
||||
"UseMoveDependingOnEnvironment", # Nature Power
|
||||
# Two-turn attacks
|
||||
"TwoTurnAttack", # Razor Wind # Not listed on Bulbapedia
|
||||
"TwoTurnAttackOneTurnInSun", # Solar Beam, Solar Blade # Not listed on Bulbapedia
|
||||
"TwoTurnAttackParalyzeTarget", # Freeze Shock # Not listed on Bulbapedia
|
||||
"TwoTurnAttackBurnTarget", # Ice Burn # Not listed on Bulbapedia
|
||||
"TwoTurnAttackFlinchTarget", # Sky Attack # Not listed on Bulbapedia
|
||||
"TwoTurnAttackChargeRaiseUserDefense1", # Skull Bash # Not listed on Bulbapedia
|
||||
"TwoTurnAttackInvulnerableInSky", # Fly
|
||||
"TwoTurnAttackInvulnerableUnderground", # Dig
|
||||
"TwoTurnAttackInvulnerableUnderwater", # Dive
|
||||
"TwoTurnAttackInvulnerableInSkyParalyzeTarget", # Bounce
|
||||
"TwoTurnAttackInvulnerableRemoveProtections", # Shadow Force/Phantom Force
|
||||
"TwoTurnAttack", # Razor Wind # Not listed on Bulbapedia
|
||||
"TwoTurnAttackOneTurnInSun", # Solar Beam, Solar Blade # Not listed on Bulbapedia
|
||||
"TwoTurnAttackParalyzeTarget", # Freeze Shock # Not listed on Bulbapedia
|
||||
"TwoTurnAttackBurnTarget", # Ice Burn # Not listed on Bulbapedia
|
||||
"TwoTurnAttackFlinchTarget", # Sky Attack # Not listed on Bulbapedia
|
||||
"TwoTurnAttackChargeRaiseUserDefense1", # Skull Bash # Not listed on Bulbapedia
|
||||
"TwoTurnAttackInvulnerableInSky", # Fly
|
||||
"TwoTurnAttackInvulnerableUnderground", # Dig
|
||||
"TwoTurnAttackInvulnerableUnderwater", # Dive
|
||||
"TwoTurnAttackInvulnerableInSkyParalyzeTarget", # Bounce
|
||||
"TwoTurnAttackInvulnerableRemoveProtections", # Shadow Force/Phantom Force
|
||||
"TwoTurnAttackInvulnerableInSkyTargetCannotAct", # Sky Drop
|
||||
"AllBattlersLoseHalfHPUserSkipsNextTurn", # Shadow Half
|
||||
"TwoTurnAttackRaiseUserSpAtkSpDefSpd2", # Geomancy # Not listed on Bulbapedia
|
||||
"AllBattlersLoseHalfHPUserSkipsNextTurn", # Shadow Half
|
||||
"TwoTurnAttackRaiseUserSpAtkSpDefSpd2", # Geomancy # Not listed on Bulbapedia
|
||||
# Target-switching moves
|
||||
"SwitchOutTargetStatusMove" # Roar, Whirlwind
|
||||
"SwitchOutTargetStatusMove" # Roar, Whirlwind
|
||||
]
|
||||
end
|
||||
end
|
||||
@@ -1123,41 +1101,41 @@ class Battle::Move::UseRandomUserMoveIfAsleep < Battle::Move
|
||||
def initialize(battle, move)
|
||||
super
|
||||
@moveBlacklist = [
|
||||
"MultiTurnAttackPreventSleeping", # Uproar
|
||||
"MultiTurnAttackBideThenReturnDoubleDamage", # Bide
|
||||
"MultiTurnAttackPreventSleeping", # Uproar
|
||||
"MultiTurnAttackBideThenReturnDoubleDamage", # Bide
|
||||
# Struggle, Belch
|
||||
"Struggle", # Struggle # Not listed on Bulbapedia
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
"Struggle", # Struggle # Not listed on Bulbapedia
|
||||
"FailsIfUserNotConsumedBerry", # Belch
|
||||
# Moves that affect the moveset (except Transform)
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
# Moves that call other moves
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power # Not listed on Bulbapedia
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
"UseLastMoveUsedByTarget", # Mirror Move
|
||||
"UseLastMoveUsed", # Copycat
|
||||
"UseMoveTargetIsAboutToUse", # Me First
|
||||
"UseMoveDependingOnEnvironment", # Nature Power # Not listed on Bulbapedia
|
||||
"UseRandomUserMoveIfAsleep", # Sleep Talk
|
||||
"UseRandomMoveFromUserParty", # Assist
|
||||
"UseRandomMove", # Metronome
|
||||
# Two-turn attacks
|
||||
"TwoTurnAttack", # Razor Wind
|
||||
"TwoTurnAttackOneTurnInSun", # Solar Beam, Solar Blade
|
||||
"TwoTurnAttackParalyzeTarget", # Freeze Shock
|
||||
"TwoTurnAttackBurnTarget", # Ice Burn
|
||||
"TwoTurnAttackFlinchTarget", # Sky Attack
|
||||
"TwoTurnAttackChargeRaiseUserDefense1", # Skull Bash
|
||||
"TwoTurnAttackInvulnerableInSky", # Fly
|
||||
"TwoTurnAttackInvulnerableUnderground", # Dig
|
||||
"TwoTurnAttackInvulnerableUnderwater", # Dive
|
||||
"TwoTurnAttackInvulnerableInSkyParalyzeTarget", # Bounce
|
||||
"TwoTurnAttackInvulnerableRemoveProtections", # Shadow Force/Phantom Force
|
||||
"TwoTurnAttack", # Razor Wind
|
||||
"TwoTurnAttackOneTurnInSun", # Solar Beam, Solar Blade
|
||||
"TwoTurnAttackParalyzeTarget", # Freeze Shock
|
||||
"TwoTurnAttackBurnTarget", # Ice Burn
|
||||
"TwoTurnAttackFlinchTarget", # Sky Attack
|
||||
"TwoTurnAttackChargeRaiseUserDefense1", # Skull Bash
|
||||
"TwoTurnAttackInvulnerableInSky", # Fly
|
||||
"TwoTurnAttackInvulnerableUnderground", # Dig
|
||||
"TwoTurnAttackInvulnerableUnderwater", # Dive
|
||||
"TwoTurnAttackInvulnerableInSkyParalyzeTarget", # Bounce
|
||||
"TwoTurnAttackInvulnerableRemoveProtections", # Shadow Force/Phantom Force
|
||||
"TwoTurnAttackInvulnerableInSkyTargetCannotAct", # Sky Drop
|
||||
"AllBattlersLoseHalfHPUserSkipsNextTurn", # Shadow Half
|
||||
"TwoTurnAttackRaiseUserSpAtkSpDefSpd2", # Geomancy
|
||||
"AllBattlersLoseHalfHPUserSkipsNextTurn", # Shadow Half
|
||||
"TwoTurnAttackRaiseUserSpAtkSpDefSpd2", # Geomancy
|
||||
# Moves that start focussing at the start of the round
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs" # Beak Blast
|
||||
"FailsIfUserDamagedThisTurn", # Focus Punch
|
||||
"UsedAfterUserTakesPhysicalDamage", # Shell Trap
|
||||
"BurnAttackerBeforeUserActs" # Beak Blast
|
||||
]
|
||||
end
|
||||
|
||||
@@ -1216,13 +1194,13 @@ class Battle::Move::ReplaceMoveThisBattleWithTargetLastMoveUsed < Battle::Move
|
||||
def initialize(battle, move)
|
||||
super
|
||||
@moveBlacklist = [
|
||||
"UseRandomMove", # Metronome
|
||||
"UseRandomMove", # Metronome
|
||||
# Struggle
|
||||
"Struggle", # Struggle
|
||||
"Struggle", # Struggle
|
||||
# Moves that affect the moveset
|
||||
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget" # Transform
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch
|
||||
"TransformUserIntoTarget" # Transform
|
||||
]
|
||||
end
|
||||
|
||||
@@ -1269,7 +1247,7 @@ class Battle::Move::ReplaceMoveWithTargetLastMoveUsed < Battle::Move
|
||||
@moveBlacklist = [
|
||||
"ReplaceMoveWithTargetLastMoveUsed", # Sketch (this move)
|
||||
# Struggle
|
||||
"Struggle" # Struggle
|
||||
"Struggle" # Struggle
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
@@ -359,7 +359,7 @@ Accuracy = 95
|
||||
TotalPP = 15
|
||||
Target = AllNearFoes
|
||||
FunctionCode = LowerTargetSpAtk1
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 100
|
||||
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
|
||||
#-------------------------------
|
||||
@@ -1139,7 +1139,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
|
||||
#-------------------------------
|
||||
[SKYUPPERCUT]
|
||||
@@ -1481,7 +1481,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserDefSpDefSpd1
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
|
||||
#-------------------------------
|
||||
[BLASTBURN]
|
||||
@@ -2881,7 +2881,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackParalyzeTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
|
||||
#-------------------------------
|
||||
@@ -2894,7 +2894,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackBurnTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
|
||||
#-------------------------------
|
||||
@@ -3334,7 +3334,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TypeDependsOnUserDrive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
|
||||
#-------------------------------
|
||||
[EXTREMESPEED]
|
||||
@@ -3446,7 +3446,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = SleepTargetChangeUserMeloettaForm
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 10
|
||||
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
|
||||
#-------------------------------
|
||||
|
||||
@@ -341,7 +341,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
|
||||
#-------------------------------
|
||||
[FOULPLAY]
|
||||
@@ -527,7 +527,7 @@ Accuracy = 95
|
||||
TotalPP = 15
|
||||
Target = AllNearFoes
|
||||
FunctionCode = LowerTargetSpAtk1
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 100
|
||||
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
|
||||
#-------------------------------
|
||||
@@ -1023,7 +1023,7 @@ Accuracy = 100
|
||||
TotalPP = 15
|
||||
Target = NearOther
|
||||
FunctionCode = NormalMovesBecomeElectric
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
|
||||
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
|
||||
#-------------------------------
|
||||
[THUNDERBOLT]
|
||||
@@ -1309,7 +1309,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RecoilHalfOfDamageDealt
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
|
||||
#-------------------------------
|
||||
[FLEURCANNON]
|
||||
@@ -1321,7 +1321,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserSpAtk2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[MOONBLAST]
|
||||
@@ -1671,7 +1671,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
|
||||
#-------------------------------
|
||||
[SKYUPPERCUT]
|
||||
@@ -2048,7 +2048,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserDefSpDefSpd1
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
|
||||
#-------------------------------
|
||||
[BLASTBURN]
|
||||
@@ -2084,7 +2084,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = AllNearOthers
|
||||
FunctionCode = UserLosesHalfOfTotalHPExplosive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks everything by causing its own head to explode. This also damages the user.
|
||||
#-------------------------------
|
||||
[SHELLTRAP]
|
||||
@@ -2805,7 +2805,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UserStealTargetPositiveStatStages
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
|
||||
#-------------------------------
|
||||
[SHADOWBONE]
|
||||
@@ -3568,7 +3568,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = HitsTargetInSkyGroundsTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
|
||||
#-------------------------------
|
||||
[THOUSANDWAVES]
|
||||
@@ -3580,7 +3580,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = TrapTargetInBattle
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
|
||||
#-------------------------------
|
||||
[DIG]
|
||||
@@ -3804,7 +3804,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackParalyzeTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
|
||||
#-------------------------------
|
||||
@@ -3817,7 +3817,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackBurnTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
|
||||
#-------------------------------
|
||||
@@ -4206,7 +4206,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TypeDependsOnUserDrive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
|
||||
#-------------------------------
|
||||
[THRASH]
|
||||
@@ -4440,7 +4440,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = SleepTargetChangeUserMeloettaForm
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 10
|
||||
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
|
||||
#-------------------------------
|
||||
@@ -6467,7 +6467,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[PSYSTRIKE]
|
||||
@@ -6529,7 +6529,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RemoveProtectionsBypassSubstitute
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
|
||||
#-------------------------------
|
||||
[PSYSHOCK]
|
||||
@@ -7108,7 +7108,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = AllNearFoes
|
||||
FunctionCode = RaiseUserDefense2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 50
|
||||
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
|
||||
#-------------------------------
|
||||
@@ -7621,7 +7621,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = BurnTarget
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
|
||||
#-------------------------------
|
||||
|
||||
@@ -354,7 +354,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
|
||||
#-------------------------------
|
||||
[FOULPLAY]
|
||||
@@ -601,7 +601,7 @@ Accuracy = 95
|
||||
TotalPP = 15
|
||||
Target = AllNearFoes
|
||||
FunctionCode = LowerTargetSpAtk1
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 100
|
||||
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
|
||||
#-------------------------------
|
||||
@@ -1205,7 +1205,7 @@ Accuracy = 100
|
||||
TotalPP = 15
|
||||
Target = NearOther
|
||||
FunctionCode = NormalMovesBecomeElectric
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
|
||||
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
|
||||
#-------------------------------
|
||||
[THUNDERBOLT]
|
||||
@@ -1539,7 +1539,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RecoilHalfOfDamageDealt
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
|
||||
#-------------------------------
|
||||
[FLEURCANNON]
|
||||
@@ -1551,7 +1551,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserSpAtk2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[MISTYEXPLOSION]
|
||||
@@ -1974,7 +1974,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
|
||||
#-------------------------------
|
||||
[SKYUPPERCUT]
|
||||
@@ -2395,7 +2395,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserDefSpDefSpd1
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
|
||||
#-------------------------------
|
||||
[BLASTBURN]
|
||||
@@ -2431,7 +2431,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = AllNearOthers
|
||||
FunctionCode = UserLosesHalfOfTotalHPExplosive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks everything by causing its own head to explode. This also damages the user.
|
||||
#-------------------------------
|
||||
[SHELLTRAP]
|
||||
@@ -3213,7 +3213,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UserStealTargetPositiveStatStages
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
|
||||
#-------------------------------
|
||||
[SHADOWBONE]
|
||||
@@ -4061,7 +4061,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = HitsTargetInSkyGroundsTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
|
||||
#-------------------------------
|
||||
[THOUSANDWAVES]
|
||||
@@ -4073,7 +4073,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = TrapTargetInBattle
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
|
||||
#-------------------------------
|
||||
[DIG]
|
||||
@@ -4310,7 +4310,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackParalyzeTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
|
||||
#-------------------------------
|
||||
@@ -4323,7 +4323,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackBurnTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
|
||||
#-------------------------------
|
||||
@@ -4748,7 +4748,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TypeDependsOnUserDrive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
|
||||
#-------------------------------
|
||||
[THRASH]
|
||||
@@ -4970,7 +4970,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = SleepTargetChangeUserMeloettaForm
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 10
|
||||
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
|
||||
#-------------------------------
|
||||
@@ -7066,7 +7066,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[PSYSTRIKE]
|
||||
@@ -7165,7 +7165,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RemoveProtectionsBypassSubstitute
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
|
||||
#-------------------------------
|
||||
[PSYSHOCK]
|
||||
@@ -7768,7 +7768,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = AllNearFoes
|
||||
FunctionCode = RaiseUserDefense2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 50
|
||||
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
|
||||
#-------------------------------
|
||||
@@ -8340,7 +8340,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = BurnTarget
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
|
||||
#-------------------------------
|
||||
|
||||
@@ -354,7 +354,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
|
||||
#-------------------------------
|
||||
[FOULPLAY]
|
||||
@@ -601,7 +601,7 @@ Accuracy = 95
|
||||
TotalPP = 15
|
||||
Target = AllNearFoes
|
||||
FunctionCode = LowerTargetSpAtk1
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 100
|
||||
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
|
||||
#-------------------------------
|
||||
@@ -1205,7 +1205,7 @@ Accuracy = 100
|
||||
TotalPP = 15
|
||||
Target = NearOther
|
||||
FunctionCode = NormalMovesBecomeElectric
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching
|
||||
Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
|
||||
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
|
||||
#-------------------------------
|
||||
[THUNDERBOLT]
|
||||
@@ -1539,7 +1539,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RecoilHalfOfDamageDealt
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
|
||||
#-------------------------------
|
||||
[FLEURCANNON]
|
||||
@@ -1551,7 +1551,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserSpAtk2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[MISTYEXPLOSION]
|
||||
@@ -1974,7 +1974,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
|
||||
#-------------------------------
|
||||
[SKYUPPERCUT]
|
||||
@@ -2395,7 +2395,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = LowerUserDefSpDefSpd1
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
|
||||
#-------------------------------
|
||||
[BLASTBURN]
|
||||
@@ -2431,7 +2431,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = AllNearOthers
|
||||
FunctionCode = UserLosesHalfOfTotalHPExplosive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks everything by causing its own head to explode. This also damages the user.
|
||||
#-------------------------------
|
||||
[SHELLTRAP]
|
||||
@@ -3213,7 +3213,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = NearOther
|
||||
FunctionCode = UserStealTargetPositiveStatStages
|
||||
Flags = Contact,CanProtect,CanMirrorMove
|
||||
Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
|
||||
#-------------------------------
|
||||
[SHADOWBONE]
|
||||
@@ -4061,7 +4061,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = HitsTargetInSkyGroundsTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
|
||||
#-------------------------------
|
||||
[THOUSANDWAVES]
|
||||
@@ -4073,7 +4073,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = TrapTargetInBattle
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
|
||||
#-------------------------------
|
||||
[DIG]
|
||||
@@ -4310,7 +4310,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackParalyzeTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
|
||||
#-------------------------------
|
||||
@@ -4323,7 +4323,7 @@ Accuracy = 90
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TwoTurnAttackBurnTarget
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
|
||||
#-------------------------------
|
||||
@@ -4748,7 +4748,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = TypeDependsOnUserDrive
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
|
||||
#-------------------------------
|
||||
[THRASH]
|
||||
@@ -4970,7 +4970,7 @@ Accuracy = 100
|
||||
TotalPP = 10
|
||||
Target = AllNearFoes
|
||||
FunctionCode = SleepTargetChangeUserMeloettaForm
|
||||
Flags = CanProtect,CanMirrorMove,Sound
|
||||
Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
|
||||
EffectChance = 10
|
||||
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
|
||||
#-------------------------------
|
||||
@@ -7066,7 +7066,7 @@ Accuracy = 100
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
|
||||
#-------------------------------
|
||||
[PSYSTRIKE]
|
||||
@@ -7165,7 +7165,7 @@ Accuracy = 0
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = RemoveProtectionsBypassSubstitute
|
||||
Flags = CanMirrorMove
|
||||
Flags = CanMirrorMove,CannotMetronome
|
||||
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
|
||||
#-------------------------------
|
||||
[PSYSHOCK]
|
||||
@@ -7768,7 +7768,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = AllNearFoes
|
||||
FunctionCode = RaiseUserDefense2
|
||||
Flags = CanProtect,CanMirrorMove
|
||||
Flags = CanProtect,CanMirrorMove,CannotMetronome
|
||||
EffectChance = 50
|
||||
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
|
||||
#-------------------------------
|
||||
@@ -8340,7 +8340,7 @@ Accuracy = 95
|
||||
TotalPP = 5
|
||||
Target = NearOther
|
||||
FunctionCode = BurnTarget
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser
|
||||
Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
|
||||
EffectChance = 30
|
||||
Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
|
||||
#-------------------------------
|
||||
|
||||
Reference in New Issue
Block a user