Closed aed3 closed 1 year ago
There's nothing too complicated about this function that requires a design doc to resolve. The only part that required more thought, handling multihit moves, was solved when writing the description. The more fleshed-out version of the solution:
HitCount
will be added to the active move's entity with the total number of hits and the current hit number (starts at 1)HitCount
component is present
The main idea here is for the code to better handle how random events will work. This comes down to how the number of hits is calculated and how accuracy is used to determine if a move hits.
Some other aspects of the function to change/improve: