Function that generates a timelineItem for each attack the pokemon does.
1 | fight_History(attacking, opponent, current_attack, damages)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.