From ec5ccfa5af7b22aa0b540a88d2d90595a0b4ba19 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Fri, 21 Jan 2022 11:04:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20pvp=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=9A=84=E8=B0=83=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/test/pvp.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game-server/test/pvp.test.ts b/game-server/test/pvp.test.ts index 8913b59e7..992419dae 100644 --- a/game-server/test/pvp.test.ts +++ b/game-server/test/pvp.test.ts @@ -25,6 +25,7 @@ describe('pvp测试', function () { if (c.client) { pinusClient = c.client; roleInfo = c.roleInfo; + console.log('pvp got roleInfo', new Date(), JSON.stringify(roleInfo)); clearInterval(timer); done(); } @@ -52,6 +53,7 @@ describe('pvp测试', function () { }); it('保存防守阵容', function (done) { + console.log('pvp saveDefence roleInfo', new Date(), JSON.stringify(roleInfo)); let myHeroes = roleInfo.heros || []; let heroes = []; for (let i = 0; i < 6; i++) { @@ -114,6 +116,7 @@ describe('pvp测试', function () { saveAttack(); } function saveAttack() { + console.log('pvp saveAttack roleInfo', JSON.stringify(roleInfo)); let myHeroes = roleInfo.heros || []; let heroes = []; for (let i = 0; i < 6; i++) {