public ImpactInfo(int impactId) { ImpactId = impactId; ConfigData = TableConfig.SkillProvider.Instance.GetSkill(ImpactId); DamageData = new TableConfig.SkillDamageData(); DamageData.Init(); SenderProperty = new CharacterProperty(); }
public ImpactInfo(TableConfig.Skill cfg) { if (null != cfg) { ImpactId = cfg.id; } ConfigData = cfg; DamageData = new TableConfig.SkillDamageData(); DamageData.Init(); SenderProperty = new CharacterProperty(); }