commit
d1a65fc02f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -191,6 +191,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
junk_lidian:['male','wei',3,['xunxun','junkwangxi']],
|
junk_lidian:['male','wei',3,['xunxun','junkwangxi']],
|
||||||
junk_duanwei:['male','qun',4,['junklangmie']],
|
junk_duanwei:['male','qun',4,['junklangmie']],
|
||||||
junk_xuyou:["male","qun",3,["nzry_chenglve","junkshicai","nzry_cunmu"]],
|
junk_xuyou:["male","qun",3,["nzry_chenglve","junkshicai","nzry_cunmu"]],
|
||||||
|
junk_zhangjiao:['male','shen',3,['yizhao','junksijun','tianjie'],['qun','die_audio:shen_zhangjiao']],
|
||||||
},
|
},
|
||||||
characterFilter:{
|
characterFilter:{
|
||||||
key_jojiro(mode){
|
key_jojiro(mode){
|
||||||
|
@ -225,7 +226,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
diy_default:["diy_yuji","diy_caiwenji","diy_lukang","diy_zhenji","old_majun"],
|
diy_default:["diy_yuji","diy_caiwenji","diy_lukang","diy_zhenji","old_majun"],
|
||||||
diy_noname:['noname'],
|
diy_noname:['noname'],
|
||||||
diy_key:["key_lucia","key_kyousuke","key_yuri","key_haruko","key_umi","key_rei","key_komari","key_yukine","key_yusa","key_misa","key_masato","key_iwasawa","key_kengo","key_yoshino","key_yui","key_tsumugi","key_saya","key_harukakanata","key_inari","key_shiina","key_sunohara","key_rin","key_sasami","key_akane","key_doruji","key_yuiko","key_riki","key_hisako","key_hinata","key_noda","key_tomoya","key_nagisa","key_ayato","key_ao","key_yuzuru","sp_key_kanade","key_mio","key_midori","key_kyoko","key_shizuru","key_shiorimiyuki","key_miki","key_shiori","key_kaori","sp_key_yuri","key_akiko","key_abyusa","key_godan","key_yuu","key_ryoichi","key_kotori","key_jojiro","key_shiroha","key_shizuku","key_hiroto","key_sakuya","key_youta","key_rumi","key_chihaya","key_yukito","key_asara","key_kotomi","key_mia","key_kano","db_key_liyingxia","key_erika","key_satomi","key_iriya","key_fuuko"],
|
diy_key:["key_lucia","key_kyousuke","key_yuri","key_haruko","key_umi","key_rei","key_komari","key_yukine","key_yusa","key_misa","key_masato","key_iwasawa","key_kengo","key_yoshino","key_yui","key_tsumugi","key_saya","key_harukakanata","key_inari","key_shiina","key_sunohara","key_rin","key_sasami","key_akane","key_doruji","key_yuiko","key_riki","key_hisako","key_hinata","key_noda","key_tomoya","key_nagisa","key_ayato","key_ao","key_yuzuru","sp_key_kanade","key_mio","key_midori","key_kyoko","key_shizuru","key_shiorimiyuki","key_miki","key_shiori","key_kaori","sp_key_yuri","key_akiko","key_abyusa","key_godan","key_yuu","key_ryoichi","key_kotori","key_jojiro","key_shiroha","key_shizuku","key_hiroto","key_sakuya","key_youta","key_rumi","key_chihaya","key_yukito","key_asara","key_kotomi","key_mia","key_kano","db_key_liyingxia","key_erika","key_satomi","key_iriya","key_fuuko"],
|
||||||
diy_trashbin:['old_jiakui','ol_guohuai','junk_zhangrang','old_bulianshi','junk_sunquan','ol_maliang','junk_liubei','junk_huangyueying','junk_lidian','junk_duanwei','junk_xuyou'],
|
diy_trashbin:['junk_zhangjiao','old_jiakui','ol_guohuai','junk_zhangrang','old_bulianshi','junk_sunquan','ol_maliang','junk_liubei','junk_huangyueying','junk_lidian','junk_duanwei','junk_xuyou'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
characterIntro:{
|
characterIntro:{
|
||||||
|
@ -12354,6 +12355,52 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger.num++;
|
trigger.num++;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
//OL神张角
|
||||||
|
junksijun:{
|
||||||
|
audio:'sijun',
|
||||||
|
inherit:'sijun',
|
||||||
|
check(event,player){
|
||||||
|
return ui.cardPile.childNodes.length;
|
||||||
|
},
|
||||||
|
async content(event,trigger,player){
|
||||||
|
player.removeMark('yizhao',player.countMark('yizhao'));
|
||||||
|
const pile=Array.from(ui.cardPile.childNodes);
|
||||||
|
if(pile.length){
|
||||||
|
const max=max=Math.pow(2,Math.min(100,pile.length));
|
||||||
|
let bool=false,index,cards=[];
|
||||||
|
for(let i=0;i<max;i++){
|
||||||
|
let num=0;
|
||||||
|
index=i.toString(2);
|
||||||
|
while(index.length<pile.length){
|
||||||
|
index=('0'+index);
|
||||||
|
}
|
||||||
|
for(var k=0;k<index.length;k++){
|
||||||
|
if(index[k]=='1') num+=get.number(pile[k]);
|
||||||
|
if(num>36) break;
|
||||||
|
}
|
||||||
|
if(num==36){
|
||||||
|
bool=true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(bool){
|
||||||
|
for(let k=0;k<index.length;k++){
|
||||||
|
if(index[k]=='1') cards.push(pile[k]);
|
||||||
|
}
|
||||||
|
await player.gain(cards,'gain2');
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
let total=0;
|
||||||
|
for(const card of pile){
|
||||||
|
total+=get.number(card);
|
||||||
|
cards.push(card);
|
||||||
|
if(total>=36) break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(cards.length) await player.gain(cards,'gain2');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
//手杀削弱版许攸
|
//手杀削弱版许攸
|
||||||
junkshicai:{
|
junkshicai:{
|
||||||
audio:'nzry_shicai_2',
|
audio:'nzry_shicai_2',
|
||||||
|
@ -18995,6 +19042,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
ns_duji:'画饼杜畿',
|
ns_duji:'画饼杜畿',
|
||||||
ns_duji_prefix:'画饼',
|
ns_duji_prefix:'画饼',
|
||||||
ns_duji_ab:'杜畿',
|
ns_duji_ab:'杜畿',
|
||||||
|
junk_zhangjiao:'OL神张角',
|
||||||
|
junk_zhangjiao_prefix:'OL神',
|
||||||
|
junksijun:'肆军',
|
||||||
|
junksijun_info:'准备阶段,若“黄”数大于牌堆的牌数,你可以移去所有“黄”,然后从牌堆中随机获得任意张点数之和为36的牌(若牌堆没有点数和为36的组合则获得牌堆顶点数和刚好超过36的牌组)。',
|
||||||
|
|
||||||
diy_tieba:'吧友设计',
|
diy_tieba:'吧友设计',
|
||||||
diy_xushi:'玩点论杀·虚实篇',
|
diy_xushi:'玩点论杀·虚实篇',
|
||||||
|
|
|
@ -78,6 +78,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
shen_machao:['shen_machao','ps_shen_machao'],
|
shen_machao:['shen_machao','ps_shen_machao'],
|
||||||
shen_jiaxu:['le_shen_jiaxu','shen_jiaxu'],
|
shen_jiaxu:['le_shen_jiaxu','shen_jiaxu'],
|
||||||
shen_caocao:['shen_caocao','old_caocao'],
|
shen_caocao:['shen_caocao','old_caocao'],
|
||||||
|
shen_zhangjiao:['shen_zhangjiao','junk_zhangjiao'],
|
||||||
},
|
},
|
||||||
characterFilter:{
|
characterFilter:{
|
||||||
shen_diaochan(mode){
|
shen_diaochan(mode){
|
||||||
|
@ -1933,7 +1934,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
filter(event,player){
|
filter(event,player){
|
||||||
return player.countMark('yizhao')>ui.cardPile.childNodes.length;
|
return player.countMark('yizhao')>ui.cardPile.childNodes.length;
|
||||||
},
|
},
|
||||||
check:()=>true,
|
check(event,player){
|
||||||
|
return ui.cardPile.childNodes.length;
|
||||||
|
},
|
||||||
content(){
|
content(){
|
||||||
'step 0'
|
'step 0'
|
||||||
player.removeMark('yizhao',player.countMark('yizhao'));
|
player.removeMark('yizhao',player.countMark('yizhao'));
|
||||||
|
|
|
@ -308,6 +308,7 @@ window.noname_character_rank={
|
||||||
'wanglie',
|
'wanglie',
|
||||||
'zhaozhi',
|
'zhaozhi',
|
||||||
'shen_zhangjiao',
|
'shen_zhangjiao',
|
||||||
|
'junk_zhangjiao',
|
||||||
'tw_jiangji',
|
'tw_jiangji',
|
||||||
'tw_niufudongxie',
|
'tw_niufudongxie',
|
||||||
'tw_shen_lvmeng',
|
'tw_shen_lvmeng',
|
||||||
|
@ -2672,6 +2673,7 @@ window.noname_character_rank={
|
||||||
're_caorui',
|
're_caorui',
|
||||||
'junk_xuyou',
|
'junk_xuyou',
|
||||||
're_zhongyao',
|
're_zhongyao',
|
||||||
|
'junk_zhangjiao',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -11445,11 +11445,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
group:['reshuangxiong1',"reshuangxiong2"],
|
group:['reshuangxiong1',"reshuangxiong2"],
|
||||||
},
|
},
|
||||||
reshuangxiong1:{
|
reshuangxiong1:{
|
||||||
audio:"shuangxiong",
|
audio:"shuangxiong1",
|
||||||
audioname:['re_yanwen'],
|
audioname2:{
|
||||||
trigger:{
|
re_yanwen:'shuangxiong_re_yanwen1',
|
||||||
player:"phaseDrawBegin1",
|
|
||||||
},
|
},
|
||||||
|
trigger:{player:"phaseDrawBegin1"},
|
||||||
check:function (event,player){
|
check:function (event,player){
|
||||||
if(player.countCards('h')>player.hp) return true;
|
if(player.countCards('h')>player.hp) return true;
|
||||||
if(player.countCards('h')>3) return true;
|
if(player.countCards('h')>3) return true;
|
||||||
|
|
|
@ -1254,7 +1254,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
player.reinitCharacter(player.name2, 'sb_zhugeliang', false);
|
player.reinitCharacter(player.name2, 'sb_zhugeliang', false);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
player.changeSKills(['sbguanxing','sbkongcheng'],['sbhuoji','sbkanpo']);
|
player.changeSkills(['sbguanxing','sbkongcheng'],['sbhuoji','sbkanpo']);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -5940,10 +5940,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
audio:2,
|
audio:2,
|
||||||
audioname:['re_yanwen'],
|
audioname:['re_yanwen'],
|
||||||
group:'shuangxiong1',
|
group:'shuangxiong1',
|
||||||
|
subSkill:{
|
||||||
|
re_yanwen1:{audio:true},
|
||||||
|
re_yanwen2:{audio:true},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
shuangxiong1:{
|
shuangxiong1:{
|
||||||
audio:"shuangxiong",
|
audio:true,
|
||||||
audioname:['re_yanwen'],
|
|
||||||
trigger:{player:'phaseDrawBegin1'},
|
trigger:{player:'phaseDrawBegin1'},
|
||||||
check:function(event,player){
|
check:function(event,player){
|
||||||
if(player.countCards('h')>player.hp) return true;
|
if(player.countCards('h')>player.hp) return true;
|
||||||
|
@ -5968,8 +5971,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
shuangxiong2:{
|
shuangxiong2:{
|
||||||
charlotte:true,
|
charlotte:true,
|
||||||
onremove:true,
|
onremove:true,
|
||||||
audio:"shuangxiong",
|
audio:true,
|
||||||
audioname:['re_yanwen'],
|
audioname2:{
|
||||||
|
re_yanwen:'shuangxiong_re_yanwen2',
|
||||||
|
},
|
||||||
enable:'chooseToUse',
|
enable:'chooseToUse',
|
||||||
viewAs:{name:'juedou'},
|
viewAs:{name:'juedou'},
|
||||||
position:'hs',
|
position:'hs',
|
||||||
|
|
|
@ -779,7 +779,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
order:2,
|
order:2,
|
||||||
respondShan:true,
|
respondShan:true,
|
||||||
skillTagFilter(player,tag,arg){
|
skillTagFilter(player,tag,arg){
|
||||||
if(arg=='respond'||!player.countCards('h',card=>card.hasGaintag('olchongshen'))) return false;
|
if(arg=='respond'||!player.countCards('h',card=>_status.connectMode||card.hasGaintag('olchongshen'))) return false;
|
||||||
},
|
},
|
||||||
effect:{
|
effect:{
|
||||||
target(card,player,target,current){
|
target(card,player,target,current){
|
||||||
|
@ -790,8 +790,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
group:'olchongshen_mark',
|
group:'olchongshen_mark',
|
||||||
mod:{
|
mod:{
|
||||||
aiValue(player,card,num){
|
aiValue(player,card,num){
|
||||||
if(get.name(card)!='shan'&&!card.hasGaintag('olchongshen')) return;
|
if(get.name(card)!='shan'&&(get.itemtype(card)=='card'&&!card.hasGaintag('olchongshen'))) return;
|
||||||
var cards=player.getCards('hs',card=>get.name(card)=='shan'||card.hasGaintag('olchongshen'));
|
let cards=player.getCards('hs',card=>get.name(card)=='shan'||card.hasGaintag('olchongshen'));
|
||||||
cards.sort((a,b)=>(get.name(b)=='shan'?1:2)-(get.name(a)=='shan'?1:2));
|
cards.sort((a,b)=>(get.name(b)=='shan'?1:2)-(get.name(a)=='shan'?1:2));
|
||||||
const geti=()=>{
|
const geti=()=>{
|
||||||
if(cards.includes(card)) return cards.indexOf(card);
|
if(cards.includes(card)) return cards.indexOf(card);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
Loading…
Reference in New Issue