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,
|
||||
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']],
|
||||
wangyi:['female','wei',3,['zhenlie','miji']],
|
||||
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']],
|
||||
re_taishici:['male','wu',4,['tianyi','hanzhan']],
|
||||
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_lingtong:['male','wu',4,['rexuanfeng']],
|
||||
yujin_yujin:['male','wei',4,['rejieyue']],
|
||||
|
@ -157,7 +158,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:'zishou',
|
||||
trigger:{player:'phaseDrawBegin2'},
|
||||
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){
|
||||
return !event.numFixed;
|
||||
|
@ -206,7 +209,21 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
if(game.hasPlayer(function(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();
|
||||
}
|
||||
'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);
|
||||
return 0;
|
||||
});
|
||||
next.set('logSkill','beige');
|
||||
next.set('logSkill','rebeige');
|
||||
next.set('goon',check);
|
||||
"step 1"
|
||||
if(result.bool){
|
||||
|
@ -7212,7 +7229,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
re_liubiao:'界刘表',
|
||||
rezishou:'自守',
|
||||
rezishou2:'自守',
|
||||
rezishou_info:'摸牌阶段,你可以多摸X张牌,然后本回合你对其他角色造成伤害时,防止此伤害。结束阶段,若你本回合没有使用牌指定其他角色为目标,你可以将场上一张装备牌移动到自己的装备区。(X为场上势力数)',
|
||||
rezishou_info:'摸牌阶段,你可以多摸X张牌。若如此做,本回合你对其他角色造成伤害时,防止此伤害,且结束阶段,若你本回合没有使用牌指定其他角色为目标,则你可以将场上的一张装备牌移动到自己的装备区。(X为场上势力数)',
|
||||
ol_dongzhuo:'界董卓',
|
||||
olbaonue:'暴虐',
|
||||
olbaonue_info:'主公技,其他群雄角色造成1点伤害后,其可进行判定,若为♠,你回复1点体力并获得判定牌。',
|
||||
|
|
|
@ -206,9 +206,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var cards=[];
|
||||
for(var i of lib.inpile) list.add(get.type2(i));
|
||||
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){
|
||||
return get.type(card,false)==i;
|
||||
return get.type2(card,false)==i;
|
||||
});
|
||||
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=[
|
||||
'v1.9.103.3',
|
||||
'v1.9.103.4',
|
||||
'audio/background/aozhan_chaoming.mp3',
|
||||
'audio/background/aozhan_online.mp3',
|
||||
'audio/background/aozhan_rewrite.mp3',
|
||||
|
@ -5078,5 +5078,6 @@ window.noname_skin_list={
|
|||
key_yui:2,
|
||||
key_yuri:3,
|
||||
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{
|
||||
dialog.style.left=(e.clientX/game.documentZoom-dialog.offsetWidth-10)+'px';
|
||||
}
|
||||
var idealtop=e.clientY/game.documentZoom-dialog.offsetHeight/2;
|
||||
if(idealtop<10){
|
||||
idealtop=10;
|
||||
var idealtop=(e.clientY||0)/game.documentZoom-dialog.offsetHeight/2;
|
||||
if(typeof idealtop!='number'||isNaN(idealtop)||idealtop<=5){
|
||||
idealtop=5;
|
||||
}
|
||||
else if(idealtop+dialog.offsetHeight+10>ui.window.offsetHeight){
|
||||
idealtop=ui.window.offsetHeight-10-dialog.offsetHeight;
|
||||
|
@ -9888,7 +9888,7 @@
|
|||
game.checkMod(card,player,range,'selectTarget',player);
|
||||
}
|
||||
if(info.notarget||range[1]==-1){
|
||||
if(range[1]==-1){
|
||||
if(!info.notarget&&range[1]==-1){
|
||||
for(var i=0;i<targets.length;i++){
|
||||
if(!player.canUse(card,targets[i],event.nodistance?false:null)){
|
||||
targets.splice(i--,1);
|
||||
|
@ -16865,7 +16865,7 @@
|
|||
if(!unique){
|
||||
for(var i=0;i<list.length;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);
|
||||
}
|
||||
}
|
||||
|
@ -25195,7 +25195,7 @@
|
|||
}
|
||||
return 1;
|
||||
},
|
||||
ai2:get.effect,
|
||||
ai2:get.effect_use,
|
||||
type:'dying',
|
||||
targetRequired:true,
|
||||
dying:event.dying
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
window.noname_update={
|
||||
version:'1.9.103.3',
|
||||
update:'1.9.103.2',
|
||||
version:'1.9.103.4',
|
||||
update:'1.9.103.3',
|
||||
changeLog:[
|
||||
'水濑秋子',
|
||||
'曹不兴、新服马良',
|
||||
'新诸葛诞',
|
||||
'新孙休、曹休、刘表、张春华',
|
||||
'bug修复',
|
||||
|
||||
],
|
||||
|
@ -12,7 +10,7 @@ window.noname_update={
|
|||
//'card/extra.js',
|
||||
//'card/huanlekapai.js',
|
||||
//'card/sp.js',
|
||||
'card/standard.js',
|
||||
//'card/standard.js',
|
||||
//'card/swd.js',
|
||||
//'card/mtg.js',
|
||||
//'card/gujian.js',
|
||||
|
@ -21,30 +19,30 @@ window.noname_update={
|
|||
//'card/yunchou.js',
|
||||
//'card/zhenfa.js',
|
||||
//'card/zhulu.js',
|
||||
'character/diy.js',
|
||||
//'character/diy.js',
|
||||
//'character/extra.js',
|
||||
//'character/hearth.js',
|
||||
//'character/gujian.js',
|
||||
//'character/gwent.js',
|
||||
//'character/hearth.js',
|
||||
'character/mobile.js',
|
||||
//'character/mobile.js',
|
||||
//'character/mtg.js',
|
||||
//'character/old.js',
|
||||
//'character/refresh.js',
|
||||
'character/refresh.js',
|
||||
//'character/shenhua.js',
|
||||
'character/sp.js',
|
||||
//'character/sp.js',
|
||||
'character/sp2.js',
|
||||
//'character/tw.js',
|
||||
//'character/standard.js',
|
||||
//'character/swd.js',
|
||||
//'character/xianjian.js',
|
||||
//'character/xinghuoliaoyuan.js',
|
||||
//'character/yijiang.js',
|
||||
'character/yijiang.js',
|
||||
//'character/yxs.js',
|
||||
//'extension/boss/extension.js',
|
||||
//'layout/default/layout.css',
|
||||
//'layout/nova/layout.css',
|
||||
'mode/identity.js',
|
||||
//'mode/identity.js',
|
||||
//'mode/doudizhu.js',
|
||||
//'mode/guozhan.js',
|
||||
//'mode/chess.js',
|
||||
|
@ -54,7 +52,7 @@ window.noname_update={
|
|||
//'mode/brawl.js',
|
||||
//'mode/versus.js',
|
||||
//'mode/boss.js',
|
||||
//'game/game.js',
|
||||
'game/game.js',
|
||||
//'game/NoSleep.js',
|
||||
//'game/config.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