Module math

Source
Expand description

Functions allowing calculation of the resulting values of formulas used by game mechanics related to constant values.

Functionsยง

control_points_for_gcl
Provides the total number of control points needed to achieve a given Global Control Level
power_for_gpl
Provides the total number of processed power needed to achieve a given Global Power Level
tower_attack_power_at_range
Provides the amount of damage done by tower attacks at a given range, after accounting for reduction from TOWER_FALLOFF.
tower_heal_power_at_range
Provides the amount of damage healed by tower healing at a given range, after accounting for reduction from TOWER_FALLOFF.
tower_repair_power_at_range
Provides the amount of damage repaired by towers at a given range, after accounting for reduction from TOWER_FALLOFF.