Files
zeling_v2/Assets/_Game/Scripts/Quest/BossRushSequenceSO.cs

25 lines
769 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using UnityEngine;
namespace BaseGames.Challenge
{
/// <summary>
/// Boss Rush 序列数据(架构 22_QuestChallengeModule §11
/// 资产路径: Assets/ScriptableObjects/Challenge/BossRush_{challengeId}.asset
/// </summary>
[CreateAssetMenu(menuName = "BaseGames/Challenge/BossRushSequence")]
public class BossRushSequenceSO : ScriptableObject
{
[Serializable]
public struct BossEntry
{
public string bossSceneName; // Boss 所在场景Additive 加载)
public string bossId;
[Range(0f, 1f)]
public float hpRestoreRatio; // 击败本 Boss 后玩家恢复 HP 比例(默认 0.3
}
public BossEntry[] bosses;
}
}