This commit is contained in:
libccy 2017-02-27 13:30:32 +08:00
parent 3cc71f40bf
commit 599b2601eb
6 changed files with 9 additions and 4 deletions

View File

@ -1062,6 +1062,7 @@ character.refresh={
check:function(event,player){
return ai.get.attitude(player,event.target)<0;
},
logTarget:'target',
content:function(){
"step 0"
player.judge(function(){return 0});

View File

@ -543,6 +543,7 @@ character.shenhua={
},
audio:'liegong',
trigger:{player:'shaBegin'},
logTarget:'target',
check:function(event,player){
return ai.get.attitude(player,event.target)<=0;
},
@ -3477,6 +3478,7 @@ character.shenhua={
check:function(event,player){
return ai.get.attitude(player,event.target)<=0;
},
logTarget:'target',
filter:function(event,player){
var length=event.target.num('h');
return (length>=player.hp||length<=player.getAttackRange());

View File

@ -212,7 +212,7 @@ character.sp={
filter:function(event,player){
if(event.card&&(event.card.name=='sha'||event.card.name=='juedou')){
if(get.mode()=='guozhan'){
(event.player.identity!='qun'||player.identity=='ye')&&
return (event.player.identity!='qun'||player.identity=='ye')&&
!event.player.isUnseen()&&event.player.hasViceCharacter();
}
else{

View File

@ -983,6 +983,7 @@ character.swd={
check:function(event,player){
return ai.get.attitude(player,event.target)<0;
},
logTarget:'target',
filter:function(event,player){
return event.target.num('he')>0;
},
@ -3082,9 +3083,7 @@ character.swd={
if(ai.get.attitude(player,event.target)>0) return true;
return player.hp<player.maxHp;
},
// filter:function(event){
// return event.player.isAlive();
// },
logTarget:'target',
content:function(){
"step 0"
trigger.target.draw();

View File

@ -3814,6 +3814,7 @@ character.yijiang={
return event.target.hp>0&&event.target.num('he')>0;
},
audio:2,
logTarget:'target',
content:function(){
'step 0'
player.choosePlayerCard(trigger.target,'he',

View File

@ -849,6 +849,7 @@ character.yxs={
if(event.target.hasSkillTag('respondShan')&&event.target.num('h')>=3) return false;
return true;
},
logTarget:'target',
content:function(){
"step 0"
var next=trigger.target.chooseToRespond({name:'shan'});
@ -2456,6 +2457,7 @@ character.yxs={
check:function(event,player){
return ai.get.attitude(player,event.target)<=0;
},
logTarget:'target',
content:function(){
"step 0"
player.judge();