feat: select paired emote lines from own character
This commit is contained in:
@@ -39,9 +39,10 @@ test('peer emotes reach the correct slot without exposing choices or changing th
|
||||
await a.submitAction('charge'); await h.clock.advance(1);
|
||||
const before = b.view();
|
||||
assert.equal(a.sendEmote('greet'), true);
|
||||
assert.equal(a.sendEmote('taunt'), false);
|
||||
assert.equal(a.sendEmote('mistake'), false);
|
||||
await h.clock.advance(1);
|
||||
assert.equal(b.view().emotes?.[0]?.id, 'greet');
|
||||
assert.equal(b.view().emotes?.[0]?.variant, a.view().emotes?.[0]?.variant);
|
||||
assert.equal(b.view().ownAction, null);
|
||||
assert.equal(b.view().turnId, before.turnId);
|
||||
assert.deepEqual(b.view().energy, before.energy);
|
||||
|
||||
Reference in New Issue
Block a user