fix: determine armor or shield based on sortie boss faction
All checks were successful
Build / build (pull_request) Successful in 1m13s
All checks were successful
Build / build (pull_request) Successful in 1m13s
This commit is contained in:
parent
9593971759
commit
a9657829f8
@ -340,11 +340,7 @@ export const getSortie = (day: number): ISortie => {
|
||||
modifiers.push("SORTIE_MODIFIER_HAZARD_RADIATION");
|
||||
}
|
||||
|
||||
if (enemyFaction == "FC_GRINEER") {
|
||||
modifiers.push("SORTIE_MODIFIER_ARMOR");
|
||||
} else if (enemyFaction == "FC_CORPUS") {
|
||||
modifiers.push("SORTIE_MODIFIER_SHIELDS");
|
||||
}
|
||||
modifiers.push(enemyFaction == "FC_CORPUS" ? "SORTIE_MODIFIER_SHIELDS" : "SORTIE_MODIFIER_ARMOR");
|
||||
|
||||
const modifierType = rng.randomElement(modifiers)!;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user