This commit is contained in:
parent
3cc71f40bf
commit
599b2601eb
|
@ -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});
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue