public void PotencyProcess(Msg_OtherCharAttackNpc2 _attack) { m_Potency.PotencyProcess(_attack); }
public void UpdateTargetInfoByOtherUser( Msg_OtherCharAttackNpc2 attack) { AsNpcEntity npcEntity = AsEntityManager.Instance.GetNpcEntityBySessionId( attack.npcIdx_); if( null == npcEntity) return; if( m_Target != npcEntity) return; if( false == AsHUDController.Instance.UpdateTargetSimpleInfo( m_Target)) Target = null; }
public void PotencyProcess(Msg_OtherCharAttackNpc2 _attack) { Tbl_Skill_Record skill = _attack.parent_.skill_; m_OtherCharAttackNpc1 = _attack.parent_; for(int i=0; i<skill.listSkillPotency.Count; ++i) { Tbl_Skill_Potency potency = skill.listSkillPotency[i]; Tbl_SkillLevel_Potency lvPotency = _attack.parent_.skillLv_.listSkillLevelPotency[i]; if(potency.Potency_DurationType == ePotency_DurationType.Moment) { Tbl_SkillLevel_Record skillLv = _attack.parent_.skillLv_; Tbl_Action_Record action = _attack.parent_.action_; if(m_Owner.FsmType == eFsmType.MONSTER) { switch(potency.Potency_Target) { case ePotency_Target.Enemy: case ePotency_Target.All: if(PlayPotency(action.HitAnimation.hitInfo, skillLv.listSkillLevelPotency[i].Potency_EffectIndex, _attack.eDamageType_, lvPotency) == false) { Debug.LogError("PotencyProcessor: delivered message is Msg_OtherCharAttackNpc2(Skill level table record:[index:" + skillLv.Index + "][action index:" + skillLv.SkillAction_Index + "][skill index:" + skillLv.Skill_GroupIndex + "]"); } break; } } } } BalloonProcess( _attack.parent_.skill_, _attack.parent_.skillLv_); }