chenxin
2020-12-07 75bd9ddac2d94dd7b25470e8161ee389d9f6ddd2
火水木加攻击力判断
1 files modified
2 ■■■ changed files
Assets/Scripts/TowerDefense/Level/EndlessBuff/EndlessBuffManager.cs 2 ●●● patch | view | raw | blame | history
Assets/Scripts/TowerDefense/Level/EndlessBuff/EndlessBuffManager.cs
@@ -119,7 +119,7 @@
        {
            List<EndlessBuffConfig> ret = new List<EndlessBuffConfig>();
            // 暂且先这么处理吧 如果1:火 2:水 3:木
            int attributeId = (int)Mathf.Floor(id / 10000f);
            int attributeId = (int)Mathf.Floor(id / 100f);
            for (int i = 0; i < BuffList.Count; ++i)
            {