fix: 外勤医疗预置干员保留初始索敌顺序 (#315)
This commit is contained in:
1 parent
62eb113419
commit
3b57f72704
9 files changed
+96
-7
No files matched your search
@@ -511,6 +511,7 @@ test('band map characters: spawnMapChar puts 预备干员-医疗 at its stage sl
|
||||
assert.ok(med);
|
||||
assert.deepEqual([med.tileR, med.tileC], [10, 2]);
|
||||
const gu = h.unit('test_guard');
|
||||
assert.ok(med.aggroSeq > gu.aggroSeq, 'an ad-hoc spawn after battle start keeps normal summon priority');
|
||||
gu.hp = 5000;
|
||||
h.run(4);
|
||||
assert.ok(gu.hp > 5000, 'healed');
|
||||
@@ -518,6 +519,7 @@ test('band map characters: spawnMapChar puts 预备干员-医疗 at its stage sl
|
||||
h.step();
|
||||
const touch = spawnMapChar(h.b, 'p1', TOKEN_IDS.touch);
|
||||
assert.ok(touch);
|
||||
assert.ok(touch.aggroSeq > gu.aggroSeq, 'an ad-hoc Touch also keeps normal summon priority');
|
||||
touch.skill.activate('test', { free: true });
|
||||
gu.hp = 3000;
|
||||
h.run(4);
|
||||
|
||||
Reference in new issue
Block a user