v1.9.96.9

This commit is contained in:
Spmario233 2020-01-05 17:08:28 +08:00 committed by GitHub
parent 8b448d7a62
commit b9064b6daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 30 deletions

View File

@ -333,7 +333,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
];
event.controls=controls;
var next=player.chooseControl();
next.set('prompt','要对'+get.translation(card)+'做什么呢?');
next.set('prompt','要对'+get.translation(event.card)+'做什么呢?');
next.set('choiceList',controls);
next.ai=function(){return 2};
'step 4'

View File

@ -2068,26 +2068,26 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.chooseTarget('是否发动【摧克】来对一名角色造成一点伤害?').ai=function(target){
return -get.attitude(player,target);
};
}else if(player.storage.nzry_junlve%2==0){
}
else{
player.chooseTarget('是否发动【摧克】来横置一名角色并弃置其区域内的一张牌?').ai=function(target){
return -get.attitude(player,target);
};
}else{
event.finish();
};
}
'step 1'
if(result.bool){
player.line(result.targets);
player.logSkill('nzry_cuike');
if(player.storage.nzry_junlve%2==1){
result.targets[0].damage();
}else{
}
else{
result.targets[0].link(true);
player.discardPlayerCard(result.targets[0],1,'hej');
};
};
'step 2'
if(player.storage.nzry_junlve>7){
if(player.storage.nzry_junlve&&player.storage.nzry_junlve>7){
player.chooseBool().set('ai',function(){
return true;
}).set('prompt','是否弃置所有“军略”标记并对所有其他角色造成一点伤害?');

View File

@ -2099,28 +2099,24 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{
source:"damageBegin1",
},
usable:1,
direct:true,
popup:false,
content:function (){
'step 0'
event.num=player.getDamagedHp();
if(event.num>0) player.chooseBool(get.prompt2('spjiedao',trigger.player)).ai=function(){
filter:function(event,player){
return player.isDamaged()&&!player.getHistory('sourceDamage').length;
},
logTarget:'player',
check:function(trigger,player){
if(get.attitude(player,trigger.player)>=-1) return false;
return !trigger.player.getEquip('baiyin')&&!trigger.player.getEquip('rewrite_baiyin');
};
'step 1'
if(result.bool){
player.logSkill('spjiedao',trigger.player);
trigger.num+=num;
var next=game.createEvent('spjiedao_after',null,trigger.getParent());
next.player=player;
next.target=trigger.player;
next.num=num;
next.setContent(function(){
if(target.isAlive()) player.chooseToDiscard(num,true);
});
}
},
content:function (){
var num=player.getDamagedHp();
trigger.num+=num;
var next=game.createEvent('spjiedao_after',null,trigger.getParent());
next.player=player;
next.target=trigger.player;
next.num=num;
next.setContent(function(){
if(target.isAlive()) player.chooseToDiscard(num,true);
});
},
},
biaozhao:{

View File

@ -323,6 +323,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
xinfu_sidaox:{
audio:'xinfu_sidao',
filterCard:function(card){
return get.itemtype(card)=='card';
},
position:"h",
viewAs:{
name:"shunshou",

View File

@ -9,7 +9,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
yijiang_2011:['caozhi','re_yujin','zhangchunhua','xin_fazheng','xin_masu','xin_xushu','xusheng','lingtong','wuguotai','chengong','gaoshun'],
yijiang_2012:['wangyi','xunyou','zhonghui','madai','liaohua','guanzhang','bulianshi','handang','chengpu','liubiao','old_huaxiong'],
yijiang_2013:['manchong','guohuai','caochong','guanping','liufeng','jianyong','yufan','panzhangmazhong','zhuran','xin_liru','fuhuanghou'],
yijiang_2014:['hanhaoshihuan','chenqun','caozhen','zhangsong','wuyi','zhoucang','zhuhuan','guyong','sunluban','yj_jushou','caifuren'],
yijiang_2014:['hanhaoshihuan','chenqun','caozhen','zhangsong','wuyi','zhoucang','zhuhuan','guyong','s unluban','yj_jushou','caifuren'],
yijiang_2015:['caoxiu','caorui','zhongyao','xiahoushi','liuchen','zhangyi','zhuzhi','quancong','sunxiu','gongsunyuan','guotufengji'],
yijiang_2016:['guohuanghou','sunziliufang','huanghao','liyan','sundeng','cenhun','zhangrang','liuyu'],
yijiang_2017:['xinxianying','jikang','wuxian','qinmi','xuezong','xushi','caiyong','caojie',],
@ -6569,7 +6569,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
game.log(player,'将',card,'置于牌堆顶');
event.result.card={name:event.result.card.name,nature:event.result.card.nature};
event.result.cards=[];
player.lose(card);
player.lose(card,ui.special);
'step 1'
game.delay();
'step 2'
@ -11268,7 +11268,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
zili_info:'觉醒技准备阶段开始时若“权”的数量不小于3你减1点体力上限然后选择一项1、回复1点体力2、摸两张牌。然后你获得技能“排异”。',
quanji_info:'当你受到1点伤害后你可以摸一张牌然后将一张手牌置于武将牌上称为“权”你的手牌上限+XX为“权”的数量。',
xianzhou_info:'限定技。出牌阶段你可以将装备区内的所有牌交给一名其他角色然后该角色选择一项令你回复X点体力或对其攻击范围内的X名角色各造成1点伤害(X为你以此法交给该角色的牌的数量)。',
qieting_info:'其他角色的结束阶段,若其未于此回合内使用过指定其他角色为目标的牌,你可以选择一项:将其装备区里的一张牌移动至你装备区里的相应位置(可替换原装备);或摸一张牌。',
qieting_info:'其他角色的结束阶段,若其未于此回合内使用过指定其他角色为目标的牌,你可以选择一项:将其装备区里的一张牌移动至你装备区里的相应位置;或摸一张牌。',
zhuikong_info:'其他角色的准备阶段若你已受伤你可以与该角色拼点。若你赢该角色本回合使用的牌不能指定除该角色外的角色为目标。若你没赢其本回合至你的距离视为1。',
oldzhuikong_info:'其他角色的准备阶段若你已受伤你可以与该角色拼点。若你赢该角色跳过本回合的出牌阶段。若你没赢其本回合至你的距离视为1。',
qiuyuan_info:'当你成为【杀】的目标时,你可以令一名其他角色选择一项:①、交给你一张【闪】;②、成为此【杀】的额外目标。',