v1.9.39.1

This commit is contained in:
libccy 2017-09-27 11:39:30 +08:00
parent 011bf7bc43
commit 2e2613025f
3 changed files with 5 additions and 5 deletions

View File

@ -160,7 +160,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
changeTarget:function(player,targets){ changeTarget:function(player,targets){
var target=targets[0]; var target=targets[0];
game.filterPlayer(function(current){ game.filterPlayer(function(current){
return current.isMajor()==target.isMajor()&&current!=target; return current.isMajor()==target.isMajor()&&current!=target&&!current.hasSkill('diaohulishan');
},targets); },targets);
}, },
content:function(){ content:function(){
@ -209,7 +209,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){
targets.push(player); targets.push(player);
if(target.identity!='ye'){ if(target.identity!='ye'){
game.filterPlayer(function(current){ game.filterPlayer(function(current){
return target!=current&&target.identity==current.identity; return target!=current&&target.identity==current.identity&&!current.hasSkill('diaohulishan');
},targets); },targets);
} }
}, },

View File

@ -1,5 +1,5 @@
window.noname_update={ window.noname_update={
version:'1.9.39', version:'1.9.39.1',
update:'1.9.38.1', update:'1.9.38.1',
changeLog:[ changeLog:[
'bug修复' 'bug修复'
@ -26,7 +26,7 @@ window.noname_update={
// 'character/yijiang.js', // 'character/yijiang.js',
// 'character/xianjian.js', // 'character/xianjian.js',
// 'mode/identity.js', // 'mode/identity.js',
// 'mode/boss.js', 'mode/boss.js',
// 'mode/guozhan.js', // 'mode/guozhan.js',
// 'mode/versus.js', // 'mode/versus.js',
// 'mode/connect.js', // 'mode/connect.js',

View File

@ -1121,7 +1121,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
} }
while(event.enemy.length<3){ while(event.enemy.length<3){
var name=event.list.randomRemove(); var name=event.list.randomRemove();
if(lib.boss[lib.storage.current].randchoice){ if(lib.boss[lib.storage.current]&&lib.boss[lib.storage.current].randchoice){
name=lib.boss[lib.storage.current].randchoice(name,event.enemy); name=lib.boss[lib.storage.current].randchoice(name,event.enemy);
} }
event.enemy.push(name); event.enemy.push(name);