forked from smogon/pokemon-showdown-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make move types and base power match battle status
Enhaced the battle tooltips to show more accurate information. Move Type and Base Power are volatile and thus information is often not accurate. This commit enhaces battle tooltips to display move type and base power changes. When a Plate is active, it will change the type of Judgment. When a Drive is active, it will change the type of Techno Blast. Other items changing type and base power will reflect their changes. Moves that have a deterministic varying base power will show the current base power, not taking into account switches, etc. In doubles, moves that have different base power on different targets will show the difference. There are annotations for special effects like Nature Power. Display that on the move selector to help players know and remember what attack type they're using and what power they have. This commit also intends to make code readable, making all lines changed span the soft limit of 90 characters.
- Loading branch information
Showing
1 changed file
with
304 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters