🐞 fix(expedition battle): 永久类守护盾远征切关时保留
This commit is contained in:
@@ -274,6 +274,7 @@ describe('战斗测试', function () {
|
||||
expect(hero.dataId).to.be.a('number');
|
||||
expect(hero.hp).to.be.a('number');
|
||||
expect(hero.ap).to.be.a('number');
|
||||
expect(hero.shield).to.be.a('number');
|
||||
});
|
||||
expect(res.data.resetCnt).to.be.a('number');
|
||||
done();
|
||||
@@ -331,8 +332,8 @@ describe('战斗测试', function () {
|
||||
});
|
||||
|
||||
it('远征关卡结束战斗', function (done) {
|
||||
let { expeditionId, battleId } = expeditionWarRecord;
|
||||
let heroes = paramHeroes.map(hero => { return { dataId: hero, hp: 100, ap: 100 }})
|
||||
let { expeditionId, battleId } = expeditionWarRecord;
|
||||
let heroes = paramHeroes.map(hero => { return { dataId: hero, hp: 100, ap: 100, shield: 100 }})
|
||||
pinusClient.request('battle.expeditionBattleHandler.battleEnd', {
|
||||
expeditionCode, expeditionId, battleId, battleCode, heroes, enemies: [], star: 3, stars: [], isSuccess: true
|
||||
}, (res) => {
|
||||
|
||||
Reference in New Issue
Block a user