This commit is contained in:
libccy 2017-04-23 11:03:52 +08:00
parent b8883044e3
commit b4eeba6318
2 changed files with 5 additions and 16 deletions

View File

@ -554,6 +554,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
unique:true, unique:true,
skillAnimation:true, skillAnimation:true,
forceunique:true, forceunique:true,
filter:function(){
return game.roundNumber>=3;
},
check:function(event,player){ check:function(event,player){
return player.hp<=2; return player.hp<=2;
}, },

View File

@ -4929,33 +4929,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
hanyong:{ hanyong:{
trigger:{player:'useCard'}, trigger:{player:'useCard'},
filter:function(event,player){ filter:function(event,player){
return player.storage.hanyong>player.hp&&event.card&& return game.roundNumber>player.hp&&event.card&&
(event.card.name=='nanman'||event.card.name=='wanjian'); (event.card.name=='nanman'||event.card.name=='wanjian');
}, },
content:function(){ content:function(){
player.addTempSkill('hanyong3','useCardAfter'); player.addTempSkill('hanyong3','useCardAfter');
}, },
init:function(player){
player.storage.hanyong=0;
},
group:'hanyong2'
},
hanyong2:{
audio:false,
trigger:{player:'phaseBegin'},
forced:true,
popup:false,
silent:true,
content:function(){
player.storage.hanyong++;
}
}, },
hanyong3:{ hanyong3:{
audio:false, audio:false,
trigger:{source:'damageBegin'}, trigger:{source:'damageBegin'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
return event.card&&(event.card.name=='nanman'||event.card.name=='wanjian'); return event.card&&(event.card.name=='nanman'||event.card.name=='wanjian')&&event.notLink();
}, },
content:function(){ content:function(){
trigger.num++; trigger.num++;