feedback1 integrate: 隐德来希's candles standing at the time limit are no leaks (an honest client result was rejected)
A co-op 联防 battle that timed out during 隐德来希 S3 listed the 心烛 (in no spawn
schedule) as a leak, so the server rejected the client's result ('leak key').
Pre-existing on master; the merged bots reached it on fullmatch seed 116.
This commit is contained in:
1 parent
da0aa28d5f
commit
f0f6016479
3 files changed
+36
-2
No files matched your search
@@ -933,6 +933,7 @@ const KITS = {
|
||||
cd.hp = cd.s.maxHp;
|
||||
cd.mem.candleOwner = unit;
|
||||
cd.mem.candleOf = e;
|
||||
cd.mem.noLeak = true; // never a leak at the time limit (Battle._timeout)
|
||||
battle.addBuff(cd, { key: 'etlchi:candle', flags: { unblockable: true, noMove: true } });
|
||||
unit.mem.candles.push(cd);
|
||||
battle.fx('candle', { x: cd.x, y: cd.y, id: cd.id, of: e.id });
|
||||
|
||||
Reference in new issue
Block a user