forked from github/server
annotations
This commit is contained in:
parent
0d609f2115
commit
1f3413a9b4
|
@ -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)) {
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue