* Little formula to calculate reaction score. * @return Reaction score. */
| 1402 | * @return Reaction score. |
| 1403 | */ |
| 1404 | double BattleUnit::getReactionScore() |
| 1405 | { |
| 1406 | //(Reactions Stat) x (Current Time Units / Max TUs) |
| 1407 | double score = ((double)getStats()->reactions * (double)getTimeUnits()) / (double)getStats()->tu; |
| 1408 | return score; |
| 1409 | } |
| 1410 | |
| 1411 | |
| 1412 | /** |