|
@@ -734,19 +734,22 @@ namespace GFGGame
|
|
|
{
|
|
|
//评分结束后,添加套装加成分数
|
|
|
StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
|
|
|
- if (storyLevelCfg != null && InstanceZonesDataManager.FightScene != ConstInstanceZonesType.Arena && storyLevelCfg.type == ConstInstanceZonesType.Studio && storyLevelCfg.subType == ConstInstanceZonesSubType.Hard3)
|
|
|
+ if (storyLevelCfg != null)
|
|
|
{
|
|
|
- float addition = StudioDataManager.Instance.GetAddition();
|
|
|
- addition = addition / 10000 * FightDataManager.Instance.totalScore;
|
|
|
- _score += (int)Math.Round(addition);
|
|
|
- UpdateProgressA();
|
|
|
- if (addition > 0)
|
|
|
+ if (InstanceZonesDataManager.FightScene != ConstInstanceZonesType.Arena && storyLevelCfg.type == ConstInstanceZonesType.Studio && storyLevelCfg.subType == ConstInstanceZonesSubType.Hard3)
|
|
|
{
|
|
|
- return true;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- return false;
|
|
|
+ float addition = StudioDataManager.Instance.GetAddition();
|
|
|
+ addition = addition / 10000 * FightDataManager.Instance.totalScore;
|
|
|
+ _score += (int)Math.Round(addition);
|
|
|
+ UpdateProgressA();
|
|
|
+ if (addition > 0)
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return false;
|