feedback2 WD: 深水区's tick is 无来源 true 持续伤害, not 环境伤害 (tags dot / periodic / deepsea): 纠缠藤蔓 no longer turns fragile in water, 锡人's 凋敝魂灵 raises it

This commit is contained in:
sganggs committed 2026-10-04 00:07:34 +08:00
1 parent 3502027ff2
commit a4d69b6ba3
5 files changed
+49 -8

No files matched your search

+4 -1
View File
@@ -397,8 +397,11 @@ test(`${nm('enemy_1158_divman')}: in deep water ATK +Swim.atk and stealth; immun
h.run(0.5);
approx(e.s.atk, dry.s.atk * (1 + tb('enemy_1158_divman', 'Swim.atk')));
assert.ok(e.s.flags.stealth && !dry.s.flags.stealth);
h.b.dealDamage(null, e, { amount: 40, type: 'true', tags: ['terrain'] });
// 免疫水蚀: devices.js' deep-water tick (tag 'deepsea'); 环境伤害 ('terrain', e.g. 活性源石) still lands
h.b.dealDamage(null, e, { amount: 40, type: 'true', canDodge: false, sourceless: true, noSp: true, tags: ['dot', 'periodic', 'deepsea'] });
assert.equal(e.hp, e.s.maxHp);
h.b.dealDamage(null, e, { amount: 40, type: 'true', tags: ['terrain'] });
assert.equal(e.hp, e.s.maxHp - 40);
});
for (const key of ['enemy_1160_hvyslr', 'enemy_1160_hvyslr_2']) {