From 6577831ab2883bd05448ce0b1f9f913a9944fc78 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期二, 29 七月 2025 16:54:18 +0800 Subject: [PATCH] 125 【战斗】战斗系统 --- Main/System/Battle/BattleObject/BattleObject.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/Main/System/Battle/BattleObject/BattleObject.cs b/Main/System/Battle/BattleObject/BattleObject.cs index 00862e4..9aa12be 100644 --- a/Main/System/Battle/BattleObject/BattleObject.cs +++ b/Main/System/Battle/BattleObject/BattleObject.cs @@ -269,7 +269,7 @@ heroGo.SetActive(false); } - // 浼ゅ杩樿鐪� 鏄惁闂伩 鏆村嚮 and so on 闇�瑕佹湁涓�涓狣amageType 鏈嶅姟鍣ㄥ簲璇ヤ細缁� + // 浼ゅ杩樿鐪� 鏄惁闂伩 鏆村嚮 and so on 闇�瑕佹湁涓�涓狣amageType 鏈嶅姟鍣ㄥ簲璇ヤ細缁� protected virtual void PopDamage(long curHp, List<long> damageValues, int attackType) { // 鍏跺疄搴旇閫氱煡鍑哄幓缁橴I鐣岄潰瑙h�� 璁︰I鐣岄潰鑷繁鏉ユ樉绀虹殑 YYL TODO @@ -294,6 +294,18 @@ return battleField.GetTeamNode(Camp == BattleCamp.Red ? BattleCamp.Blue : BattleCamp.Red); } + public BattleCamp GetEnemyCamp() + { + return Camp == BattleCamp.Red ? BattleCamp.Blue : BattleCamp.Red; + } + + public void HaveRest() + { + // YYL TODO + // 浼戞伅鐘舵�� + // 澶氫竴涓獄zz鐨勪竴涓壒鏁� + } + #if UNITY_EDITOR_STOP_USING public void EditorRevive() { -- Gitblit v1.8.0