K-a-n-a-d-e-!
This commit is contained in:
parent
a9343aa8ff
commit
0bbe7bb9db
|
@ -18,7 +18,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
connect:true,
|
connect:true,
|
||||||
character:{
|
character:{
|
||||||
re_liubiao:['male','qun',3,['rezishou','zongshi'],['unseen']],
|
//re_liubiao:['male','qun',3,['rezishou','zongshi'],['unseen']],
|
||||||
xin_fazheng:['male','shu',3,['xinenyuan','xinxuanhuo'],['die_audio']],
|
xin_fazheng:['male','shu',3,['xinenyuan','xinxuanhuo'],['die_audio']],
|
||||||
wangyi:['female','wei',3,['zhenlie','miji']],
|
wangyi:['female','wei',3,['zhenlie','miji']],
|
||||||
old_madai:['male','shu',4,['mashu','qianxi']],
|
old_madai:['male','shu',4,['mashu','qianxi']],
|
||||||
|
@ -26,7 +26,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
xin_xusheng:['male','wu',4,['decadepojun']],
|
xin_xusheng:['male','wu',4,['decadepojun']],
|
||||||
re_taishici:['male','wu',4,['tianyi','hanzhan']],
|
re_taishici:['male','wu',4,['tianyi','hanzhan']],
|
||||||
re_masu:['male','shu',3,['resanyao','rezhiman']],
|
re_masu:['male','shu',3,['resanyao','rezhiman']],
|
||||||
re_sunluban:['female','wu',3,['rechanhui','rejiaojin']],re_zhonghui:['male','wei',4,['requanji','zili']],
|
re_sunluban:['female','wu',3,['rechanhui','rejiaojin']],
|
||||||
|
re_zhonghui:['male','wei',4,['requanji','zili']],
|
||||||
re_handang:['male','wu',4,['regongji','jiefan']],
|
re_handang:['male','wu',4,['regongji','jiefan']],
|
||||||
re_lingtong:['male','wu',4,['rexuanfeng']],
|
re_lingtong:['male','wu',4,['rexuanfeng']],
|
||||||
yujin_yujin:['male','wei',4,['rejieyue']],
|
yujin_yujin:['male','wei',4,['rejieyue']],
|
||||||
|
@ -157,7 +158,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:'zishou',
|
audio:'zishou',
|
||||||
trigger:{player:'phaseDrawBegin2'},
|
trigger:{player:'phaseDrawBegin2'},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.contains('phaseUse');
|
return player.countCards('h')<=(player.hasSkill('zongshi')?player.maxHp:(player.hp-2))||player.skipList.contains('phaseUse')||!player.countCards('h',function(card){
|
||||||
|
return get.tag(card,'damage')&&player.hasUseTarget(card);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return !event.numFixed;
|
return !event.numFixed;
|
||||||
|
@ -206,7 +209,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
if(game.hasPlayer(function(current){
|
if(game.hasPlayer(function(current){
|
||||||
return filterTarget(null,player,current)
|
return filterTarget(null,player,current)
|
||||||
})) player.chooseTarget(filterTarget,'是否将一名其他角色装备区内的一张牌移动到自己的装备区?');
|
})) player.chooseTarget(filterTarget,'是否将一名其他角色装备区内的一张牌移动到自己的装备区?').set('ai',function(target){
|
||||||
|
var player=_status.event.player;
|
||||||
|
var att=get.attitude(player,target);
|
||||||
|
if(att>0&&!target.hasSkillTag('noe')) return 0;
|
||||||
|
var num=0;
|
||||||
|
target.countCards('e',function(card){
|
||||||
|
if(player.isEmpty(get.subtype(card))){
|
||||||
|
var eff=get.effect(player,card,player,player);
|
||||||
|
if(eff>num) num=eff;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if(num<=0) return 0;
|
||||||
|
if(att<0) return num*-att;
|
||||||
|
return 1/num;
|
||||||
|
});
|
||||||
else event.finish();
|
else event.finish();
|
||||||
}
|
}
|
||||||
'step 1'
|
'step 1'
|
||||||
|
@ -6535,7 +6552,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
if(_status.event.goon) return 8-get.value(card);
|
if(_status.event.goon) return 8-get.value(card);
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
next.set('logSkill','beige');
|
next.set('logSkill','rebeige');
|
||||||
next.set('goon',check);
|
next.set('goon',check);
|
||||||
"step 1"
|
"step 1"
|
||||||
if(result.bool){
|
if(result.bool){
|
||||||
|
@ -7212,7 +7229,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
re_liubiao:'界刘表',
|
re_liubiao:'界刘表',
|
||||||
rezishou:'自守',
|
rezishou:'自守',
|
||||||
rezishou2:'自守',
|
rezishou2:'自守',
|
||||||
rezishou_info:'摸牌阶段,你可以多摸X张牌,然后本回合你对其他角色造成伤害时,防止此伤害。结束阶段,若你本回合没有使用牌指定其他角色为目标,你可以将场上一张装备牌移动到自己的装备区。(X为场上势力数)',
|
rezishou_info:'摸牌阶段,你可以多摸X张牌。若如此做,本回合你对其他角色造成伤害时,防止此伤害,且结束阶段,若你本回合没有使用牌指定其他角色为目标,则你可以将场上的一张装备牌移动到自己的装备区。(X为场上势力数)',
|
||||||
ol_dongzhuo:'界董卓',
|
ol_dongzhuo:'界董卓',
|
||||||
olbaonue:'暴虐',
|
olbaonue:'暴虐',
|
||||||
olbaonue_info:'主公技,其他群雄角色造成1点伤害后,其可进行判定,若为♠,你回复1点体力并获得判定牌。',
|
olbaonue_info:'主公技,其他群雄角色造成1点伤害后,其可进行判定,若为♠,你回复1点体力并获得判定牌。',
|
||||||
|
|
|
@ -206,9 +206,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
var cards=[];
|
var cards=[];
|
||||||
for(var i of lib.inpile) list.add(get.type2(i));
|
for(var i of lib.inpile) list.add(get.type2(i));
|
||||||
for(var i of list){
|
for(var i of list){
|
||||||
if(!target.countCards('h',{type:i})){
|
if(!target.countCards('h',function(card){
|
||||||
|
return get.type2(card,target)==i;
|
||||||
|
})){
|
||||||
var card=get.cardPile2(function(card){
|
var card=get.cardPile2(function(card){
|
||||||
return get.type(card,false)==i;
|
return get.type2(card,false)==i;
|
||||||
});
|
});
|
||||||
if(card) cards.push(card);
|
if(card) cards.push(card);
|
||||||
}
|
}
|
||||||
|
|
25121
character/yijiang.js
25121
character/yijiang.js
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
||||||
window.noname_asset_list=[
|
window.noname_asset_list=[
|
||||||
'v1.9.103.3',
|
'v1.9.103.4',
|
||||||
'audio/background/aozhan_chaoming.mp3',
|
'audio/background/aozhan_chaoming.mp3',
|
||||||
'audio/background/aozhan_online.mp3',
|
'audio/background/aozhan_online.mp3',
|
||||||
'audio/background/aozhan_rewrite.mp3',
|
'audio/background/aozhan_rewrite.mp3',
|
||||||
|
@ -5078,5 +5078,6 @@ window.noname_skin_list={
|
||||||
key_yui:2,
|
key_yui:2,
|
||||||
key_yuri:3,
|
key_yuri:3,
|
||||||
key_yuzuru:2,
|
key_yuzuru:2,
|
||||||
sp_key_kanade:6,
|
sp_key_kanade:1,
|
||||||
|
key_kamome:1,
|
||||||
};
|
};
|
12
game/game.js
12
game/game.js
|
@ -6309,9 +6309,9 @@
|
||||||
else{
|
else{
|
||||||
dialog.style.left=(e.clientX/game.documentZoom-dialog.offsetWidth-10)+'px';
|
dialog.style.left=(e.clientX/game.documentZoom-dialog.offsetWidth-10)+'px';
|
||||||
}
|
}
|
||||||
var idealtop=e.clientY/game.documentZoom-dialog.offsetHeight/2;
|
var idealtop=(e.clientY||0)/game.documentZoom-dialog.offsetHeight/2;
|
||||||
if(idealtop<10){
|
if(typeof idealtop!='number'||isNaN(idealtop)||idealtop<=5){
|
||||||
idealtop=10;
|
idealtop=5;
|
||||||
}
|
}
|
||||||
else if(idealtop+dialog.offsetHeight+10>ui.window.offsetHeight){
|
else if(idealtop+dialog.offsetHeight+10>ui.window.offsetHeight){
|
||||||
idealtop=ui.window.offsetHeight-10-dialog.offsetHeight;
|
idealtop=ui.window.offsetHeight-10-dialog.offsetHeight;
|
||||||
|
@ -9888,7 +9888,7 @@
|
||||||
game.checkMod(card,player,range,'selectTarget',player);
|
game.checkMod(card,player,range,'selectTarget',player);
|
||||||
}
|
}
|
||||||
if(info.notarget||range[1]==-1){
|
if(info.notarget||range[1]==-1){
|
||||||
if(range[1]==-1){
|
if(!info.notarget&&range[1]==-1){
|
||||||
for(var i=0;i<targets.length;i++){
|
for(var i=0;i<targets.length;i++){
|
||||||
if(!player.canUse(card,targets[i],event.nodistance?false:null)){
|
if(!player.canUse(card,targets[i],event.nodistance?false:null)){
|
||||||
targets.splice(i--,1);
|
targets.splice(i--,1);
|
||||||
|
@ -16865,7 +16865,7 @@
|
||||||
if(!unique){
|
if(!unique){
|
||||||
for(var i=0;i<list.length;i++){
|
for(var i=0;i<list.length;i++){
|
||||||
var info=lib.skill[list[i]];
|
var info=lib.skill[list[i]];
|
||||||
if(!info||info.unique||info.temp||info.sub){
|
if(!info||info.unique||info.temp||info.sub||info.charlotte){
|
||||||
list.splice(i--,1);
|
list.splice(i--,1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25195,7 +25195,7 @@
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
},
|
},
|
||||||
ai2:get.effect,
|
ai2:get.effect_use,
|
||||||
type:'dying',
|
type:'dying',
|
||||||
targetRequired:true,
|
targetRequired:true,
|
||||||
dying:event.dying
|
dying:event.dying
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
window.noname_update={
|
window.noname_update={
|
||||||
version:'1.9.103.3',
|
version:'1.9.103.4',
|
||||||
update:'1.9.103.2',
|
update:'1.9.103.3',
|
||||||
changeLog:[
|
changeLog:[
|
||||||
'水濑秋子',
|
'新孙休、曹休、刘表、张春华',
|
||||||
'曹不兴、新服马良',
|
|
||||||
'新诸葛诞',
|
|
||||||
'bug修复',
|
'bug修复',
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -12,7 +10,7 @@ window.noname_update={
|
||||||
//'card/extra.js',
|
//'card/extra.js',
|
||||||
//'card/huanlekapai.js',
|
//'card/huanlekapai.js',
|
||||||
//'card/sp.js',
|
//'card/sp.js',
|
||||||
'card/standard.js',
|
//'card/standard.js',
|
||||||
//'card/swd.js',
|
//'card/swd.js',
|
||||||
//'card/mtg.js',
|
//'card/mtg.js',
|
||||||
//'card/gujian.js',
|
//'card/gujian.js',
|
||||||
|
@ -21,30 +19,30 @@ window.noname_update={
|
||||||
//'card/yunchou.js',
|
//'card/yunchou.js',
|
||||||
//'card/zhenfa.js',
|
//'card/zhenfa.js',
|
||||||
//'card/zhulu.js',
|
//'card/zhulu.js',
|
||||||
'character/diy.js',
|
//'character/diy.js',
|
||||||
//'character/extra.js',
|
//'character/extra.js',
|
||||||
//'character/hearth.js',
|
//'character/hearth.js',
|
||||||
//'character/gujian.js',
|
//'character/gujian.js',
|
||||||
//'character/gwent.js',
|
//'character/gwent.js',
|
||||||
//'character/hearth.js',
|
//'character/hearth.js',
|
||||||
'character/mobile.js',
|
//'character/mobile.js',
|
||||||
//'character/mtg.js',
|
//'character/mtg.js',
|
||||||
//'character/old.js',
|
//'character/old.js',
|
||||||
//'character/refresh.js',
|
'character/refresh.js',
|
||||||
//'character/shenhua.js',
|
//'character/shenhua.js',
|
||||||
'character/sp.js',
|
//'character/sp.js',
|
||||||
'character/sp2.js',
|
'character/sp2.js',
|
||||||
//'character/tw.js',
|
//'character/tw.js',
|
||||||
//'character/standard.js',
|
//'character/standard.js',
|
||||||
//'character/swd.js',
|
//'character/swd.js',
|
||||||
//'character/xianjian.js',
|
//'character/xianjian.js',
|
||||||
//'character/xinghuoliaoyuan.js',
|
//'character/xinghuoliaoyuan.js',
|
||||||
//'character/yijiang.js',
|
'character/yijiang.js',
|
||||||
//'character/yxs.js',
|
//'character/yxs.js',
|
||||||
//'extension/boss/extension.js',
|
//'extension/boss/extension.js',
|
||||||
//'layout/default/layout.css',
|
//'layout/default/layout.css',
|
||||||
//'layout/nova/layout.css',
|
//'layout/nova/layout.css',
|
||||||
'mode/identity.js',
|
//'mode/identity.js',
|
||||||
//'mode/doudizhu.js',
|
//'mode/doudizhu.js',
|
||||||
//'mode/guozhan.js',
|
//'mode/guozhan.js',
|
||||||
//'mode/chess.js',
|
//'mode/chess.js',
|
||||||
|
@ -54,7 +52,7 @@ window.noname_update={
|
||||||
//'mode/brawl.js',
|
//'mode/brawl.js',
|
||||||
//'mode/versus.js',
|
//'mode/versus.js',
|
||||||
//'mode/boss.js',
|
//'mode/boss.js',
|
||||||
//'game/game.js',
|
'game/game.js',
|
||||||
//'game/NoSleep.js',
|
//'game/NoSleep.js',
|
||||||
//'game/config.js',
|
//'game/config.js',
|
||||||
//'game/package.js',
|
//'game/package.js',
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 59 KiB |
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
Loading…
Reference in New Issue