摄像机区域的架构改动
This commit is contained in:
29
Assets/_Game/Scripts/Player/PlayerStatsSO.cs
Normal file
29
Assets/_Game/Scripts/Player/PlayerStatsSO.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Player
|
||||
{
|
||||
[CreateAssetMenu(menuName = "BaseGames/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 InitialLingZhu = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user