This commit is contained in:
libccy 2016-06-02 21:13:57 +08:00
parent 37f4d5769f
commit 5bc6c92434
7 changed files with 19 additions and 22 deletions

View File

@ -90,7 +90,7 @@ card.mingzhong={
target.chooseToDiscard('弃置一张非基本牌(或取消并弃置两张牌)','he',function(card){
return get.type(card)!='basic';
}).ai=function(card){
return 6-ai.get.value(card);
return 7-ai.get.value(card);
};
event.more=true;
}

View File

@ -1403,6 +1403,10 @@ card.standard={
if(event.triggername=='phaseJudge'){
event.target=trigger.player;
}
event.sourcex=event.targets||event.target;
if(!event.targets&&trigger.targets&&trigger.targets.length==1){
event.sourcex2=trigger.player;
}
event.source=trigger.player;
event.state=true;
event.card=trigger.card;

View File

@ -820,7 +820,7 @@ character.hearth={
var list=[['','','hsshenqi_morijingxiang'],
['','','hsshenqi_kongbusangzhong'],
['','','hsshenqi_nengliangzhiguang']];
var dialog=ui.create.dialog('将武将牌翻面并获得一张神器牌',[list,'vcard'],'hidden');
var dialog=ui.create.dialog('邪能:将武将牌翻面并获得一张神器牌',[list,'vcard'],'hidden');
player.chooseButton(dialog).ai=function(){return Math.random();};
'step 1'
if(result.buttons){

View File

@ -6177,6 +6177,7 @@ character.swd={
}
},
multitarget:true,
line:false,
selectTarget:[1,3],
ai:{
order:function(){

View File

@ -5957,8 +5957,11 @@
},player,card);
}
if(event.animate!=false){
if(card.name=='wuxie'&&event.getParent().target){
var lining=event.getParent().target2||event.getParent().target;
if(card.name=='wuxie'&&event.getParent().source){
var lining=event.getParent().sourcex||event.getParent().source2||event.getParent().source;
if(lining==player&&event.getParent().sourcex2){
lining=event.getParent().sourcex2;
}
if(Array.isArray(lining)&&event.getTrigger().name=='jiedao'){
player.line(lining[0],'green');
}

View File

@ -1,29 +1,15 @@
window.noname_update={
version:'1.8.12.1',
version:'1.8.13',
changeLog:[
'新卡背',
'修bug',
],
files:{
global:[
'game/config.js',
'game/source.js',
'game/asset.js',
'game/game.js',
'mode/versus.js',
'mode/identity.js',
'mode/guozhan.js',
'mode/stone.js',
'card/standard.js',
'card/extra.js',
'card/yunchou.js',
'character/yijiang.js',
'character/shenhua.js',
'character/hearth.js',
'character/swd.js',
'character/xianjian.js',
'card/mingzhong.js',
'layout/default/menu.css',
],
'1.8.11':[],
'1.8.12':[],
'1.8.12.1':[],
}
}

View File

@ -685,3 +685,6 @@
.videonode.starred>.video_star{
opacity: 1
}
.loading{
pointer-events: none;
}