fix: 外勤医疗预置干员保留初始索敌顺序 (#315)
This commit is contained in:
1 parent
62eb113419
commit
3b57f72704
9 files changed
+96
-7
No files matched your search
@@ -241,7 +241,9 @@ function installMapChars(battle) {
|
||||
for (const ps of holders) {
|
||||
const elites = deployedOps(battle, ps.playerId).filter(isElite).length;
|
||||
for (const id of amedicCharsFor(elites, variants)) {
|
||||
const u = spawnMapChar(battle, ps.playerId, id);
|
||||
// The map character is visible before combat; Touch replaces it here once the elite count is known.
|
||||
// [ASSUMED] The replacement retains the stage slot's earlier aggro order.
|
||||
const u = spawnMapChar(battle, ps.playerId, id, { preBattle: true });
|
||||
if (u) fxOn(battle, 'summon', u, keyOf(AMEDIC_BAND), AMEDIC_BAND);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user