This commit is contained in:
libccy 2017-02-17 19:27:24 +08:00
parent a86ff24ad6
commit cac7872227
3 changed files with 33 additions and 5 deletions

View File

@ -381,11 +381,14 @@ window.characterRank={
're_ganning',
'caiwenji',
're_xushu',
're_simayi',
'hs_lrexxar',
'huatuo',
'sunhao',
],
b:[
'diy_liufu',
're_xuzhu',
're_simayi',
'yxs_mingchenghuanghou',
'diy_lukang',
'diy_tianyu',
@ -420,7 +423,6 @@ window.characterRank={
're_zhaoyun',
'fuwan',
'hs_jinglinglong',
're_xuzhu',
'ganfuren',
'hs_huzhixiannv',
'sp_sunshangxiang',
@ -430,10 +432,8 @@ window.characterRank={
'swd_zhanggao',
'simalang',
'sp_caoren',
'sunhao',
'sunshangxiang',
'daqiao',
'huatuo',
'swd_luchengxuan',
'dongzhuo',
'fazheng',

View File

@ -86,7 +86,7 @@ character.swd={
// swd_zhanglie:['male','qun',4,['huajin','poxiao']],
swd_hanluo:['male','qun',5,['hzhenwei']],
swd_hanluo:['male','qun',5,['tiebi']],
swd_fu:['male','qun',5,['yudun']],
swd_linyue:['male','wei',3,['zhenjiu','lmazui']],
swd_zidashu:['male','wu',3,['shoulie','hudun']],
@ -143,6 +143,31 @@ character.swd={
swd_luchengxuan:['swd_xiarou'],
},
skill:{
tiebi:{
trigger:{global:'shaBegin'},
filter:function(event,player){
return player.num('h',{color:'black'})&&!event.target.hujia&&get.distance(player,event.target)<=1;
},
direct:true,
content:function(){
"step 0"
var next=player.chooseToDiscard(get.prompt('tiebi',trigger.target),{color:'black'});
next.ai=function(card){
if(ai.get.attitude(player,trigger.target)>0){
if(trigger.target.hp==1) return 10-ai.get.value(card);
return 7-ai.get.value(card);
}
};
next.logSkill=['tiebi',trigger.target];
"step 1"
if(result.bool){
trigger.target.changeHujia();
}
},
ai:{
threaten:1.1
}
},
shenyan:{
trigger:{source:'damageBegin'},
skillAnimation:true,
@ -8512,6 +8537,8 @@ character.swd={
swd_quxian:'屈娴',
swd_xiyan:'犀衍',
tiebi:'铁壁',
tiebi_info:'当距离你1以内的一名角色成为杀的目标时若其没有护甲你可以弃置一张黑色手牌使其获得一点护甲',
shenyan:'神炎',
shenyan_info:'限定技,当你即将造成火焰伤害时,你可以令此伤害+1并对目标距离1以内的所有其他角色各造成一点火焰伤害',
xuanying:'旋影',

View File

@ -1591,6 +1591,7 @@ character.yxs={
nichang:{
trigger:{player:'phaseDrawBefore'},
check:function(event,player){
if(player.skipList.contains('phaseUse')) return true;
var suits=['spade','heart','diamond','club'];
var cards=player.get('h');
for(var i=0;i<cards.length;i++){