Tables
helper

helper

Functions

calculate_damage

Calculates the actual damage when taking armor / magic resist into account.

ArgumentTypeRequired
raw_damagenumber+
target_indexnumber+
physical_damageboolean+
returnsnumber

get_aa_damage

Get local player next autoattack damage.

ArgumentTypeRequired
target_indexnumber+
on_hitboolean+
returnsnumber

get_on_hit_damage

Get next autoattack/spell onhit damage.

ArgumentTypeRequired
target_indexnumber+
returnsnumber

get_real_health

ArgumentTypeRequired
target_indexnumber+
damage_typenumber+
delaynumber+
predict_ally_damageboolean+
returnsnumber
--- damage_type = 0 -> true_damage
--- damage_type = 1 -> physical_damage
--- damage_type = 2 -> magic_damage