|
@@ -9,14 +9,18 @@ namespace GameLogic.Hero
|
|
|
/// 星级
|
|
|
/// </summary>
|
|
|
public int star;
|
|
|
+
|
|
|
public FabaoConfig FabaoConfig;
|
|
|
public FabaoPowerupConfig FabaoPowerupConfig;
|
|
|
|
|
|
- public FaBaoInfo(int id,int powerupId,int start=1)
|
|
|
+ public SkillConfig SkillConfig;
|
|
|
+
|
|
|
+ public FaBaoInfo(int id, int powerupId, int start = 1)
|
|
|
{
|
|
|
+ star = 1;
|
|
|
FabaoConfig = ConfigComponent.Instance.Get<FabaoConfig>(id);
|
|
|
FabaoPowerupConfig = ConfigComponent.Instance.Get<FabaoPowerupConfig>(powerupId);
|
|
|
- star = 1;
|
|
|
+ SkillConfig = ConfigComponent.Instance.Get<SkillConfig>(FabaoConfig.SkillGroupID * 10 + start - 1);
|
|
|
}
|
|
|
}
|
|
|
}
|