| 
					
				 | 
			
			
				@@ -155,7 +155,7 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (event.type === dragonBones.EventObject.COMPLETE) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //主角 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "right_fit" || event.animationState.name === "left_fit") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("attack 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //console.log("attack 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armature.animation.play("idle", 0); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -163,10 +163,13 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._RightJayShow = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._LeftJayShow = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._Statepassivity = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.controScp._Hurt) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.UiController.Ui_Shake(3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "be_beaten_left" || event.animationState.name === "be_beaten_right") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("critical_strike 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // console.log("critical_strike 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armature.animation.play("idle", 0); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -176,25 +179,31 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "double_hit") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("critical_strike 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //  console.log("critical_strike 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armature.animation.play("idle", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._CriticalStrike = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._Statepassivity = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.controScp._BeDoubleHit) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.UiController.Ui_Shake(3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "critical_strike") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("double-hit 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //console.log("double-hit 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armature.animation.play("idle", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._DoubleHit = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._Statepassivity = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.controScp._BeCriticalStrike) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.UiController.Ui_Shake(3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "dodge") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("dodge 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // console.log("dodge 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armature.animation.play("idle", 0); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -204,7 +213,7 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.aicontroScp._Statepassivity = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "block") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("block 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // console.log("block 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -215,7 +224,7 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (event.animationState.name === "be_beaten_left" || event.animationState.name === "be_critical_strike" || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 event.animationState.name === "be_double_hit" || event.animationState.name === "be_beaten_right") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                console.log("be_beaten 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //  console.log("be_beaten 动作播放完毕!!!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //TODO: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.armatureDisplay.node.scaleX = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -236,5 +245,7 @@ cc.Class({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.controScp = this.PlayerController.getComponent('PlayerController'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //Ai脚本 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.aicontroScp = this.AiPlayerController.getComponent('AiPlayerController'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.UiController = cc.find("Canvas/UiController").getComponent('UiController'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }); 
			 |