keep working
This commit is contained in:
parent
440c9dd9d5
commit
fa2f37b813
1 changed files with 5 additions and 2 deletions
|
@ -83,7 +83,7 @@ public class AttackScenario {
|
|||
return this;
|
||||
}
|
||||
|
||||
public void resolveAttack() {
|
||||
public AttackScenarioResolution resolveAttack() {
|
||||
var resolution = new AttackScenarioResolution();
|
||||
// Filter out weapons that cannot participate in this attack
|
||||
var validWeapons = weapons.stream().filter( w -> hasLineOfSight || w._1.hasIndirectFire())
|
||||
|
@ -102,13 +102,16 @@ public class AttackScenario {
|
|||
|
||||
// Defence funnel
|
||||
executeDefenceFunnel(weapon, normalWounds, mortalWounds);
|
||||
|
||||
}
|
||||
|
||||
return resolution;
|
||||
}
|
||||
|
||||
|
||||
private void executeDefenceFunnel(Weapon weapon, double normalWounds, double mortalWounds) {
|
||||
// Save normal wounds
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue