This commit is contained in:
libccy 2016-06-08 21:06:42 +08:00
parent d43b902c88
commit 5898a646c8
3 changed files with 5 additions and 15 deletions

View File

@ -5,11 +5,8 @@ card.shenqi={
type:'equip',
subtype:'equip5',
skills:['donghuangzhong'],
enable:function(card,player){return player==game.me;},
ai:{
basic:{
equipValue:6
}
equipValue:6
}
},
xuanyuanjian:{

View File

@ -2438,18 +2438,12 @@ character.hearth={
return true;
},
content:function(){
'step 0'
if(player.storage.anying){
target.loseHp();
event.finish();
}
else{
target.recover();
}
'step 1'
if(target.hp<target.maxHp){
target.draw();
}
},
ai:{
order:9,
@ -4495,7 +4489,7 @@ character.hearth={
shijie:'视界',
shijie_info:'回合结束阶段,你可以获得一名其他角色的一张手牌,然后该角色摸一张牌',
shengguang:'圣光',
shengguang_info:'出牌阶段限一次,你可以弃置一张红色牌令一名角色回复一点体力,若其仍处于受伤状态则摸一张牌',
shengguang_info:'出牌阶段限一次,你可以弃置一张红色牌令一名角色回复一点体力',
bingjia:'冰甲',
bingjia2:'冰甲',
bingjia_info:'出牌阶段,若你武将牌上没有牌,你可以将一张手牌背面朝上置于你的武将牌上,当你成为其他角色的与此牌花色相同的牌的目标时,你将此牌置于弃牌堆,并获得一点护甲值',

View File

@ -65,6 +65,7 @@ character.ow={
var n1=player.num('he');
var n2=player.storage.shanxian_h.length+player.storage.shanxian_e.length;
if(n1==n2+1) return true;
if(n2==n2+2&&player.hp<=1) return true;
if(n1<n2) return true;
return false;
},
@ -80,14 +81,12 @@ character.ow={
content:function(){
game.addVideo('skill',player,'shanhui');
for(var i=0;i<player.storage.shanxian_h.length;i++){
if(player.storage.shanxian_h[i].parentNode!=ui.cardPile&&
player.storage.shanxian_h[i].parentNode!=ui.discardPile){
if(get.position(player.storage.shanxian_h[i])=='s'){
player.storage.shanxian_h[i]=game.createCard(player.storage.shanxian_h[i]);
}
}
for(var i=0;i<player.storage.shanxian_e.length;i++){
if(player.storage.shanxian_e[i].parentNode!=ui.cardPile&&
player.storage.shanxian_e[i].parentNode!=ui.discardPile){
if(get.position(player.storage.shanxian_e[i])=='s'){
player.storage.shanxian_e[i]=game.createCard(player.storage.shanxian_e[i]);
}
}