This commit is contained in:
libccy 2017-05-22 18:11:54 +08:00
parent 16ff5b4036
commit 4ab0dad10a
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
maixie:true, maixie:true,
maixie_hp:true, maixie_hp:true,
effect:{ effect:{
target:function(card,player){ target:function(card,player,target){
if(player.hasSkillTag('jueqing',false,target)) return [1,-1]; if(player.hasSkillTag('jueqing',false,target)) return [1,-1];
if(get.tag(card,'damage')) return [1,0.5]; if(get.tag(card,'damage')) return [1,0.5];
} }

View File

@ -4465,7 +4465,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
ai:{ ai:{
effect:{ effect:{
target:function(card,player){ target:function(card,player,target){
if(get.tag(card,'damage')||get.tag(card,'loseHp')){ if(get.tag(card,'damage')||get.tag(card,'loseHp')){
if(player.hp==5){ if(player.hp==5){
if(game.players.length<4) return [0,5]; if(game.players.length<4) return [0,5];