技能默认绿线

This commit is contained in:
libccy 2015-05-16 19:40:11 +08:00
parent a581623663
commit 4ead79290f
3 changed files with 8 additions and 2 deletions

View File

@ -1004,7 +1004,7 @@ character.sp={
}
"step 1"
if(result.bool){
player.logSkill('zhendu');
player.logSkill('zhendu',trigger.player);
trigger.player.damage();
}
else{

View File

@ -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){

View File

@ -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){