From 1fbd60b81ef4a93df75c32e7d9aa285d8fa533d1 Mon Sep 17 00:00:00 2001 From: liuzhiwei <liuzhiwei@qq.com> Date: Mon, 21 Dec 2020 10:10:59 +0800 Subject: [PATCH] 水boss攻击受击 --- Assets/Scripts/ActionGameFramework/Health/Damager.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Assets/Scripts/ActionGameFramework/Health/Damager.cs b/Assets/Scripts/ActionGameFramework/Health/Damager.cs index 089659e..fbb9af2 100644 --- a/Assets/Scripts/ActionGameFramework/Health/Damager.cs +++ b/Assets/Scripts/ActionGameFramework/Health/Damager.cs @@ -19,9 +19,14 @@ public float damage; /// <summary> - /// 用于最后一颗子弹的多倍攻击 + /// 强化子弹的多倍攻击 /// </summary> public float damageMulti = 1.0f; + + /// <summary> + /// 是否是增强的子弹 + /// </summary> + public bool IsEnhancedBullet { get; set; } /// <summary> /// TEST CODE TO TOWER_NAME @@ -56,6 +61,8 @@ /// </summary> public SerializableIAlignmentProvider alignment; + public Tower TowerPtr; + /// <summary> /// Gets the alignment of the damager /// </summary> -- Gitblit v1.9.1