27 lines
749 B
C#
27 lines
749 B
C#
using UnityEngine;
|
|
|
|
namespace BaseGames.Boss
|
|
{
|
|
/// <summary>
|
|
/// Boss 自身资源(如愤怒值)的配置 ScriptableObject。
|
|
/// </summary>
|
|
[CreateAssetMenu(menuName = "BaseGames/Boss/ResourceConfig")]
|
|
public class BossResourceConfigSO : ScriptableObject
|
|
{
|
|
public string resourceId;
|
|
public string displayName;
|
|
public float maxValue;
|
|
public float startValue;
|
|
|
|
[Header("自动变化")]
|
|
public float passiveRate;
|
|
public float onTakeDamageGain;
|
|
public float onSkillUseGain;
|
|
|
|
[Header("满值效果")]
|
|
public bool autoTriggerOnFull;
|
|
public BossSkillSO fullTriggerSkill;
|
|
public float resetValueAfterTrigger;
|
|
}
|
|
}
|