少年修仙传客户端代码仓库
client_Wu Xijin
2019-05-20 0e03b139295b2d3294c1493268779500e89aa75e
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
1个文件已修改
16 ■■■■■ 已修改文件
Fight/Actor/Status/StatusMgr.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Actor/Status/StatusMgr.cs
@@ -100,6 +100,10 @@
            {
                int _count = _actor.ActorInfo.GetStatusCount((byte)_effectValue.value1, h0605.OwnerID);
                _count += 1;
                if (!_actor.ActorInfo.status4012.ContainsKey((byte)_effectValue.value1))
                {
                    _actor.ActorInfo.status4012.Add((byte)_effectValue.value1, new Dictionary<uint, int>());
                }
                _actor.ActorInfo.status4012[(byte)_effectValue.value1][h0605.OwnerID] = _count;
            }
        }
@@ -190,9 +194,6 @@
            onReceiveStatus(h0605.SkillID);
        }
#if UNITY_EDITOR
        Debug.LogFormat("增加 {0} Buff: {1}", h0605.ObjID, h0605.SkillID);
#endif
    }
    public bool CanCastSkill(uint sid)
@@ -243,6 +244,10 @@
                            }
                            else
                            {
                                if (!_actor.ActorInfo.status4012.ContainsKey((byte)_effectValue.value1))
                                {
                                    _actor.ActorInfo.status4012.Add((byte)_effectValue.value1, new Dictionary<uint, int>());
                                }
                                _actor.ActorInfo.status4012[(byte)_effectValue.value1][objID] = _count;
                            }
                        }
@@ -281,6 +286,10 @@
                }
                else
                {
                    if (!_actor.ActorInfo.status4012.ContainsKey((byte)_effectValue.value1))
                    {
                        _actor.ActorInfo.status4012.Add((byte)_effectValue.value1, new Dictionary<uint, int>());
                    }
                    _actor.ActorInfo.status4012[(byte)_effectValue.value1][h0606.ObjID] = _count;
                }
            }
@@ -360,7 +369,6 @@
            m_StatusDict[sid].Clear();
            m_StatusDict.Remove(sid);
            Debug.LogFormat("删除:{0} 所有Buff", sid);
        }
        if (m_OwnerList.Contains(sid))