Prior to entering a battle, it is useful to determine if your units have a chance of winning. There are many factors that influence this, including the potential "bonus" DPS (some units have a bonus DPS depending on the enemy's unit type - for example, a Colossus has +5 bonus DPS against "light" units).
Is there a way to determine the bonus DPS based upon a unit-enemy combination:
function would act something like the following (perhaps in "unit.py")
Prior to entering a battle, it is useful to determine if your units have a chance of winning. There are many factors that influence this, including the potential "bonus" DPS (some units have a bonus DPS depending on the enemy's unit type - for example, a Colossus has +5 bonus DPS against "light" units).
Is there a way to determine the bonus DPS based upon a unit-enemy combination:
function would act something like the following (perhaps in "unit.py")
Usage may be something like the following: