public void PotencyProcess(Msg_NpcAttackChar3 _attack) { Tbl_MonsterSkill_Record skill = _attack.parent_.skill_; 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_MonsterSkillLevel_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: default: if(PlayPotency(action.HitAnimation.hitInfo, skillLv.listSkillLevelPotency[i].Potency_EffectIndex, 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_); }
public void PotencyProcess(Msg_NpcAttackChar3 _attack) { m_Potency.PotencyProcess(_attack); }