This commit is contained in:
libccy 2016-08-08 11:11:14 +08:00
parent 8642d26712
commit e8da681531
4 changed files with 26 additions and 2 deletions

View File

@ -313,6 +313,7 @@ card.extra={
basic:{ basic:{
equipValue:function(card,player){ equipValue:function(card,player){
if(player.hasSkillTag('maixie')&&player.hp>1) return 0; if(player.hasSkillTag('maixie')&&player.hp>1) return 0;
if(player.hasSkillTag('noDirectDamage')) return 10;
if(ai.get.damageEffect(player,player,player,'fire')>=0) return 10; if(ai.get.damageEffect(player,player,player,'fire')>=0) return 10;
var num=3; var num=3;
for(var i=0;i<game.players.length;i++){ for(var i=0;i<game.players.length;i++){

View File

@ -16,10 +16,10 @@ character.xianjian={
pal_zixuan:['female','wei',3,['shuiyun','wangyou','changnian']], pal_zixuan:['female','wei',3,['shuiyun','wangyou','changnian']],
pal_changqing:['male','wei',4,['luanjian','tianfu']], pal_changqing:['male','wei',4,['luanjian','tianfu']],
pal_nangonghuang:['male','wei',3,[]], pal_nangonghuang:['male','wei',3,['zhaoyao','sheling','zhangmu']],
pal_wenhui:['female','shu',4,[]], pal_wenhui:['female','shu',4,[]],
pal_wangpengxu:['female','shu',3,['duxinshu','feixu']], pal_wangpengxu:['female','shu',3,['duxinshu','feixu']],
pal_xingxuan:['male','wei',3,[]], pal_xingxuan:['male','wei',3,['feizhua','leiyu','lingxue']],
pal_leiyuange:['male','wei',3,[]], pal_leiyuange:['male','wei',3,[]],
pal_yuntianhe:['male','wu',4,['longxi','zhuyue','guanri']], pal_yuntianhe:['male','wu',4,['longxi','zhuyue','guanri']],
@ -30,6 +30,13 @@ character.xianjian={
}, },
skill:{ skill:{
lingxue:{
trigger:{player:'dyingAfter'},
forced:true,
content:function(){
player.changeHujia();
}
},
diesha:{ diesha:{
trigger:{source:'damageEnd'}, trigger:{source:'damageEnd'},
forced:true, forced:true,
@ -1619,6 +1626,18 @@ character.xianjian={
pal_changqing:'长卿', pal_changqing:'长卿',
pal_xuanxiao:'玄霄', pal_xuanxiao:'玄霄',
zhangmu:'障目',
zhangmu_info:'每回合限一次,当使用需要使用或打出一张闪时,你可以展示一张闪,视为使用或打出了此闪',
feizhua:'飞爪',
feizhua_info:'当你使用一张杀时,你可以将目标两侧的角色追加为额外目标',
leiyu:'雷狱',
leiyu_info:'出牌阶段结束时,你可以失去一点体力,视为对本阶段内所有成为过你的卡牌目标的角色使用一张惊雷闪,若你杀死任意一名角色,你回复一点体力',
lingxue:'灵血',
lingxue_info:'锁定技,当你解除濒死状态时,你获得一点护甲',
zhaoyao:'招摇',
zhaoyao_info:'其他角色的摸牌阶段开始时,你可以与其拼点,若你赢,你摸两张牌,然后将两张牌置于牌堆顶',
sheling:'摄灵',
sheling_info:'其他角色于你的回合内失去牌时,你可以获得之(每回合最多发动三次)',
fenxing:'分形', fenxing:'分形',
fenxing_info:'锁定技回合开始阶段你有50%概率变身为另一形态', fenxing_info:'锁定技回合开始阶段你有50%概率变身为另一形态',
guijiang:'鬼降', guijiang:'鬼降',

View File

@ -496,6 +496,9 @@ character.yxs={
trigger.finish(); trigger.finish();
player.loseHp(); player.loseHp();
}, },
ai:{
noDirectDamage:true,
}
}, },
heqin:{ heqin:{
skillAnimation:true, skillAnimation:true,

View File

@ -13,6 +13,7 @@ window.noname_update={
'character/yxs.js', 'character/yxs.js',
'character/hearth.js', 'character/hearth.js',
'character/xianjian.js', 'character/xianjian.js',
'card/extra.js',
'card/swd.js', 'card/swd.js',
'card/standard.js', 'card/standard.js',
'card/hearth.js', 'card/hearth.js',