This commit is contained in:
libccy 2017-03-16 00:43:04 +08:00
parent e4f15cd4a8
commit a97ead40f0
5 changed files with 20 additions and 8 deletions

View File

@ -38,13 +38,13 @@ character.gwent={
gw_jieluote:'如果要付出这种代价才能拯救世界,那最好还是让世界消逝吧。', gw_jieluote:'如果要付出这种代价才能拯救世界,那最好还是让世界消逝吧。',
gw_xili:'我想去哪,就去哪。', gw_xili:'我想去哪,就去哪。',
gw_luoqi:'是个爱国者…还是个货真价实的王八蛋。', gw_luoqi:'是个爱国者…还是个货真价实的王八蛋。',
gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个一个', gw_yioufeisi:'国王还是乞丐,两者有何区别,人类少一个一个',
}, },
skill:{ skill:{
kuanglie:{ kuanglie:{
trigger:{player:'useCardToBegin'}, trigger:{player:'useCardToBegin'},
filter:function(event,player){ filter:function(event,player){
return event.target!=player&&event.target.num('he')&&get.color(event.card)=='black'; return event.target&&event.target!=player&&event.target.num('he')&&get.color(event.card)=='black';
}, },
init:function(player){ init:function(player){
player.storage.kuanglie=0; player.storage.kuanglie=0;

View File

@ -595,7 +595,7 @@ character.ow={
trigger:{player:'useCardToBegin'}, trigger:{player:'useCardToBegin'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
return get.suit(event.card)==get.suit(player.storage.shoujia)&&event.target!=player; return get.suit(event.card)==get.suit(player.storage.shoujia)&&event.target&&event.target!=player;
}, },
content:function(){ content:function(){
'step 0' 'step 0'

View File

@ -6102,12 +6102,22 @@ character.sp={
} }
"step 1" "step 1"
if(event.cards.length){ if(event.cards.length){
var goon=false;
for(var i=0;i<event.cards.length;i++){
if(event.cards[i].name=='du'){
goon=true;break;
}
}
if(!goon){
goon=game.hasPlayer(function(current){
return player!=current&&ai.get.attitude(player,current)>1;
});
}
player.chooseCardButton(get.prompt('lirang'),event.cards,[1,event.cards.length]).set('ai',function(button){ player.chooseCardButton(get.prompt('lirang'),event.cards,[1,event.cards.length]).set('ai',function(button){
if(!_status.event.goon||ui.selected.buttons.length) return 0; if(!_status.event.goon||ui.selected.buttons.length) return 0;
if(button.link.name=='du') return 2;
return 1; return 1;
}).set('goon',game.hasPlayer(function(current){ }).set('goon',goon);
return Math.abs(ai.get.attitude(player,current))>1;
}));
} }
else{ else{
event.finish(); event.finish();

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[ window.noname_asset_list=[
'1.9.10.3', '1.9.10.7',
'image/background/huangtian_bg.jpg', 'image/background/huangtian_bg.jpg',
'image/background/september_bg.jpg', 'image/background/september_bg.jpg',
'image/background/shengshi_bg.jpg', 'image/background/shengshi_bg.jpg',

View File

@ -1,5 +1,5 @@
window.noname_update={ window.noname_update={
version:'1.9.10.6', version:'1.9.10.7',
update:'1.9.10.4', update:'1.9.10.4',
changeLog:[ changeLog:[
'bug修复', 'bug修复',
@ -13,9 +13,11 @@ window.noname_update={
'card/swd.js', 'card/swd.js',
'character/rank.js', 'character/rank.js',
'character/gwent.js', 'character/gwent.js',
'character/ow.js',
'character/swd.js', 'character/swd.js',
'character/diy.js', 'character/diy.js',
'character/extra.js', 'character/extra.js',
'character/sp.js',
// 'mode/boss.js', // 'mode/boss.js',
// 'mode/chess.js', // 'mode/chess.js',
// 'mode/versus.js', // 'mode/versus.js',