| | |
| | | {
|
| | | 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;
|
| | | }
|
| | | }
|
| | |
| | | onReceiveStatus(h0605.SkillID);
|
| | | }
|
| | |
|
| | | #if UNITY_EDITOR
|
| | | Debug.LogFormat("增加 {0} Buff: {1}", h0605.ObjID, h0605.SkillID);
|
| | | #endif
|
| | | }
|
| | |
|
| | | public bool CanCastSkill(uint sid)
|
| | |
| | | }
|
| | | 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;
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | 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;
|
| | | }
|
| | | }
|
| | |
| | |
|
| | | m_StatusDict[sid].Clear();
|
| | | m_StatusDict.Remove(sid);
|
| | | Debug.LogFormat("删除:{0} 所有Buff", sid);
|
| | | }
|
| | |
|
| | | if (m_OwnerList.Contains(sid))
|