Skip to content

Commit

Permalink
Move some legionary formation bonus to base stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Keriew committed Jan 30, 2024
1 parent 780db4f commit a6f0994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/figure/combat.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ static void hit_opponent(figure *f)
if (!attack_is_same_direction(opponent->attack_direction, opponent_formation->direction)) {
opponent_defense -= 4; // opponent not attacking in coordinated formation
} else if (opponent_formation->layout == FORMATION_COLUMN) {
opponent_defense += 7;
opponent_defense += 5;
} else if (opponent_formation->layout == FORMATION_DOUBLE_LINE_1 ||
opponent_formation->layout == FORMATION_DOUBLE_LINE_2) {
opponent_defense += 4;
opponent_defense += 2;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/figure/properties.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static const figure_properties properties[FIGURE_TYPE_MAX] = {
},
[FIGURE_FORT_LEGIONARY] = {
.category = FIGURE_CATEGORY_ARMED,
.max_damage = 150, .attack_value = 10, .defense_value = 0,
.max_damage = 150, .attack_value = 10, .defense_value = 2,
.missile_defense_value = 0, .missile_attack_value = 0, .missile_delay = 0
},
[FIGURE_FORT_STANDARD] = {
Expand Down

0 comments on commit a6f0994

Please sign in to comment.