This commit is contained in:
libccy 2017-11-05 15:46:54 +08:00
parent 8d386ad6e6
commit 50c10f67d3
3 changed files with 8 additions and 5 deletions

View File

@ -590,7 +590,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var target=player.storage.xianfu2;
player.line(target,'green');
target.logSkill('xianfu');
target[trigger.name](trigger.num);
target[trigger.name](trigger.num,trigger.source||'nosource');
game.delay();
},
group:'xianfu3',
@ -1416,6 +1416,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
chuanxin:{
trigger:{source:'damageBefore'},
filter:function(event,player){
if(_status.currentPhase!=player) return false;
if(!_status.event.getParent('phaseUse')) return false;
if(event.card&&(event.card.name=='sha'||event.card.name=='juedou')){
if(get.mode()=='guozhan'){
return (event.player.identity!='qun'||player.identity=='ye')&&

View File

@ -17265,7 +17265,7 @@
if(player.identity=='unknown'||player.identity=='ye') return false;
return this.identity==player.identity;
}
if(typeof this.side=='boolean'&&typeof player.side=='boolean'){
if(this.side!=undefined&&typeof player.side=='boolean'){
return this.side==player.side;
}
return this==player;
@ -19445,6 +19445,7 @@
cancel:function(){
this.untrigger.call(this,arguments);
this.finish();
this.trigger(this.name+'Cancelled');
},
goto:function(step){
this.step=step-1;

View File

@ -2,10 +2,10 @@ window.noname_update={
version:'1.9.40',
// update:'1.9.38.1',
changeLog:[
'原7武将',
'诸侯伐董',
'原7武将、新张宝',
'诸侯伐董、神之试炼',
'武将称号',
'bug修复父魂'
'bug修复父魂、截辎、穿心、先辅、魔箭'
],
files:[
// 'game/game.js',