annotations

This commit is contained in:
Enno Rehling 2016-08-29 08:55:59 +01:00
parent 0d609f2115
commit 1f3413a9b4
3 changed files with 2 additions and 5 deletions

View File

@ -1948,10 +1948,6 @@ int skilldiff(troop at, troop dt, int dist)
} }
} }
} }
/* Goblin-Verteidigung
* ist direkt in der Rassentabelle als df_default
*/
/* Effekte der Waffen */ /* Effekte der Waffen */
skdiff += weapon_effskill(at, dt, awp, true, dist > 1); skdiff += weapon_effskill(at, dt, awp, true, dist > 1);
if (awp && fval(awp->type, WTF_MISSILE)) { if (awp && fval(awp->type, WTF_MISSILE)) {

View File

@ -432,6 +432,7 @@ static void test_battle_skilldiff(CuTest *tc)
// TODO: unarmed halfling vs. dragon: +5 // TODO: unarmed halfling vs. dragon: +5
// TODO: rule_goblin_bonus // TODO: rule_goblin_bonus
// TODO: weapon modifiers, missiles, skill_formula
free_battle(b); free_battle(b);
test_cleanup(); test_cleanup();

View File

@ -53,7 +53,7 @@ extern "C" {
typedef enum { typedef enum {
DEFENSE_BONUS, DEFENSE_BONUS,
CLOSE_COMBAT_ATTACK_BONUS, CLOSE_COMBAT_ATTACK_BONUS, // TODO: only DEFENSE_BONUS is in use?
RANGED_ATTACK_BONUS, RANGED_ATTACK_BONUS,
} building_bonus; } building_bonus;