This commit is contained in:
parent
89e33f696f
commit
60005c0847
|
@ -493,7 +493,6 @@ card.hearth={
|
||||||
zhiliaobo:{
|
zhiliaobo:{
|
||||||
fullskin:true,
|
fullskin:true,
|
||||||
enable:true,
|
enable:true,
|
||||||
usable:1,
|
|
||||||
filterTarget:function(card,player,target){
|
filterTarget:function(card,player,target){
|
||||||
return target.hp<target.maxHp;
|
return target.hp<target.maxHp;
|
||||||
},
|
},
|
||||||
|
|
|
@ -76,14 +76,14 @@ character.hearth={
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(event.type!='dying') return false;
|
if(event.type!='dying') return false;
|
||||||
if(player!=_status.dying) return false;
|
if(player!=_status.dying) return false;
|
||||||
if(player.storage.chongsheng==3) return false;
|
if(player.storage.chongsheng==2) return false;
|
||||||
},
|
},
|
||||||
content:function(){
|
content:function(){
|
||||||
player.hp=Math.min(3-player.storage.chongsheng,player.maxHp);
|
player.hp=Math.min(2-player.storage.chongsheng,player.maxHp);
|
||||||
player.discard(player.get('hej'));
|
player.discard(player.get('hej'));
|
||||||
player.draw(3-player.storage.chongsheng);
|
player.draw(2-player.storage.chongsheng);
|
||||||
player.storage.chongsheng++;
|
player.storage.chongsheng++;
|
||||||
if(player.storage.chongsheng==3){
|
if(player.storage.chongsheng==2){
|
||||||
player.unmarkSkill('chongsheng');
|
player.unmarkSkill('chongsheng');
|
||||||
}
|
}
|
||||||
if(player.classList.contains('linked')) player.link();
|
if(player.classList.contains('linked')) player.link();
|
||||||
|
@ -91,7 +91,7 @@ character.hearth={
|
||||||
},
|
},
|
||||||
ai:{
|
ai:{
|
||||||
skillTagFilter:function(player){
|
skillTagFilter:function(player){
|
||||||
if(player.storage.chongsheng==3) return false;
|
if(player.storage.chongsheng==2) return false;
|
||||||
if(player.hp>0) return false;
|
if(player.hp>0) return false;
|
||||||
},
|
},
|
||||||
save:true,
|
save:true,
|
||||||
|
@ -99,7 +99,7 @@ character.hearth={
|
||||||
player:10
|
player:10
|
||||||
},
|
},
|
||||||
threaten:function(player,target){
|
threaten:function(player,target){
|
||||||
if(target.storage.chongsheng<3) return 0.6;
|
if(target.storage.chongsheng<2) return 0.6;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
intro:{
|
intro:{
|
||||||
|
@ -1821,7 +1821,7 @@ character.hearth={
|
||||||
enze_info:'出牌阶段限一次,你可以指定一名角色令其手牌数与你相等',
|
enze_info:'出牌阶段限一次,你可以指定一名角色令其手牌数与你相等',
|
||||||
chongsheng:'重生',
|
chongsheng:'重生',
|
||||||
chongsheng_bg:'生',
|
chongsheng_bg:'生',
|
||||||
chongsheng_info:'濒死阶段,你可弃置所有牌,将体力回复至3-X,并摸X张牌,X为你本局发动此技能的次数。每局最多发动3次',
|
chongsheng_info:'濒死阶段,你可弃置所有牌,将体力回复至2-X,并摸X张牌,X为你本局发动此技能的次数。每局最多发动2次',
|
||||||
s_tuteng:'滋养',
|
s_tuteng:'滋养',
|
||||||
s_tuteng_info:'在你首个回合开始时,你获得三个随机图腾;在此后的每个回合开始阶段,你随机替换其中的一个图腾',
|
s_tuteng_info:'在你首个回合开始时,你获得三个随机图腾;在此后的每个回合开始阶段,你随机替换其中的一个图腾',
|
||||||
guozai:'过载',
|
guozai:'过载',
|
||||||
|
|
|
@ -1,12 +1,35 @@
|
||||||
|
'use strict';
|
||||||
character.xiake={
|
character.xiake={
|
||||||
character:{
|
character:{
|
||||||
// xk_dongfangweiming:['male','shu',4,[],['fullskin']],
|
// xk_dongfangweiming:['male','shu',4,[],['fullskin']],
|
||||||
xk_guyuexuan:['male','qun',3,['rouquan','gzhenji'],['fullskin']],
|
xk_guyuexuan:['male','qun',4,['rouquan','gzhenji'],['fullskin']],
|
||||||
// xk_jinji:['male','shu',4,[],['fullskin']],
|
xk_jinji:['male','shu',4,['xueren','lianpo'],['fullskin']],
|
||||||
// xk_shenxiangyun:['female','wei',3,[],['fullskin']],
|
// xk_shenxiangyun:['female','wei',3,['zhenjiu'],['fullskin']],
|
||||||
xk_fujianhan:['male','qun',4,['zuijian','zitong'],['fullskin']],
|
xk_fujianhan:['male','qun',4,['zuijian','zitong'],['fullskin']],
|
||||||
},
|
},
|
||||||
skill:{
|
skill:{
|
||||||
|
xueren:{
|
||||||
|
trigger:{source:'damageEnd'},
|
||||||
|
filter:function(event,player){
|
||||||
|
return event.parent.name!='xueren'&&event.player.isAlive();
|
||||||
|
},
|
||||||
|
prompt:function(event,player){
|
||||||
|
return '是否对'+get.translation(event.player)+'发动【血刃】?';
|
||||||
|
},
|
||||||
|
check:function(event,player){
|
||||||
|
if(ai.get.damageEffect(event.player,player,player)>0&&
|
||||||
|
ai.get.attitude(player,event.player)<0){
|
||||||
|
return player.hp>event.player.hp&&player.hp>=2;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
content:function(){
|
||||||
|
game.delay();
|
||||||
|
player.line(trigger.player,'green');
|
||||||
|
player.loseHp();
|
||||||
|
trigger.player.damage();
|
||||||
|
}
|
||||||
|
},
|
||||||
rouquan:{
|
rouquan:{
|
||||||
mod:{
|
mod:{
|
||||||
selectTarget:function(card,player,range){
|
selectTarget:function(card,player,range){
|
||||||
|
@ -117,6 +140,8 @@ character.xiake={
|
||||||
xk_jinji:'荆棘',
|
xk_jinji:'荆棘',
|
||||||
xk_shenxiangyun:'沈湘芸',
|
xk_shenxiangyun:'沈湘芸',
|
||||||
xk_fujianhan:'傅剑寒',
|
xk_fujianhan:'傅剑寒',
|
||||||
|
xueren:'血刃',
|
||||||
|
xueren_info:'每当你造成一次伤害,你可流失一点体力并对目标再造成一点伤害',
|
||||||
gzhenji:'震击',
|
gzhenji:'震击',
|
||||||
gzhenji_info:'你使用杀造成伤害后,可以摸一张牌,并且本回合内可以额外使用一张杀',
|
gzhenji_info:'你使用杀造成伤害后,可以摸一张牌,并且本回合内可以额外使用一张杀',
|
||||||
rouquan:'柔拳',
|
rouquan:'柔拳',
|
||||||
|
|
Loading…
Reference in New Issue