You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moves with variable power (VariablePowerAttr) are called after the function for abilities that boost the move's power (VariableMovePowerAbAttr). This leads to the boost of those abilities being overriden, effectively making them not work.
Moves affected include moves based on weight (Heavy Slam), HP (Flail, Wring Out), Friendship (Return, Frustration) or variable Power moves (Magnitude).
These affect all abilities that affect the power of the moves, like Aerilate or Tough Claws.
Describe the bug
Link to Discord bug issue
https://discord.com/channels/1125469663833370665/1339634046543593564
Moves with variable power (VariablePowerAttr) are called after the function for abilities that boost the move's power (VariableMovePowerAbAttr). This leads to the boost of those abilities being overriden, effectively making them not work.
Moves affected include moves based on weight (Heavy Slam), HP (Flail, Wring Out), Friendship (Return, Frustration) or variable Power moves (Magnitude).
These affect all abilities that affect the power of the moves, like Aerilate or Tough Claws.
Reproduction
const overrides = {ABILITY_OVERRIDE: Abilities.AERILATE, MOVESET_OVERRIDE: [Moves.CRUSH_GRIP, Moves.DOUBLE_EDGE], OPP_MOVESET_OVERRIDE: [Moves.SPLASH, Moves.SPLASH, Moves.SPLASH, Moves.SPLASH], OPP_LEVEL_OVERRIDE: 10} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
This will let you see Crush Grip's power in console not getting boosted. Note: Crush Grip is only 120 BP when opponent is at full HP
Expected behavior
Variable Power Moves get boosted by abilities as intended. Proof of expected behaviour in Videos
Screenshots / Videos
Showdown example of variable power moves getting the boost from Refrigerate.
https://github.com/user-attachments/assets/46f74f01-8df1-4d0b-909b-f56756b89fd4
Screenshot of console. Crush Grip (120 BP) is not getting Aerilate boost, while Double-Edge (also 120 BP, x1.2=144 BP) is
![Image](https://private-user-images.githubusercontent.com/61661226/412998408-7e99db77-882b-4ad2-8060-18126170e299.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzIyNjcsIm5iZiI6MTczOTU3MTk2NywicGF0aCI6Ii82MTY2MTIyNi80MTI5OTg0MDgtN2U5OWRiNzctODgyYi00YWQyLTgwNjAtMTgxMjYxNzBlMjk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyMjYwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiZGQzZGFmOGY3MmViMDc0ZDMwZmZkOGNlNjUyZGJiMWJjN2JiNDNjMGM1OWZhNTM4ZGNkYmY1MTliNTBiZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.qXnIXnLW0M6F6AF95A8FxMg6pbosUmEIJKffFFLRj2M)
Session export file
N/A
User data export file
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: