修复bug
This commit is contained in:
parent
16f52d8b65
commit
539aa1ab41
|
@ -178,9 +178,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
},
|
||||
content:function(){
|
||||
'step 0'
|
||||
var go=false,d1=true;
|
||||
var go=false,d1=false;
|
||||
if(get.attitude(player,trigger.player)>0){
|
||||
if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false
|
||||
d1=true;
|
||||
if(trigger.player.hasSkill('jueqing')||trigger.player.hasSkill('gangzhi')) d1=false;
|
||||
for(var target of trigger.targets){
|
||||
if(!target.mayHaveShan()||trigger.player.hasSkillTag('directHit_ai',true,{
|
||||
target:target,
|
||||
|
|
|
@ -415,7 +415,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
rec:{
|
||||
audio:'guixiu',
|
||||
trigger:{
|
||||
player:'logSkillAfter',
|
||||
player:'logSkill',
|
||||
},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
|
|
|
@ -2170,6 +2170,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
var num=0,numx=target.countCards('h',{name:'sha'}),targetx=target;
|
||||
for(var i=0; i<numx; i++){
|
||||
targetx=targetx.next;
|
||||
if(targetx==player) targetx=targetx.next;
|
||||
}
|
||||
var att1=get.attitude(player,target),att2=get.attitude(player,targetx);
|
||||
if(att1>0&&att2<0) num=0.25;
|
||||
|
|
Loading…
Reference in New Issue