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

View File

@ -1,5 +1,5 @@
window.noname_update={
version:'1.9.39',
version:'1.9.39.1',
update:'1.9.38.1',
changeLog:[
'bug修复'
@ -26,7 +26,7 @@ window.noname_update={
// 'character/yijiang.js',
// 'character/xianjian.js',
// 'mode/identity.js',
// 'mode/boss.js',
'mode/boss.js',
// 'mode/guozhan.js',
// 'mode/versus.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){
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);
}
event.enemy.push(name);