Fix lib.element.content.addToExpansion.
This commit is contained in:
parent
a9935c1ee3
commit
57e1ad46ed
13
game/game.js
13
game/game.js
|
@ -17189,7 +17189,7 @@
|
|||
}
|
||||
if(event.animate=='draw'){
|
||||
player.$draw(cards.length);
|
||||
game.log(player,'将',get.cnNumber(cards.length),'张牌置于了武将牌上');
|
||||
if(event.log) game.log(player,'将',get.cnNumber(cards.length),'张牌置于了武将牌上');
|
||||
game.pause();
|
||||
setTimeout(function(){
|
||||
player.$addToExpansion(cards,null,event.gaintag);
|
||||
|
@ -17223,8 +17223,8 @@
|
|||
if(event.animate=='give'){
|
||||
for(var i in evtmap){
|
||||
var source=(_status.connectMode?lib.playerOL:game.playerMap)[i];
|
||||
source.$give(evtmap[i][0],player);
|
||||
game.log(player,'将',get.cnNumber(evtmap[i][0]),'置于了武将牌上');
|
||||
source.$give(evtmap[i][0],player,false);
|
||||
if(event.log) game.log(player,'将',evtmap[i][0],'置于了武将牌上');
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
@ -17232,11 +17232,11 @@
|
|||
var source=(_status.connectMode?lib.playerOL:game.playerMap)[i];
|
||||
if(evtmap[i][1].length){
|
||||
source.$giveAuto(evtmap[i][1],player,false);
|
||||
game.log(player,'将',get.cnNumber(evtmap[i][1].length),'张牌置于了武将牌上');
|
||||
if(event.log) game.log(player,'将',get.cnNumber(evtmap[i][1].length),'张牌置于了武将牌上');
|
||||
}
|
||||
if(evtmap[i][2].length){
|
||||
source.$give(evtmap[i][2],player,false);
|
||||
game.log(player,'将',get.cnNumber(evtmap[i][2]),'置于了武将牌上');
|
||||
if(event.log) game.log(player,'将',evtmap[i][2],'置于了武将牌上');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17261,9 +17261,6 @@
|
|||
for(var i of event.gaintag) player.markSkill(i);
|
||||
event.finish();
|
||||
}
|
||||
if(event.log){
|
||||
game.log(player,'将',cards,'置于了武将牌上');
|
||||
}
|
||||
"step 4"
|
||||
game.delayx();
|
||||
if(event.updatePile) game.updateRoundNumber();
|
||||
|
|
Loading…
Reference in New Issue