diff --git a/character/sp.js b/character/sp.js index d7a95d2b1..6af96ddd3 100644 --- a/character/sp.js +++ b/character/sp.js @@ -1004,7 +1004,7 @@ character.sp={ } "step 1" if(result.bool){ - player.logSkill('zhendu'); + player.logSkill('zhendu',trigger.player); trigger.player.damage(); } else{ diff --git a/character/yijiang.js b/character/yijiang.js index c79b20cf6..bb93b87e9 100644 --- a/character/yijiang.js +++ b/character/yijiang.js @@ -791,7 +791,7 @@ character.yijiang={ player.addSkill('chanhui2'); event.target=result.targets[0]; setTimeout(function(){ - player.logSkill('chanhui',event.target,'green'); + player.logSkill('chanhui',event.target); },200); event.target.chooseCard('交给'+get.translation(player)+'一张手牌,或成为'+ get.translation(trigger.card)+'的额外目标').ai=function(card){ diff --git a/game/game.js b/game/game.js index dcfc1166a..8c05b87af 100644 --- a/game/game.js +++ b/game/game.js @@ -1318,6 +1318,9 @@ window.play={}; else if(info.line=='thunder'){ config.color='thunder'; } + else if(info.line===undefined){ + config.color='green'; + } if(info.multitarget&&!info.multiline&&targets.length>1){ player.line2(targets,config); } @@ -3430,6 +3433,9 @@ window.play={}; } } if(nature!=false){ + if(nature===undefined){ + nature='green'; + } this.line(targets,nature); } if(lib.skill[name]&&lib.skill[name].ai&&lib.skill[name].ai.expose!=undefined&&this.logAi){