fight_History: Function that generates a timelineItem for each attack the...

Description Usage Arguments

Description

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

Usage

1
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.


DivadNojnarg/shinyMons documentation built on June 12, 2019, 8:43 a.m.