diff --git a/game/asset.js b/game/asset.js index 09fdad071..7d14deffd 100644 --- a/game/asset.js +++ b/game/asset.js @@ -1,5 +1,5 @@ window.noname_asset_list=[ - '1.9.95.2', + '1.9.95.4', 'audio/background/aozhan_chaoming.mp3', 'audio/background/aozhan_online.mp3', 'audio/background/aozhan_rewrite.mp3', @@ -2349,6 +2349,7 @@ window.noname_asset_list=[ 'image/character/niujin.jpg', 'image/character/old_fuhuanghou.jpg', 'image/character/old_caochong.jpg', + 'image/character/key_kagari.jpg', 'image/character/baiwuchang.jpg', 'image/character/baosanniang.jpg', diff --git a/game/game.js b/game/game.js index 5af8d477c..29250e38e 100644 --- a/game/game.js +++ b/game/game.js @@ -6834,7 +6834,7 @@ } if(pack.music){ if(lib.device||typeof window.require=='function'){ - lib.configMenu.audio.config.background_music.item.music_custom='自定'; + lib.configMenu.audio.config.background_music.item.music_custom='自定义音乐'; } lib.config.all.background_music=['music_default']; for(i in pack.music){ @@ -6847,7 +6847,7 @@ lib.configMenu.audio.config.background_music.item[i]=lib.config.customBackgroundMusic[i]; } } - lib.configMenu.audio.config.background_music.item.music_random='随机'; + lib.configMenu.audio.config.background_music.item.music_random='随机播放'; lib.configMenu.audio.config.background_music.item.music_off='关闭'; } if(pack.theme){ @@ -9816,6 +9816,12 @@ cards[i].discard(); } }, + cardsGotoSpecial:function(){ + for(var i=0;i1){ @@ -13570,6 +13590,8 @@ else{ var losecard=player.lose(cards,ui.special); if(info.visible) losecard.visible=true; + if(info.loseTo) losecard.position=ui[info.loseTo]; + if(losecard.position==ui.special&&info.toStorage) losecard.toStorage=true; } } if(!info.prepare&&info.viewAs){ @@ -14961,9 +14983,18 @@ game.addVideo('judge2',null,event.videoId); ui.arena.classList.remove('thrownhighlight'); game.log(player,'的判定结果为',event.result.card); - if(!get.owner(event.result.card)){ - if(event.position==ui.discardPile) game.cardsDiscard(event.result.card); - else event.position.appendChild(event.result.card); + if(event.callback){ + var next=game.createEvent('judgeCallback',false); + next.player=player; + next.card=event.result.card; + next.judgeResult=get.copy(event.result); + next.setContent(event.callback); + } + else{ + if(!get.owner(event.result.card)){ + if(event.position==ui.discardPile) game.cardsDiscard(event.result.card); + else event.position.appendChild(event.result.card); + } } }, turnOver:function(){ @@ -16624,6 +16655,12 @@ } return next; }, + phaseZhunbei:function(){ + var next=game.createEvent('phaseZhunbei'); + next.player=this; + next.setContent('emptyEvent'); + return next; + }, phaseJudge:function(){ var next=game.createEvent('phaseJudge'); next.player=this; @@ -16649,6 +16686,12 @@ next.setContent('phaseDiscard'); return next; }, + phaseJieshu:function(){ + var next=game.createEvent('phaseJieshu'); + next.player=this; + next.setContent('emptyEvent'); + return next; + }, chooseToUse:function(use){ var next=game.createEvent('chooseToUse'); next.player=this; @@ -17929,28 +17972,8 @@ return next; }, give:function(cards,target,visible){ - var shown=[],hidden=[]; - if(get.itemtype(cards)=='card'){ - cards=[cards]; - } - if(visible){ - shown.addArray(cards); - } - else{ - var hs=this.getCards('h'); - for(var i=0;i