This commit is contained in:
Spmario233 2021-05-12 21:45:40 +08:00
parent b231525be0
commit 123b37a482
14 changed files with 499 additions and 200 deletions

View File

@ -5,6 +5,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
connect:true,
connectBanned:['diy_tianyu','diy_yangyi','diy_lukang','ns_huamulan','ns_yuji','ns_duangui','ns_liuzhang','key_yuu'],
character:{
noname:["female","key",3,["noname_zhuyuan","noname_duocai"]],
sp_key_yuri:['female','qun',4,['mubing','ziqu','diaoling']],
key_lucia:['female','key','1/2',['lucia_duqu','lucia_zhenren']],
key_kyousuke:['male','key',4,['nk_shekong','key_huanjie']],
@ -178,11 +179,13 @@ game.import('character',function(lib,game,ui,get,ai,_status){
diy_tieba:["ns_zuoci","ns_lvzhi","ns_wangyun","ns_nanhua","ns_nanhua_left","ns_nanhua_right","ns_huamulan","ns_huangzu","ns_jinke","ns_yanliang","ns_wenchou","ns_caocao","ns_caocaosp","ns_zhugeliang","ns_wangyue","ns_yuji","ns_xinxianying","ns_guanlu","ns_simazhao","ns_sunjian","ns_duangui","ns_zhangbao","ns_masu","ns_zhangxiu","ns_lvmeng","ns_shenpei","ns_yujisp","ns_yangyi","ns_liuzhang","ns_xinnanhua","ns_luyusheng"],
diy_fakenews:["diy_wenyang","ns_zhangwei","ns_caimao"],
diy_default:["diy_feishi","diy_liuyan","diy_yuji","diy_caiwenji","diy_lukang","diy_zhenji","diy_liufu","diy_xizhenxihong","diy_liuzan","diy_zaozhirenjun","diy_yangyi","diy_tianyu"],
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"],
diy_trashbin:['old_jiakui','ol_guohuai','junk_zhangrang','junk_simayi'],
},
},
characterIntro:{
noname:'无名杀的吉祥物。<br>画师:空城<br>技能设计:李木子',
ns_zhangwei:'血骑教习·张葳,三国杀集换式卡牌游戏《阵面对决》中的帝畿系列卡牌。游卡桌游官方原创的三国时期女性角色。',
diy_feishi:'字公举,生卒年不详,益州犍为郡南安县(今四川省乐山市)人。刘璋占据益州时,以费诗为绵竹县县令。刘备进攻刘璋夺取益州,费诗举城而降,后受拜督军从事,转任牂牁郡太守,再为州前部司马。',
//diy_liuyan:'字元海新兴今山西忻州北匈奴族匈奴首领冒顿单于之后南匈奴单于于夫罗之孙左贤王刘豹之子母呼延氏十六国时期前赵政权开国皇帝304年310年在位。',
@ -7115,178 +7118,336 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
nk_shekong:{
enable:'phaseUse',
usable:1,
filter:function(event,player){
return player.countCards('h')>0;
},
filterCard:true,
selectCard:function(){
if(ui.selected.targets.length) return [1,ui.selected.targets[0].countCards('he')];
return [1,Infinity];
},
filterTarget:function(event,player,target){
return target!=player&&target.countCards('he')>=Math.max(1,ui.selected.cards.length);
},
check:function(card){
if(!game.hasPlayer(function(current){
return current!=_status.event.player&&get.attitude(_status.event.player,current)<0&&current.countCards('he')>ui.selected.cards.length;
})) return 0;
return 6-get.value(card);
},
content:function(){
'step 0'
event.cardsx=cards.slice(0);
var num=get.cnNumber(cards.length);
var trans=get.translation(player);
var prompt=('弃置'+num+'张牌,然后'+trans+'摸一张牌');
if(cards.length>1) prompt+=(';或弃置一张牌,然后'+trans+'摸'+num+'张牌');
var next=target.chooseToDiscard(prompt,'he',true);
next.numx=cards.length;
next.selectCard=function(){
if(ui.selected.cards.length>1) return _status.event.numx;
return [1,_status.event.numx];
};
next.complexCard=true;
next.ai=function(card){
if(ui.selected.cards.length==0||(_status.event.player.countCards('he',function(cardxq){
return get.value(cardxq)<7;
})>=_status.event.numx)) return 7-get.value(card);
return -1;
};
'step 1'
if(result.bool){
if(result.cards.length==cards.length) player.draw();
else player.draw(cards.length);
event.cardsx.addArray(result.cards);
for(var i=0;i<event.cardsx.length;i++){
if(get.position(event.cardsx[i])!='d') event.cardsx.splice(i--,1);
}
enable:'phaseUse',
usable:1,
filter:function(event,player){
return player.countCards('h')>0;
},
filterCard:true,
selectCard:function(){
if(ui.selected.targets.length) return [1,ui.selected.targets[0].countCards('he')];
return [1,Infinity];
},
filterTarget:function(event,player,target){
return target!=player&&target.countCards('he')>=Math.max(1,ui.selected.cards.length);
},
check:function(card){
if(!game.hasPlayer(function(current){
return current!=_status.event.player&&get.attitude(_status.event.player,current)<0&&current.countCards('he')>ui.selected.cards.length;
})) return 0;
return 6-get.value(card);
},
content:function(){
'step 0'
event.cardsx=cards.slice(0);
var num=get.cnNumber(cards.length);
var trans=get.translation(player);
var prompt=('弃置'+num+'张牌,然后'+trans+'摸一张牌');
if(cards.length>1) prompt+=(';或弃置一张牌,然后'+trans+'摸'+num+'张牌');
var next=target.chooseToDiscard(prompt,'he',true);
next.numx=cards.length;
next.selectCard=function(){
if(ui.selected.cards.length>1) return _status.event.numx;
return [1,_status.event.numx];
};
next.complexCard=true;
next.ai=function(card){
if(ui.selected.cards.length==0||(_status.event.player.countCards('he',function(cardxq){
return get.value(cardxq)<7;
})>=_status.event.numx)) return 7-get.value(card);
return -1;
};
'step 1'
if(result.bool){
if(result.cards.length==cards.length) player.draw();
else player.draw(cards.length);
event.cardsx.addArray(result.cards);
for(var i=0;i<event.cardsx.length;i++){
if(get.position(event.cardsx[i])!='d') event.cardsx.splice(i--,1);
}
else event.finish();
'step 2'
if(event.cardsx.length){
player.chooseButton(['请按顺序将卡牌置于牌堆顶(先选择的在上)',event.cardsx],true,event.cardsx.length);
}
else event.finish();
'step 2'
if(event.cardsx.length){
player.chooseButton(['请按顺序将卡牌置于牌堆顶(先选择的在上)',event.cardsx],true,event.cardsx.length);
}
else event.finish();
'step 3'
if(result.bool){
var cardsx=result.links;
while(cardsx.length){
var card=cardsx.pop();
card.fix();
ui.cardPile.insertBefore(card,ui.cardPile.firstChild);
}
else event.finish();
'step 3'
if(result.bool){
var cardsx=result.links;
while(cardsx.length){
var card=cardsx.pop();
card.fix();
ui.cardPile.insertBefore(card,ui.cardPile.firstChild);
}
}
},
ai:{
order:10,
result:{
target:-1,
},
}
},
ai:{
order:10,
result:{
target:-1,
},
},
key_huanjie:{
trigger:{player:['drawBegin','judgeBegin']},
forced:true,
silent:true,
popup:false,
lastDo:true,
filter:function(event){
return event.name=='draw'||!event.directresult;
},
content:function(){
if(trigger.name=='draw'){
if(trigger.bottom) trigger.bottom=false;
else trigger.bottom=true;
}
else trigger.directresult=get.bottomCards()[0];
},
key_huanjie:{
trigger:{player:['drawBegin','judgeBegin']},
forced:true,
silent:true,
popup:false,
lastDo:true,
filter:function(event){
return event.name=='draw'||!event.directresult;
},
content:function(){
if(trigger.name=='draw'){
if(trigger.bottom) trigger.bottom=false;
else trigger.bottom=true;
}
else trigger.directresult=get.bottomCards()[0];
},
},
lucia_duqu:{
mod:{
cardSavable:function(card,player,target){
if(player==target&&card.name=='du'&&!player.hasSkill('lucia_duqu_terra')) return true;
},
},
lucia_duqu:{
mod:{
cardSavable:function(card,player,target){
if(player==target&&card.name=='du'&&!player.hasSkill('lucia_duqu_terra')) return true;
},
trigger:{
player:['damage','loseHpBefore','useCardBefore'],
source:'damage',
},
forced:true,
charlotte:true,
filter:function(event,player,onrewrite){
if(onrewrite=='loseHpBefore'){
return event.type=='du';
}
if(onrewrite=='useCardBefore'){
return event.card.name=='du'&&event.getParent().type=='dying';
}
return event.source!=undefined&&event.source!=event.player;
},
content:function(){
var onrewrite=event.triggername;
if(onrewrite=='loseHpBefore'){
trigger.cancel();
player.recover(trigger.num);
}
else if(onrewrite=='useCardBefore'){
player.addTempSkill('lucia_duqu_terra');
}
else{
var another=trigger[trigger.source==player?'player':'source'];
player.line(another,{color:[220, 90, 139]});
var card=game.createCard2('du');
player.$gain2(card);
player.gain(card);
another.gain(game.createCard2('du'),'gain2');
}
},
ai:{
usedu:true,
save:true,
skillTagFilter:function(player,tag,target){
return player==target&&player.hasUsableCard('du')&&!player.hasSkill('lucia_duqu_terra');
},
trigger:{
player:['damage','loseHpBefore','useCardBefore'],
source:'damage',
},
subSkill:{terra:{sub:true}}
},
lucia_zhenren:{
trigger:{global:'phaseEnd'},
forced:true,
charlotte:true,
filter:function(event,player){
return player.countCards('e')>0;
},
content:function(){
'step 0'
var es=player.getCards('e');
event.count=es.length;
player.discard(es);
'step 1'
event.count--;
if(game.hasPlayer(function(current){
return current.countDiscardableCards(player,'ej')>0;
})){
player.chooseTarget('请选择一名角色,弃置其装备区或判定区内的一张牌。',true,function(card,player,target){
return target.countDiscardableCards(player,'ej')>0;
}).ai=function(target){
var att=get.attitude(_status.event.player,target);
if(target.countCards('j')&&att>0) return att*1.5;
return -att;
};
}
else event.finish();
'step 2'
if(result.bool&&result.targets&&result.targets.length){
var target=result.targets[0];
player.line(target,{color:[220, 90, 139]});
player.discardPlayerCard(target,'ej',true);
if(event.count) event.goto(1);
}
},
},
noname_zhuyuan:{
enable:"phaseUse",
position:"he",
selectCard:4,
complexCard:true,
charlotte:true,
prompt:"将4张花色各不同的牌交一名角色并令你与其获得【铁骑】和【激昂】直到各自回合结束",
check:function(card){
if(ui.selected.cards.length&&ui.selected.cards[0].name=='du') return 0;
if(!ui.selected.cards.length&&card.name=='du') return 20;
var player=get.owner(card);
if(ui.selected.cards.length>=Math.max(2,player.countCards('h')-player.hp)) return 0;
if(player.hp==player.maxHp||player.countCards('h')<=1){
var players=game.filterPlayer();
for(var i=0;i<players.length;i++){
if(players[i].hasSkill('haoshi')&&
!players[i].isTurnedOver()&&
!players[i].hasJudge('lebu')&&
get.attitude(player,players[i])>=3&&
get.attitude(players[i],player)>=3){
return 11-get.value(card);
}
}
if(player.countCards('h')>player.hp) return 10-get.value(card);
if(player.countCards('h')>2) return 6-get.value(card);
return -1;
}
return 10-get.value(card);
},
filterCard:function(card,player){
var suit=get.suit(card,player);
for(var i=0;i<ui.selected.cards.length;i++){
if(get.suit(ui.selected.cards[i],player)==suit) return false;
}
return true;
},
filter:function(event,player){
var suits=[];
player.countCards('he',function(card){
if(suits.length<4) suits.add(get.suit(card,player));
});
if(suits.length<4) return false;
var stat=player.getStat();
if(!stat.noname_zhuyuan) return true;
return game.hasPlayer(function(current){
return current!=player&&!stat.noname_zhuyuan.contains(current);
});
},
filterTarget:function(card,player,target){
if(player==target) return false;
var stat=player.getStat();
if(!stat.noname_zhuyuan) return true;
return !stat.noname_zhuyuan.contains(target);
},
discard:false,
lose:false,
delay:false,
content:function(){
"step 0"
var stat=player.getStat();
if(!stat.noname_zhuyuan) stat.noname_zhuyuan=[];
stat.noname_zhuyuan.push(target);
target.gain(cards,player,'giveAuto');
"step 1"
game.log(player,'获得了技能','#g【铁骑】');
player.addTempSkill('noname_retieji',{player:'phaseAfter'});
game.log(player,'获得了技能','#g【激昂】');
player.addTempSkill('noname_jiang',{player:'phaseAfter'});
game.log(target,'获得了技能','#g【铁骑】');
target.addTempSkill('noname_retieji',{player:'phaseAfter'});
game.log(target,'获得了技能','#g【激昂】');
target.addTempSkill('noname_jiang',{player:'phaseAfter'});
},
mod:{
targetInRange:function(card,player){
var stat=player.getStat();
if(stat.noname_zhuyuan) return true;
},
forced:true,
charlotte:true,
filter:function(event,player,onrewrite){
if(onrewrite=='loseHpBefore'){
return event.type=='du';
}
if(onrewrite=='useCardBefore'){
return event.card.name=='du'&&event.getParent().type=='dying';
}
return event.source!=undefined&&event.source!=event.player;
cardUsable:function(card,player){
var stat=player.getStat();
if(!stat.noname_zhuyuan) return Infinity;
},
content:function(){
var onrewrite=event.triggername;
if(onrewrite=='loseHpBefore'){
trigger.cancel();
player.recover(trigger.num);
}
else if(onrewrite=='useCardBefore'){
player.addTempSkill('lucia_duqu_terra');
},
ai:{
order:5,
result:{
target:10,
},
},
},
noname_retieji:{
inherit:"retieji",
mark:true,
marktext:"<img style=width:21px src="+lib.assetURL+"/image/character/noname_machao.png>",
intro:{
name:"小无·铁骑",
content:"你使用【杀】指定一名角色为目标后,可以进行一次判定并令该角色的非锁定技失效直到回合结束,除非该角色弃置一张与判定结果花色相同的牌,否则不能使用【闪】抵消此【杀】。",
},
},
noname_jiang:{
inherit:"jiang",
mark:true,
marktext:"<img style=width:21px src="+lib.assetURL+"/image/character/noname_sunce.png>",
intro:{
name:"小无·激昂",
content:"每当你使用(指定目标后)或被使用(成为目标后)一张【决斗】或红色的【杀】时,你可以摸一张牌。",
},
},
noname_duocai:{
trigger:{
global:"loseAfter",
},
filter:function(event,player){
if(event.type!='discard'||event.player==player) return false;
return event.cards&&event.cards.filterInD('d').length>0&&!player.hasSkill('noname_duocai2');
},
direct:true,
charlotte:true,
content:function(){
"step 0"
if(trigger.delay==false&&player!=game.me&&!player.isOnline()) game.delay();
var cards=trigger.cards.filterInD('d');
player.chooseButton([get.prompt('noname_duocai'),cards],[1,cards.length]);
"step 1"
if(result.bool){
player.logSkill('noname_duocai');
player.addTempSkill('noname_duocai2');
player.gain(result.links,'gain2');
if(result.links.length>2){
var filterTarget=function(card,player,target){
return target!=player&&target.countDiscardableCards(player,'hej')>0;
};
if(game.hasPlayer(function(current){
return filterTarget(null,player,current);
})){
player.chooseTarget('弃置一名其他角色区域内的一张牌',true,filterTarget).set('ai',function(target){
var player=_status.event.player;
return get.effect(target,{name:'guohe'},player,player);
});
}
else event.finish();
}
else{
var another=trigger[trigger.source==player?'player':'source'];
player.line(another,{color:[220, 90, 139]});
var card=game.createCard2('du');
player.$gain2(card);
player.gain(card);
another.gain(game.createCard2('du'),'gain2');
if(result.links.length==2) player.draw();
else player.recover();
event.finish();
}
},
ai:{
usedu:true,
save:true,
skillTagFilter:function(player,tag,target){
return player==target&&player.hasUsableCard('du')&&!player.hasSkill('lucia_duqu_terra');
},
},
subSkill:{terra:{sub:true}}
}
else event.finish();
"step 2"
if(result.bool){
var target=result.targets[0];
player.line(target,'green');
player.discardPlayerCard(target,'hej',true);
}
},
lucia_zhenren:{
trigger:{global:'phaseEnd'},
forced:true,
charlotte:true,
filter:function(event,player){
return player.countCards('e')>0;
},
content:function(){
'step 0'
var es=player.getCards('e');
event.count=es.length;
player.discard(es);
'step 1'
event.count--;
if(game.hasPlayer(function(current){
return current.countDiscardableCards(player,'ej')>0;
})){
player.chooseTarget('请选择一名角色,弃置其装备区或判定区内的一张牌。',true,function(card,player,target){
return target.countDiscardableCards(player,'ej')>0;
}).ai=function(target){
var att=get.attitude(_status.event.player,target);
if(target.countCards('j')&&att>0) return att*1.5;
return -att;
};
}
else event.finish();
'step 2'
if(result.bool&&result.targets&&result.targets.length){
var target=result.targets[0];
player.line(target,{color:[220, 90, 139]});
player.discardPlayerCard(target,'ej',true);
if(event.count) event.goto(1);
}
},
},
},
noname_duocai2:{},
nslongyue:{
trigger:{global:'useCard'},
filter:function(event,player){
@ -13354,6 +13515,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
nao_shouqing3:'守情',
nao_shouqing_info:'其他角色的出牌阶段内可以对你使用【桃】。若如此做,其摸一张牌且本局游戏内的手牌上限+1。',
noname:"小无",
noname_zhuyuan:"祝愿",
noname_zhuyuan_info:"①每回合每名角色限一次。出牌阶段,你可以将四张花色各不相同的牌交给一名其他角色。你与其获得技能〖铁骑〗和〖激昂〗至各自的回合结束。②锁定技,若你于当前回合内:未发动过〖祝愿〗,则你使用牌无次数限制;发动过〖祝愿〗,则你使用牌无距离限制。",
noname_duocai:"多彩",
noname_duocai_info:"每回合限一次。其他角色区域内的牌因弃置而进入弃牌堆后你可以获得之。若你以此法获得的牌数大于2你弃置一名角色区域内的一张牌等于2你摸一张牌小于2你回复1点体力。",
ns_huangchengyan:'黄承彦',
nslongyue:'龙岳',
nslongyue_info:'当一名角色使用锦囊牌时,若此牌是其本回合内使用的第一张牌,则你可令其摸一张牌。',
@ -13635,6 +13801,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
junk_simayi_ab:'司马懿',
diy_tieba:'吧友设计',
diy_default:'常规',
diy_noname:'无名专属',
diy_key:'论外',
diy_yijiang:'设计比赛2020',
diy_fakenews:'假新闻',

View File

@ -3283,8 +3283,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
marktext:'龙',
intro:{
content:function(storage,player,skill){
if(player.storage.nzry_longnu==true) return '锁定技出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷杀且无使用次数限制';
return '锁定技,出牌阶段开始时,你流失一点体力并摸一张牌,然后本回合你的红色手牌均视为火杀且无距离限制';
if(player.storage.nzry_longnu==true) return '锁定技出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷杀且无使用次数限制';
return '锁定技,出牌阶段开始时,你流失一点体力并摸一张牌,然后本阶段内你的红色手牌均视为火杀且无距离限制';
},
},
audio:2,
@ -3293,16 +3293,22 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
forced:true,
content:function(){
'step 0'
if(player.storage.nzry_longnu==true){
player.loseMaxHp();
}
else{
player.loseHp();
}
player.draw();
'step 1'
if(player.storage.nzry_longnu==true){
player.storage.nzry_longnu=false;
player.loseMaxHp();
player.draw();
player.addTempSkill('nzry_longnu_2',{player:'phaseAfter'});
}else{
player.addTempSkill('nzry_longnu_2','phaseUseAfter');
}
else{
player.storage.nzry_longnu=true;
player.loseHp();
player.draw();
player.addTempSkill('nzry_longnu_1',{player:'phaseAfter'});
player.addTempSkill('nzry_longnu_1','phaseUseAfter');
};
},
subSkill:{
@ -3328,7 +3334,6 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
},
'2':{
prompt:'本回合你的锦囊牌均视为雷杀且无使用次数限制',
mod:{
cardname:function(card,player){
if(['trick','delay'].contains(lib.card[card.name].type)) return 'sha';
@ -3962,10 +3967,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
dynamicTranslate:{
nzry_longnu:function(player){
if(player.hasSkill('nzry_longnu_2')) return '转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本回合内你的红色手牌均视为火【杀】且无距离限制。<span class="legendtext">阳出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷【杀】且无使用次数限制。</span>';
if(player.hasSkill('nzry_longnu_1')) return '转换技,锁定技,<span class="legendtext">阴出牌阶段开始时你失去1点体力并摸一张牌然后本回合内你的红色手牌均视为火【杀】且无距离限制。</span>阳出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷【杀】且无使用次数限制。';
if(player.storage.nzry_longnu==true) return '转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本回合内你的红色手牌均视为火【杀】且无距离限制。<span class="bluetext">阳出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷【杀】且无使用次数限制。</span>';
return '转换技,锁定技,<span class="bluetext">阴出牌阶段开始时你失去1点体力并摸一张牌然后本回合内你的红色手牌均视为火【杀】且无距离限制。</span>阳出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷【杀】且无使用次数限制。';
if(player.hasSkill('nzry_longnu_2')) return '转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。<span class="legendtext">阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。</span>';
if(player.hasSkill('nzry_longnu_1')) return '转换技,锁定技,<span class="legendtext">阴出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。</span>阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。';
if(player.storage.nzry_longnu==true) return '转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。<span class="bluetext">阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。</span>';
return '转换技,锁定技,<span class="bluetext">阴出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。</span>阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。';
},
},
translate:{
@ -3978,7 +3983,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"nzry_dinghuo_info":"限定技出牌阶段你可以移去全部“军略”标记令至多等量的已横置角色弃置所有装备区内的牌。然后你对其中一名角色造成1点火焰伤害。",
"shen_liubei":"神刘备",
"nzry_longnu":"龙怒",
"nzry_longnu_info":"转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本回合内你的红色手牌均视为火【杀】且无距离限制。阳出牌阶段开始时你减1点体力上限并摸一张牌然后本回合你的锦囊牌均视为雷【杀】且无使用次数限制。",
"nzry_longnu_info":"转换技锁定技出牌阶段开始时你失去1点体力并摸一张牌然后本阶段内你的红色手牌均视为火【杀】且无距离限制。阳出牌阶段开始时你减1点体力上限并摸一张牌然后本阶段内你的锦囊牌均视为雷【杀】且无使用次数限制。",
"nzry_jieying":"结营",
"nzry_jieying_info":"锁定技,游戏开始时或当你的武将牌重置时,你横置;所有已横置的角色手牌上限+2结束阶段你横置一名其他角色。",

View File

@ -764,7 +764,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
respondSha:true,
respondShan:true,
skillTagFilter:function(player){
if(player.countMark('spwuku')||!player.countCards('he')||player.hasSkill('spmiewu2')) return false;
if(!player.countMark('spwuku')||!player.countCards('he')||player.hasSkill('spmiewu2')) return false;
},
order:1,
result:{

View File

@ -38,6 +38,7 @@ window.noname_character_rank={
'key_shizuru',
'key_sakuya',
'boss_zhaoyun',
'noname',
],
ap:[
'gjqt_aruan',
@ -830,6 +831,8 @@ window.noname_character_rank={
'caoanmin',
'luyusheng',
'dingfeng',
'huangzu',
'jin_yanghuiyu',
],
bm:[
'diy_xizhenxihong',
@ -973,6 +976,7 @@ window.noname_character_rank={
'zhaozhong',
'zongyu',
'sp_sunshao',
'simazhou',
],
c:[
'xiahoudun',
@ -1149,6 +1153,7 @@ window.noname_character_rank={
'key_shiroha',
'key_hina',
'key_sakuya',
'noname',
],
epic:[
'pal_yueqi',
@ -1299,6 +1304,7 @@ window.noname_character_rank={
're_taoqian',
'caosong',
'sp_duyu',
'jin_yanghuiyu',
'key_haruko',
'key_akiko',
'key_sunohara',
@ -1603,6 +1609,8 @@ window.noname_character_rank={
'sp_bianfuren',
'luotong',
'feiyi',
'huangzu',
'simazhou',
],
junk:[
'sunshao',

View File

@ -12243,7 +12243,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audio:2,
trigger:{global:'phaseUseBegin'},
filter:function(event,player){
return /*(get.mode()!='guozhan'||event.player!=player)&&*/player.countCards('h')>0;
return /*(get.mode()!='guozhan'||event.player!=player)&&*/event.player.isAlive()&&player.countCards('h')>0;
},
direct:true,
content:function(){

View File

@ -4,12 +4,14 @@ game.import('character',function(lib,game,ui,get,ai,_status){
name:'sp2',
connect:true,
character:{
simazhou:['male','jin',4,['caiwang','naxiang']],
huangzu:['male','qun',4,['wangong'],['unseen']],
caosong:['male','wei',3,['cslilu','csyizheng']],
re_taoqian:['male','qun',3,['zhaohuo','reyixiang','reyirang']],
zhaozhong:['male','qun',6,['yangzhong','huangkong']],
fanyufeng:['female','qun',3,['bazhan','jiaoying']],
ol_lisu:['male','qun',3,['qiaoyan','xianzhu']],
jin_yanghuiyu:['female','jin',3,['huirong','ciwei','caiyuan'],['hiddenSkill','unseen']],
jin_yanghuiyu:['female','jin',3,['huirong','ciwei','caiyuan'],['hiddenSkill']],
shibao:['male','jin',4,['shibao_skill'],['unseen']],
jin_zhangchunhua:['female','jin',3,['huishi','qingleng','xuanmu'],['hiddenSkill']],
jin_simayi:['male','jin',3,['buchen','smyyingshi','xiongzhi','quanbian'],['hiddenSkill']],
@ -92,7 +94,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
characterSort:{
sp2:{
sp_yingbian:['jin_zhangchunhua','jin_simayi','jin_wangyuanji','jin_simazhao','jin_xiahouhui','jin_yanghuiyu','jin_simashi','duyu','zhanghuyuechen','shibao','ol_lisu'],
sp_yingbian:['jin_zhangchunhua','jin_simayi','jin_wangyuanji','jin_simazhao','jin_xiahouhui','jin_yanghuiyu','jin_simashi','duyu','zhanghuyuechen','shibao','ol_lisu','huangzu','simazhou'],
sp_whlw:["xurong","lijue","zhangji","fanchou","guosi"],
sp_zlzy:["zhangqiying","lvkai","zhanggong","weiwenzhugezhi","beimihu"],
sp_longzhou:["xf_tangzi","xf_huangquan","xf_sufei","sp_liuqi"],
@ -112,6 +114,96 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
},
skill:{
//司马伷和黄祖
caiwang:{
audio:2,
trigger:{global:['useCard','respond']},
filter:function(event,player){
if(!Array.isArray(event.respondTo)||event.respondTo[0]==event.player||![event.respondTo[0],event.player].contains(player)) return false;
var color=get.color(event.card);
if(color=='none'||get.color(event.respondTo[1])!=color) return false;
var target=lib.skill.caiwang.logTarget(event,player);
return target[player.getStorage('naxiang2').contains(target)?'countGainableCards':'countDiscardableCards'](player,'he')>0
},
logTarget:function(event,player){
return (player==event.respondTo[0]?event.player:event.respondTo[0]);
},
prompt2:function(event,player){
var target=lib.skill.caiwang.logTarget(event,player);
return (player.getStorage('naxiang2').contains(target)?'获得':'弃置')+'该角色的一张牌';
},
check:function(event,player){
return get.attitude(player,lib.skill.caiwang.logTarget(event,player))<=0;
},
content:function(){
var target=lib.skill.caiwang.logTarget(trigger,player);
player[player.getStorage('naxiang2').contains(target)?'gainPlayerCard':'discardPlayerCard'](target,'he',true);
},
},
naxiang:{
audio:2,
trigger:{
player:'damageEnd',
source:'damageSource',
},
forced:true,
filter:function(event,player){
var target=lib.skill.naxiang.logTarget(event,player);
return target&&target!=player&&target.isAlive();
},
logTarget:function(event,player){
return player==event.player?event.source:event.player;
},
content:function(){
player.addTempSkill('naxiang2',{player:'phaseBegin'});
if(!player.storage.naxiang2) player.storage.naxiang2=[];
player.storage.naxiang2.add(lib.skill.naxiang.logTarget(trigger,player));
player.markSkill('naxiang2');
},
ai:{
combo:'caiwang',
},
},
naxiang2:{
onremove:true,
intro:{
content:'已接受$的投降;对这些角色发动【才望】时将“弃置”改为“获得”',
},
},
wangong:{
audio:2,
trigger:{player:'useCard'},
forced:true,
filter:function(event,player){
return get.type(event.card,false)=='basic';
},
content:function(){
player.addSkill('wangong2');
},
},
wangong2:{
trigger:{player:'useCard1'},
forced:true,
popup:false,
firstDo:true,
charlotte:true,
content:function(){
player.removeSkill('wangong2');
if(trigger.card.name=='sha') trigger.baseDamage++;
},
mod:{
cardUsable:function(card){
if(card.name=='sha') return Infinity;
},
targetInRange:function(card){
if(card.name=='sha') return true;
},
},
mark:true,
intro:{
content:'使用【杀】无距离和次数限制且伤害+1',
},
},
//陶谦和曹嵩
reyirang:{
audio:'yirang',
@ -9454,6 +9546,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
fanyufeng:'樊夫人东汉末年人物昔桂阳太守赵范寡嫂。赵云随刘备平定江南四郡后刘备以赵云为桂阳太守。赵范居心叵测要将自己的嫂嫂樊氏嫁给赵云但遭到赵云的拒绝。后来赵范逃走樊氏也下落不明。2001年应日本日中青少年文化中心成立50周年之邀北京京剧院赴日进行40场巡回演出这次访日的剧目都不同程度地进行了加工改编以符合日本观众的需求。《取桂阳》是根据老本重新排演的叶金援饰赵云王怡饰樊玉凤。剧中的樊玉凤成为文武双全的巾帼英雄被赵云收降后来在《龙凤呈祥》中也参与堵截东吴的追兵。',
zhaozhong:'赵忠—189年安平人东汉末年宦官赵延之兄。桓帝、灵帝时历为小黄门、中常侍、大长秋、车骑将军等职封都乡侯。在职时以搜刮暴敛、骄纵贪婪见称灵帝极为宠信常谓“赵常侍是我母”。中平六年189年何进谋诛宦官事泄他和其余几个常侍设计伏杀何进袁绍、袁术等人闻何进被杀入宫杀尽宦官后捕杀赵忠。',
caosong:'曹嵩—194年字巨高沛郡谯县今安徽省亳州市人。东汉大臣大长秋曹腾的养子曹操之父亲。门荫入仕历任司隶校尉、鸿胪卿、大司农位列九卿位高权重。中平四年187年靠着贿赂中官出任太尉位列三公。中平五年188年受累于黄巾之乱坐罪免官。兴平元年194年投奔兖州牧曹操遇害于徐州。延康元年220年追尊魏国太王。曹魏建立后追尊皇帝谥号为太。',
simazhou:'司马伷zhòu227年283年6月12日字子将河内郡温县今河南省温县人。西晋宗室、将领晋宣帝司马懿第三子伏太妃所生。晋景帝司马师、文帝司马昭的同父异母弟晋武帝司马炎的叔父。司马伷少有才气在曹魏历任宁朔将军、散骑常侍、征虏将军等职先后受封南安亭侯、东武乡侯五等爵制建立后改封南皮伯。西晋建立后获封东莞郡王入朝任尚书右仆射、抚军将军出外拜镇东大将军。后改封琅邪王加开府仪同三司。西晋伐吴时率军出涂中孙皓向他投降并奉上玉玺。战后因功拜大将军增邑三千户。太康四年283年司马伷去世享年五十七岁。谥号为武世称“琅邪武王”。著有《周官宁朔新书》八卷今已亡佚。',
huangzu:'黄祖208年东汉末年将领。刘表任荆州牧时黄祖出任江夏太守。初平二年191年黄祖在与长沙太守孙坚交战时其部下将孙坚射死因此与孙家结下仇怨。之后黄祖多次率部与东吴军队交战射杀凌操、徐琨等人。建安十三年208年在与孙权的交战中兵败被杀。',
},
characterTitle:{
wulan:'#b对决限定武将',
@ -9507,7 +9601,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
perfectPair:{
jin_simayi:['jin_zhangchunhua'],
jin_simazhao:['jin_wangyuanji'],
jin_simashi:['jin_xiahouhui'],
jin_simashi:['jin_xiahouhui','jin_yanghuiyu'],
},
characterReplace:{
lijue:['lijue','ns_lijue'],
@ -10014,6 +10108,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
shibao_skill_info:'出牌阶段你使用本轮获得的牌时以此技能获得的牌除外根据类型执行以下效果1.基本牌不计入次数且无距离限制2.锦囊牌,此牌目标+1或-13.装备牌摸1张牌。',
jin_yanghuiyu:'晋羊徽瑜',
jin_yanghuiyu_ab:'羊徽瑜',
gz_jin_yanghuiyu:'羊徽瑜',
huirong:'慧容',
huirong_info:'隐匿技,锁定技。当你登场后,你令一名角色将手牌数摸至/弃至与体力值相同(至多摸至五张)。',
ciwei:'慈威',
@ -10062,6 +10157,16 @@ game.import('character',function(lib,game,ui,get,ai,_status){
csyizheng_info:'结束阶段开始时你可以选择一名其他角色。你的下回合开始前当该角色造成伤害或回复体力时若其体力上限小于你则你减1点体力上限且令此伤害值/回复值+1。',
reyirang:'揖让',
reyirang_info:'出牌阶段开始时你可以将所有非基本牌交给一名体力上限大于你的其他角色然后调整体力上限至与该角色相同并回复X点体力X为你以此法交给其的牌数。',
huangzu:'黄祖',
wangong:'挽弓',
wangong2:'挽弓',
wangong_info:'锁定技,当你使用基本牌时,你获得如下效果:当你使用下一张牌时,若此牌为【杀】,则此牌无次数和距离限制且伤害+1。',
simazhou:'司马伷',
caiwang:'才望',
caiwang_info:'当你使用或打出牌响应其他角色使用的牌,或其他角色使用或打出牌响应你使用的牌后,若这两张牌颜色相同,则你可以弃置对方的一张牌。',
naxiang:'纳降',
naxiang2:'纳降',
naxiang_info:'锁定技,当你受到其他角色造成的伤害后,或你对其他角色造成伤害后,你对其发动〖才望〗时的“弃置”改为“获得”直到你的下回合开始。',
sp_yingbian:'文德武备',
sp_whlw:"文和乱武",

View File

@ -1,5 +1,5 @@
window.noname_asset_list=[
'v1.9.109.3.7',
'v1.9.109.3.8',
'audio/background/aozhan_chaoming.mp3',
'audio/background/aozhan_online.mp3',
'audio/background/aozhan_rewrite.mp3',
@ -3888,6 +3888,11 @@ window.noname_asset_list=[
'image/character/luotong.jpg',
'image/character/sp_bianfuren.jpg',
'image/character/sp_duyu.jpg',
'image/character/jin_yanghuiyu.jpg',
'image/character/noname.jpg',
'image/character/noname_machao.png',
'image/character/noname_sunce.png',
'image/character/simazhou.jpg',
'image/character/baiwuchang.jpg',
'image/character/baosanniang.jpg',

View File

@ -1,8 +1,9 @@
window.noname_update={
version:'1.9.109.3.7',
update:'1.9.109.3.6',
version:'1.9.109.3.8',
update:'1.9.109.3.7',
changeLog:[
'SP卞夫人、费祎、骆统、群杜预',
'吉祥物小无',
'司马伷、晋羊徽瑜',
'bug修复',
],
files:[
@ -13,14 +14,14 @@ window.noname_update={
//'card/huanlekapai.js',
//'card/mtg.js',
//'card/sp.js',
'card/standard.js',
//'card/standard.js',
//'card/swd.js',
//'card/yunchou.js',
//'card/yingbian.js',
//'card/zhenfa.js',
//'card/zhulu.js',
//'character/diy.js',
//'character/extra.js',
'character/diy.js',
'character/extra.js',
//'character/hearth.js',
//'character/gujian.js',
//'character/gwent.js',
@ -30,7 +31,7 @@ window.noname_update={
//'character/old.js',
//'character/ow.js',
'character/rank.js',
'character/refresh.js',
//'character/refresh.js',
//'character/shenhua.js',
'character/sp.js',
'character/sp2.js',
@ -40,7 +41,7 @@ window.noname_update={
//'character/xianjian.js',
//'character/xinghuoliaoyuan.js',
//'character/yijiang.js',
'character/yxs.js',
//'character/yxs.js',
//'extension/boss/extension.js',
//'layout/default/layout.css',
//'layout/default/menu.css',

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

BIN
image/character/noname.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -302,7 +302,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
'gz_jiangwei','gz_zhangfei','gz_sp_zhugeliang',
'gz_zhouyu','gz_lingcao','gz_daqiao','gz_dingfeng',
'gz_yuji','gz_caiwenji','gz_diaochan','gz_zuoci',
'gz_key_ushio',
'gz_key_ushio','gz_jin_simazhao',
],
'5':[
'gz_zhangliao','gz_caocao','gz_xuhuang',
@ -316,14 +316,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
'gz_madai','gz_liubei','gz_mifuren',
'gz_wuguotai','gz_luxun','gz_taishici',
'gz_zhangjiao','gz_pangde','gz_liuqi',
'gz_jin_zhangchunhua','gz_mifangfushiren','gz_shixie',
'gz_jin_zhangchunhua','gz_mifangfushiren','gz_shixie','gz_jin_yanghuiyu',
],
'3':[
'gz_xiahoudun','gz_yuejin','gz_caoren',
'gz_machao','gz_masu','gz_fazheng',
'gz_zhangzhang','gz_lvmeng','gz_huanggai',
'gz_jiling','gz_lvbu','gz_dongzhuo',
'gz_jin_xiahouhui','gz_jin_simazhao','gz_zhanglu',
'gz_jin_xiahouhui','gz_simazhou','gz_zhanglu',
],
'2':[
'gz_cuimao','gz_xiahouyuan','gz_caohong',
@ -348,7 +348,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
guozhan_bian:["gz_liqueguosi","gz_zuoci","gz_bianfuren","gz_xunyou","gz_lingtong","gz_lvfan","gz_masu","gz_shamoke",],
guozhan_quan:["gz_cuimao","gz_yujin","gz_wangping","gz_fazheng","gz_wuguotai","gz_lukang","gz_yuanshu","gz_zhangxiu"],
guozhan_jun:["gz_jun_caocao","gz_jun_sunquan","gz_jun_liubei","gz_jun_zhangjiao"],
guozhan_jin:['gz_jin_simayi','gz_jin_simazhao','gz_jin_simashi','gz_jin_zhangchunhua','gz_jin_wangyuanji','gz_jin_xiahouhui','gz_duyu','gz_zhanghuyuechen'],
guozhan_jin:['gz_jin_simayi','gz_jin_simazhao','gz_jin_simashi','gz_jin_zhangchunhua','gz_jin_wangyuanji','gz_jin_xiahouhui','gz_duyu','gz_zhanghuyuechen','gz_jin_yanghuiyu'],
guozhan_single:['gz_re_xushu'],
guozhan_double:['gz_tangzi','gz_liuqi','gz_mengda','gz_mifangfushiren','gz_zhanglu','gz_shixie'],
guozhan_yexinjia:['gz_zhonghui'],
@ -366,10 +366,12 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_shibing2wu:['female','wu',0,[],['unseen']],
gz_shibing1qun:['male','qun',0,[],['unseen']],
gz_shibing2qun:['female','qun',0,[],['unseen']],
gz_shibing1jin:['male','qun',0,[],['unseen']],
gz_shibing2jin:['female','qun',0,[],['unseen']],
gz_shibing1ye:['male','qun',0,[],['unseen']],
gz_shibing2ye:['female','qun',0,[],['unseen']],
gz_shibing1jin:['male','jin',0,[],['unseen']],
gz_shibing2jin:['female','jin',0,[],['unseen']],
gz_shibing1ye:['male','ye',0,[],['unseen']],
gz_shibing2ye:['female','ye',0,[],['unseen']],
gz_shibing1key:['male','key',0,[],['unseen']],
gz_shibing2key:['female','key',0,[],['unseen']],
gz_zhonghui:['male','ye',4,['gzquanji','gzpaiyi']],
gz_tangzi:['male','wei',4,['gzxingzhao'],['doublegroup:wei:wu']],
@ -502,7 +504,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_jin_simashi:['male','jin',3,['yimie','tairan']],
gz_duyu:['male','jin',4,['sanchen']],
gz_zhanghuyuechen:['male','jin',4,['xijue']],
gz_jin_yanghuiyu:['female','jin',3,['ciwei','caiyuan']],
gz_simazhou:['male','jin',4,['caiwang','naxiang']],
gz_key_ushio:['female','key',3,['ushio_huanxin','ushio_xilv'],['doublegroup:key:wei:shu:wu:qun:jin']],
}
},
@ -7223,7 +7227,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
player.showCharacter(0);
var yelist=[];
for(var i=0;i<game.players.length;i++){
if(game.players[i].identity=='ye'&&game.players[i]._group==player.group){
if(game.players[i].identity=='ye'&&game.players[i]._group==player.group&&lib.character[game.players[i].name1][1]!='ye'){
yelist.push(game.players[i]);
}
}
@ -7887,7 +7891,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(get.is.double(button.link)) return false;
if(lib.character[button.link][1]=='ye') return true;
for(var i=0;i<ui.dialog.buttons.length;i++){
if(ui.dialog.buttons[i]!=button&&lib.character[button.link][1]==lib.character[ui.dialog.buttons[i].link][1]){
var double=get.is.double(ui.dialog.buttons[i].link,true);
if(ui.dialog.buttons[i]!=button&&(lib.character[button.link][1]==lib.character[ui.dialog.buttons[i].link][1]||double&&double.contains(lib.character[button.link][1]))){
return true;
}
}
@ -8102,7 +8107,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
if(get.is.double(button.link)) return false;
if(lib.character[button.link][1]=='ye') return true;
for(var i=0;i<ui.dialog.buttons.length;i++){
if(ui.dialog.buttons[i]!=button&&lib.character[button.link][1]==lib.character[ui.dialog.buttons[i].link][1]){
var double=get.is.double(ui.dialog.buttons[i].link,true);
if(ui.dialog.buttons[i]!=button&&(lib.character[button.link][1]==lib.character[ui.dialog.buttons[i].link][1]||double&&double.contains(lib.character[button.link][1]))){
return true;
}
}
@ -8578,6 +8584,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
gz_shibing2jin:'晋兵',
gz_shibing1ye:'士兵',
gz_shibing2ye:'士兵',
gz_shibing1key:'键兵',
gz_shibing2key:'键兵',
gzduanchang:'断肠',
gzduanchang_info:'锁定技,当你死亡时,你令杀死你的角色失去一张武将牌上的所有技能。',
gzweimu:'帷幕',