关卡编辑器-评分关卡加载bug
parent
5a6af43f86
commit
5fff8ce248
|
|
@ -31,6 +31,9 @@ public static class ConditionUtil
|
||||||
{ ConditionType.CombatProtectUnit, "护送对象" },
|
{ ConditionType.CombatProtectUnit, "护送对象" },
|
||||||
{ ConditionType.CombatProtectUnitDead, "护送对象阵亡" },
|
{ ConditionType.CombatProtectUnitDead, "护送对象阵亡" },
|
||||||
{ ConditionType.CombatLeastOccupy, "至少占领区域数量" },
|
{ ConditionType.CombatLeastOccupy, "至少占领区域数量" },
|
||||||
|
{ ConditionType.PlayerSkillUpgradeLevel, "(指挥官技能升级)强化等级大于等于"},
|
||||||
|
{ ConditionType.LevelOver, "关卡结束"}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,11 @@ namespace Gameplay.Level
|
||||||
{
|
{
|
||||||
starCondition.SetFilterTypes(ConditionUtil.LevelStarConditionFilter);
|
starCondition.SetFilterTypes(ConditionUtil.LevelStarConditionFilter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var scoreCondition in scoreTarget)
|
||||||
|
{
|
||||||
|
scoreCondition.SetFilterTypes(ConditionUtil.LevelScoreConditionFilter, scoreLevel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue