This commit is contained in:
libccy 2015-12-04 18:18:00 +08:00
parent 1fa61e29c4
commit 8ec101e40c
2 changed files with 18 additions and 1 deletions

View File

@ -559,6 +559,7 @@ character.mountain={
};
}
else{
player.addTempSkill('jixi_nouse','phaseAfter');
event.finish();
}
"step 2"
@ -577,11 +578,13 @@ character.mountain={
order:10,
result:{
player:function(player){
if(player.skills.contains('jixi_nouse')) return 0;
return player.storage.tuntian.length-1;
}
}
}
},
jixi_nouse:{},
jiang:{
audio:2,
trigger:{player:['shaBefore','juedouBefore'],target:['shaBefore','juedouBefore']},

View File

@ -2677,6 +2677,7 @@
}
player.phaseDiscard()
game.delayx();
delete player._noSkill;
},
phaseJudge:function(){
"step 0"
@ -3735,6 +3736,12 @@
player.stat[player.stat.length-1].skill[skill]++;
}
}
if(player.stat[player.stat.length-1].allSkills==undefined){
player.stat[player.stat.length-1].allSkills=1;
}
else{
player.stat[player.stat.length-1].allSkills++;
}
"step 1"
if(!event.skill){
console.log('error: no skill',get.translation(event.player),event.player.get('s'));
@ -3794,6 +3801,10 @@
event.redo();
}
"step 2"
if(player.getStat().allSkills>200){
player._noSkill=true;
console.log(player.name,event.skill);
}
if(document.getElementsByClassName('thrown').length){
if(event.skill&&get.info(event.skill).delay!==0) game.delayx();
}
@ -18890,7 +18901,10 @@
return (j>0);
}
lib.temp={};
cards=get.selectableCards().concat(get.skills());
cards=get.selectableCards();
if(!_status.event.player._noSkill){
cards=cards.concat(get.skills());
}
cards2=cards.slice(0);
cards.sort(function(a,b){
return (check(b,cards2)-check(a,cards2));