public bool IsFinish() { if (isDetached || isReplaced) { return(true); } if (attachType == ModifierAttachType.Main) { for (int kIndex = 0; kIndex < mainLifetimes.Count; kIndex++) { Lifetime mainLifetime = mainLifetimes[kIndex]; if (mainLifetime.IsEnd()) { Skill parentSkill = info.ShowParentSkill(); if (parentSkill != null && configByLifetime.ContainsKey(mainLifetime)) { parentSkill.TriggerEventWithId(configByLifetime[mainLifetime].eId); } return(true); } } return(false); } else { return(subLifetime.IsEnd()); } }