30 lines
783 B
C#
30 lines
783 B
C#
using UnityEngine;
|
|
|
|
namespace BaseGames.Player
|
|
{
|
|
[CreateAssetMenu(menuName = "Player/Stats")]
|
|
public class PlayerStatsSO : ScriptableObject
|
|
{
|
|
[Header("HP")]
|
|
public int MaxHP = 5;
|
|
|
|
[Header("Soul")]
|
|
public int MaxSoulPower = 100;
|
|
|
|
[Header("Spirit")]
|
|
public int MaxSpiritPower = 100;
|
|
public int SpiritRegenRate = 5; // 每秒回复量
|
|
|
|
[Header("Spring (治愈弹簧)")]
|
|
public int MaxSpringCharges = 3;
|
|
public int SpringHealAmount = 2;
|
|
public int SpringKillThreshold = 4; // 击杀数触发弹簧恢复
|
|
|
|
[Header("无敌帧")]
|
|
public float InvincibilityDuration = 0.6f;
|
|
|
|
[Header("初始货币")]
|
|
public int InitialGeo = 0;
|
|
}
|
|
}
|