Browse Source

战斗系统

chenwb10023 3 days ago
parent
commit
e65fc8f8c2

+ 1 - 1
assets/script/data/model/Battle/BattleModel.ts

@@ -10,7 +10,7 @@ export default class BattleModel extends BattleModelData {
 
 	constructor() {
 		super("battle");
-		this.realBattleSpeed = 1.3;
+		this.realBattleSpeed = 1.8;
 	}
 
 	

+ 3 - 3
assets/script/logic/battle/UEBattleRole.ts

@@ -39,9 +39,9 @@ export default class UEBattleRole extends UERole {
 
     GetSpinePath() {
         let spinePath = "role/nv";
-        if (this.team?.fid == "1022") {
-            spinePath = "mon/10001";
-        }
+        // if (this.team?.fid == "10086") {
+        //     spinePath = "mon/10001";
+        // }
         return spinePath;
 
     }

File diff suppressed because it is too large
+ 23 - 944
assets/script/logic/battle/UEBattleView.ts


+ 5 - 0
assets/script/logic/battle/UESubHp.ts

@@ -206,6 +206,11 @@ export default class UESubHp extends UEBase {
                 effectDesc = `j${this.GetVal(Number(value))}`
                 this.txtHP.getComponent(cc.Label).font = this.jiansheFnt;
                 break;
+            case "shanbi":
+                //闪避
+                effectDesc = "闪避"
+                this.txtHP.getComponent(cc.Label).font = null;
+                break;
             default:
 
                 break;

Some files were not shown because too many files changed in this diff