Skip to contents

Function that generates a timelineItem for each attack the pokemon does.

Usage

fight_History(attacking, opponent, current_attack, damages)

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.