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