Function that generates a timelineItem for each attack the pokemon does.
Source:R/pokeFightModule.R
fight_History.Rd
Function that generates a timelineItem for each attack the pokemon does.
Arguments
- attacking
Id of the randomly generated pokemon who is attacking.
- opponent
Opponent type. Useful for effectiveness calculations.
- current_attack
The currently selected attack.
- damages
Result of calculate_damages witht the current_attack. TRUE in this case.